Created
December 27, 2022 16:31
-
-
Save schipplock/713eed060c60e3c82deeb78c7a4323fd to your computer and use it in GitHub Desktop.
ich schäme mich
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (autosize) { | |
int height = getHeight() + getRootPane().getHeight() + itemPanel.getHeight() + actionPanel.getHeight(); | |
int width = itemPanel.getWidth() + 40; | |
setPreferredSize(new Dimension(width, height)); | |
pack(); | |
autosize = false; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment