|
-
Dec 12th, 2001, 07:04 PM
#1
Thread Starter
Fanatic Member
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"
-
Dec 16th, 2001, 09:12 PM
#2
Hyperactive Member
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
-
Dec 17th, 2001, 09:26 PM
#3
Thread Starter
Fanatic Member
What is a layout manager? HOW DO I USE THAT?
"The difference between mad and genius is the success"
-
Dec 18th, 2001, 03:17 PM
#4
Lively Member
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
-
Dec 18th, 2001, 03:52 PM
#5
Addicted Member
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
-
Dec 26th, 2001, 07:52 PM
#6
Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|