Results 1 to 6 of 6

Thread: JBuilder

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Apr 2001
    Posts
    843

    JBuilder

    ..... Hi.... Humm.... one question...

    when I am droping controls (like you do in VB) the controls get to big!!! What does this happen? How can I make the controls smaller?


    THANK YOU
    "The difference between mad and genius is the success"

  2. #2
    Hyperactive Member CaptainPinko's Avatar
    Join Date
    Jan 2001
    Location
    London, Ontario, Canada
    Posts
    332
    did you set a layout manager before dropping the control? i you are using SWING than that would exlpain it, if no layout manager is defined than the control takes up the whole pane

    PS JBuilder sucks use Forte or www.jcreator.com, they are both free and ****loads better, i perfer Forte, but the built-in API viewer in JCreator is pretty ****ing cool too tho
    "There are only two things that are infinite. The universe and human stupidity... and the universe I'm not sure about." - Einstein

    If you are programming in Java use www.NetBeans.org

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Apr 2001
    Posts
    843
    What is a layout manager? HOW DO I USE THAT?
    "The difference between mad and genius is the success"

  4. #4
    Lively Member tcullen's Avatar
    Join Date
    Nov 2001
    Location
    Kent, England
    Posts
    66
    set the layout manager to null then you can resize the button as you wish. However this is not good practice try and get your head around layout managers if you can

  5. #5
    Addicted Member
    Join Date
    Nov 2001
    Location
    Yewston, Texis
    Posts
    240
    What is a layout manager? It's set of various techniques for describing where you want buttons and other controls placed. Rather than providing absolute coordinates, a layout manager helps you to place buttons by reference "at the bottom of the window" for example. This is very useful because you can't always be assured that someone is running at the same screen resolution as you are. If you are developing your window in a 1600 X 1400 environment using absolute coordinates, someone limited to 640 X 480 is only going to see a tiny bit of your screen and the buttons will probably look huge.

    cudabean

  6. #6
    Member
    Join Date
    Apr 2001
    Location
    Hamilton, ON, Canada
    Posts
    43
    here is a tutorial on layout managers if your interested

    http://java.sun.com/docs/books/tutor...ew/layout.html

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width