My application is currently too large for the window(monitor)
. I've built a scrollbar into the application to accommodate it but it still extends over the window rather than use the scrollbar. Originally, the initialization of the outer frame calls pack()
, then setVisible(true)
.
I've tried to set the size of the frame but it doesn't seem to have an effect. The outer frame is a Masthead, and I call getWindow()
on it to set size. Calling mframe.getWindow().setSize(640, 480);
doesn't do anything.
This is the current behavior:
This is what I'd like:
EDIT: what's a good way for setting the app to full screen on startup?