We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
On macOS, the ResizableFrame refuses to let the frame be resized to within roughly 20 pixels of the bottom of the screen.
Here's repro code (it creates a ridiculously oversized green border for detecting window-resizing mouse drags):
import com.jidesoft.swing.ResizableFrame; import javax.swing.*; import java.awt.*; public class ScratchSpace { public static void main(String[] args) { SwingUtilities.invokeLater(() -> { ResizableFrame frame = new ResizableFrame("Resizable test"); frame.setBorder(BorderFactory.createLineBorder(Color.GREEN, 10)); JLabel label = new JLabel("Hello cruel world"); label.setBorder(BorderFactory.createEmptyBorder(100, 100, 100, 100)); frame.add(label); frame.pack(); frame.setLocationRelativeTo(null); frame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE); frame.setVisible(true); }); } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
On macOS, the ResizableFrame refuses to let the frame be resized to within roughly 20 pixels of the bottom of the screen.
Here's repro code (it creates a ridiculously oversized green border for detecting window-resizing mouse drags):
The text was updated successfully, but these errors were encountered: