Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

iconified and deconified a window

  Asked By: Ella    Date: Oct 05    Category: Java    Views: 1546

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: Daniel Costa     Answered On: Oct 05

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.