Click to See Complete Forum and Search --> : resizing java applications


lojewski
February 1st, 1999, 11:36 AM
Hallo!

i want to build a java-application (a frame not an applet) which has a

static size, like a dialogbox. how is it possible to ignore resize-messages,

when the user resize the winfow ?

thanks cl.

R.Karunanithi
February 12th, 1999, 02:59 AM
hai lojewski,

in Frame class there is a method called setResizable(boolean).

if you set this as setResizable(false), you will not be able to resize the frame the default property is setResizable(true), so if you don,t specify it it will be resizable. try this if your problem siolved iam happy.

bye,

R.Karuna