java - how to do auto minimize in swing -


i testing code using jwindow , hide jframe, have create minimize, maximize , close buttons user friendly. how can set state frame when click on created buttons.

see jframe#setstate. can do:

myframe.setstate(frame.iconified) 

as implementation of listener of buttons.


Comments

Popular posts from this blog

python - Subclassed QStyledItemDelegate ignores Stylesheet -

java - HttpClient 3.1 Connection pooling vs HttpClient 4.3.2 -

SQL: Divide the sum of values in one table with the count of rows in another -