Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / GUI / June 2006

Tip: Looking for answers? Try searching our database.

help needed @ Taskbar dimensions (screen size- taskbar size)

Thread view: 
vikas talwar - 30 Jun 2006 08:56 GMT
Hi All,

I'm bulding a stand-alone-java GUI application.
This application is expected to run both on Windows & Linux
The content of GUI window is self configration at run time with csv
file.

Now my problem is " how to set size of GUI application window"

java.awt.Toolkit.getDefaultToolkit() can get me user's full screen-size
but u never know about user's taskbar dimensions. it can be
vertical/horizontal/auto-hide.

How could I get the actual working area for my applciation
i.e. DIMENSIONS_OF_SCREEN_SIZE - DIMENSIONS_OF_TASKBAR

--
Thanks in advance
Vikas Talwar
Andrey Kuznetsov - 30 Jun 2006 09:15 GMT
> I'm bulding a stand-alone-java GUI application.
> This application is expected to run both on Windows & Linux
[quoted text clipped - 9 lines]
> How could I get the actual working area for my applciation
> i.e. DIMENSIONS_OF_SCREEN_SIZE - DIMENSIONS_OF_TASKBAR

Toolkit#getScreenInsets() could help

Andrey

Signature

http://uio.imagero.com Unified I/O for Java
http://reader.imagero.com Java image reader
http://jgui.imagero.com Java GUI components and utilities



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.