Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stop packing when Frame Maximized #12

Open
telis93 opened this issue Jan 27, 2014 · 0 comments
Open

Stop packing when Frame Maximized #12

telis93 opened this issue Jan 27, 2014 · 0 comments
Labels

Comments

@telis93
Copy link
Owner

telis93 commented Jan 27, 2014

When function createStave() is invoked this.parent.pack() is invoked to in JScore.
But when the window is Maximized it takes it out of maximization
I managed to almost fix it by seting an if condition before the packing like this

if( this.parent.getExtendedState != JFrame.MAXIMIZED_BOTH)
    this.parent.pack();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant