Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

iconified and deconified a window

  Asked By: Fabiana    Date: Apr 01    Category: Java    Views: 1040

i know these codes can iconified and deconified a window,but can i
disable it..i do not want user to minimize the frame...can anyone
tell me how to disable it?thanks...

frame.setState(ICONIFIED)-if the frame is iconified
frame.setState(NORMAL)-if the frame is NORMAL



1 Answer Found

Answer #1    Answered By: Lenora Green     Answered On: Apr 01

Have a look at the frame  method

setResizable(boolean resizable)

so your code should be


Didn't find what you were looking for? Find more on iconified and deconified a window Or get search suggestion and latest updates.