aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes Placing Jcombo at specific coordinates Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Placing Jcombo at specific coordinates" Watch "Placing Jcombo at specific coordinates" New topic
Author

Placing Jcombo at specific coordinates

Mabel Ahmad
Greenhorn

Joined: Feb 03, 2006
Posts: 8
Right now I have a constructor that creates a window and I would like to place j combo boxes on the right hand side of the window but I am not sure how to that.

If that is done, then is it possible to place a jcombo box at a specific coordinate such as at (829, 208)?

here is a picture of what I am trying to make







How would I add combo boxes to this window? Here is what I tried but nothing appears. Is it because of my transparent panel that I believe is blocking everything? I am using a transparent panel because I am placing an image as a background on the window (the GameLayout.jpg) In the rest of my class (i didnt post those parts) has methods that other classes can call to draw certain objects onto the window.








Thank you for your help!!

[ February 18, 2006: Message edited by: Mabel Ahmad ]

[ February 18, 2006: Message edited by: Mabel Ahmad ]
[ February 18, 2006: Message edited by: Mabel Ahmad ]
Matti Poro
Ranch Hand

Joined: Dec 03, 2005
Posts: 41
http://java.sun.com/docs/books/tutorial/uiswing/layout/none.html
 
 
subject: Placing Jcombo at specific coordinates