Solved

frames

Posted on 2004-10-16
8
247 Views
Last Modified: 2010-03-31
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
0
Comment
Question by:Samooramad
  • 3
  • 2
  • 2
  • +1
8 Comments
 
LVL 92

Expert Comment

by:objects
ID: 12330327
frame.setMaximizable(false);
0
 

Author Comment

by:Samooramad
ID: 12330380
the only thing I got found was setMaximizedBounds
0
 
LVL 92

Expert Comment

by:objects
ID: 12330385
is this an internal frame, or a jframe
0
Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

 
LVL 5

Accepted Solution

by:
b_vishwajit earned 200 total points
ID: 12330756
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
 
LVL 24

Expert Comment

by:sciuriware
ID: 12331439
objects' solution is for internal frames,
b_vishwajit's solution is for 'main'frames.
;JOOP!
0
 

Author Comment

by:Samooramad
ID: 12331773
>> is this an internal frame, or a jframe

JFrame objects
0
 

Author Comment

by:Samooramad
ID: 12331776
thanks b_vishwajit, what about changing font for an internal frame's title?
0
 
LVL 5

Expert Comment

by:b_vishwajit
ID: 12342446
I am not sure about the font thing. Thanks for the points anyway.
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Where to store the queries for modification of table 4 62
servlet  URL Rewriting 1 36
diffSum example 4 36
tomcat not starting 6 45
For customizing the look of your lightweight component and making it look opaque like it was made of plastic.  This tip assumes your component to be of rectangular shape and completely opaque.   (CODE)
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question