Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

fullscreen window with java command

  Asked By: Diem    Date: May 04    Category: Java    Views: 969
  

i want to fullscreen window in java with command what command need
for this?

Share: 

 

1 Answer Found

 
Answer #1    Answered By: Camille Garrett     Answered On: May 04

with the use of 2 methods:
1) (Frame).setUndecorated( true ) // must be called before the Frame
gets displayable, 4 example after the call to super() constructor.
2) (Frame).setExtendedState( Frame.MAXIMIZED_BOTH )

 
Didn't find what you were looking for? Find more on fullscreen window with java command Or get search suggestion and latest updates.




Tagged: