P peyoush_thakur Original post #1 Mar 10, 2008 at 3:04 PM hi! can anybody tell me,with a small example, how to place components (buttons, labels, etc) at desired position in java. I m using j2sdk1.4
ray|raven #2 Mar 10, 2008 at 3:08 PM Firstly upgrade to 1.6. A Lot of new swing features came in 1.5 and 1.6 Secondly, you can place objects in quite a few different ways. Read here :*java.sun.com/docs/books/tutorial/ui/features/index.html If you are lazy, you could always install NetBeans and get the drag-n-drop ui builder. But I wouldnt recommend it.
Faun #3 Mar 10, 2008 at 3:21 PM +1 for netbeans drag-n-drop supports Though i prefer to do it manually, study the layout managers carefully and u can smoke some air PS: Upgrade to 1.6 its the latest one.