?
Solved

frames

Posted on 2004-10-16
8
Medium Priority
?
253 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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
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

Become an Android App Developer

Ready to kick start your career in 2018? Learn how to build an Android app in January’s Course of the Month and open the door to new opportunities.

Question has a verified solution.

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

Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
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 learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
Suggested Courses
Course of the Month9 days, 11 hours left to enroll

612 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