How to get the REAL screen size when the windows TaskBar is showing.
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   S233bastien_Alonzo
Posted On:   Wednesday, December 12, 2001 12:46 PM

I tried to set the size of a JFrame to the maximum size.

Using Toolkit.getDefaultToolkit().getScreenSize()


The problem is that the Dimension object returned does not take into account the TaskBar or any other bar that trim actual the screen size.

(e.g. MS Office Bar or any other application used)


Is there any way using a Toolkit.getDesktopProperty() (or with a native implementation) to obtain the real screen size ?

About | Sitemap | Contact