Newbie question: how to detect a window resize event in swing?
31/01/2018 12:08
Hello:

How can I detect a window resize event in swing?
Thanks,
Mayer

Source is Usenet: comp.lang.java.help
Sign in to add a comment

Answer score: 5
31/01/2018 12:08 - Mayer Goldberg <gmayer@cs.bgu.ac.il> wrote in messagenews:19b9b128.0401160215.5baf9319@posting.google.com...


by ComponentListener AFAIR
Adam

Source is Usenet: comp.lang.java.help
Sign in to add a comment

Answer score: 5
31/01/2018 12:08 - In article <bu8otq$pf7$1@news.onet.pl>,
You can also use a WindowStateListener. The WindowEvent it receives inherits from ComponentEvent and includes COMPONENT_RESIZED as one of the states.


= Steve =

Source is Usenet: comp.lang.java.help
Sign in to add a comment

eDiscover
Helpforce eDiscover provides technical articles updated each dayHelpforce eDiscover RSS feed contains the latest technical articles in RSS
Click the logo to go back to the main page
Search eDiscover
  
Categories

Click an icon to go to that category

Helpforce eDiscover contains articles about Microsoft Windows Helpforce eDiscover contains articles about Apple products and MacOS Helpforce eDiscover contains articles about Linux and POSIX operating systems Helpforce eDiscover contains articles about Helpforce Helpforce has a large variety of technical information and articles for you to read Helpforce eDiscover contains articles about databases, MYSQL, SQL Server Oracle Helpforce eDiscover contains articles about Java, JVM and the JRE Helpforce eDiscover contains articles about the QNX operating system Helpforce eDiscover contains articles about Oracle Solaris and Open Solaris Helpforce eDiscover contains articles about RISC OS, Acorn and the BBC Micro Helpforce eDiscover contains articles about Amiga and AmigaOS

Type your comment into the box below