frames

hi experts,

two part question:

1- how do you set a frame so that it cannot be maximized?

2- how do you set the size of the text in an internal frame's title?

thanks
SamooramadAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
b_vishwajitConnect With a Mentor Commented:
try frame.setResizeable(false);
That should work.
Let us know what class are you using to create a frame??? That will ease both of us.
0
 
objectsCommented:
frame.setMaximizable(false);
0
 
SamooramadAuthor Commented:
the only thing I got found was setMaximizedBounds
0
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

 
objectsCommented:
is this an internal frame, or a jframe
0
 
sciuriwareCommented:
objects' solution is for internal frames,
b_vishwajit's solution is for 'main'frames.
;JOOP!
0
 
SamooramadAuthor Commented:
>> is this an internal frame, or a jframe

JFrame objects
0
 
SamooramadAuthor Commented:
thanks b_vishwajit, what about changing font for an internal frame's title?
0
 
b_vishwajitCommented:
I am not sure about the font thing. Thanks for the points anyway.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.