• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Placing Jcombo at specific coordinates

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ]
 
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
http://java.sun.com/docs/books/tutorial/uiswing/layout/none.html
 
Try 100 things. 2 will work out, but you will never know in advance which 2. This tiny ad might be one:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic