Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Swing / AWT / SWT
Search Coderanch
Advance search
Google search
Register / Login
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:
Tim Cooke
Campbell Ritchie
paul wheaton
Ron McLeod
Devaka Cooray
Sheriffs:
Jeanne Boyarsky
Liutauras Vilda
Paul Clapham
Saloon Keepers:
Tim Holloway
Carey Brown
Piet Souris
Bartenders:
Forum:
Swing / AWT / SWT
show dilog at bottom of the screen
swapnel surade
Ranch Hand
Posts: 129
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi All,
I want to show the JDialog at the bottom of the screen.
how I can achieve this
thanks
swapnil
Chiranjeevi Kanthraj
Ranch Hand
Posts: 290
I like...
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
use dialog.setLocation(width,height);
-Chiru
swapnel surade
Ranch Hand
Posts: 129
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
its for just width and height of the dialog. how could this work for position of the dialog
Chiranjeevi Kanthraj
Ranch Hand
Posts: 290
I like...
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
i just gave the name of the variables as height and width , if you see the method which i told is setLocation where it places the dialog to specified x and y position
-Chiru
Campbell Ritchie
Marshal
Posts: 80632
471
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
The setBounds method is an alternative.
Rob Camick
Rancher
Posts: 3324
32
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
its for just width and height of the dialog. how could this work for position of the dialog
If you know the size of the screen and the size of the dialog, then you use simple math to calculate where the location should be.
Consider Paul's
rocket mass heater
.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
MIDP: Location for Command buttons
what is this for: setLocationRelativeTo()
JPopupMenu
What kinds of items for menu bar?
HFSJ EL e.g. page 371
More...