..... 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
Printable View
..... 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
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
What is a layout manager? HOW DO I USE THAT? :)
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
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
here is a tutorial on layout managers if your interested
http://java.sun.com/docs/books/tutor...ew/layout.html