Solved

frames

Posted on 2004-10-16
8
248 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

726 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