?
Solved

frames

Posted on 2004-10-16
8
Medium Priority
?
250 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 5

Accepted Solution

by:
b_vishwajit earned 600 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

New benefit for Premium Members - Upgrade now!

Ready to get started with anonymous questions today? It's easy! Learn more.

Question has a verified solution.

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

For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
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:
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
Suggested Courses
Course of the Month8 days, 12 hours left to enroll

765 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