Solved

frames

Posted on 2004-10-16
8
246 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
Comment Utility
frame.setMaximizable(false);
0
 

Author Comment

by:Samooramad
Comment Utility
the only thing I got found was setMaximizedBounds
0
 
LVL 92

Expert Comment

by:objects
Comment Utility
is this an internal frame, or a jframe
0
 
LVL 5

Accepted Solution

by:
b_vishwajit earned 200 total points
Comment Utility
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
Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

 
LVL 24

Expert Comment

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

Author Comment

by:Samooramad
Comment Utility
>> is this an internal frame, or a jframe

JFrame objects
0
 

Author Comment

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

Expert Comment

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

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
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:
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:

728 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now