I have a JFrame of which extended state option is set to MAXIMIZE_BOTH
When i want to get the width of the JFrame it returns 0.
so WHY?
I have a JFrame of which extended state option is set to MAXIMIZE_BOTH
When i want to get the width of the JFrame it returns 0.
so WHY?
- I have a JFrame of which extended state option is set to MAXIMIZE_BOTH
JFrame.getExtendedState() returns proper state
- When i want to get the width of the JFrame it returns 0.
any coordinated are accesible after
pack()
is called
for already visible container on the screen