Solved

Can not set the title in a Frame

Posted on 1998-04-21
2
156 Views
Last Modified: 2010-04-16

Hello

When I use the method setTitle( "Test" )

The title in the Frame does not change when I run run the
program on my machine with Solaris 2.5.1 but it appear  
on some others UNIX machines ( with Solaris 2.5.1  ) and
under Windows 95/NT.

Why ?? It is the same version of JVM and the same and
program.

Regards Stefan
0
Comment
Question by:qcord
2 Comments
 
LVL 5

Accepted Solution

by:
msmolyak earned 100 total points
ID: 1219256
Try running invalidate() and/or validate() methods on the frame object after you change the title.
0
 

Author Comment

by:qcord
ID: 1219257

Hello

Thanks for Your answear

This is done, the funny thing is that it is working on some
other UNIX machines ( with the same OS ) and PC machines.


Regards Stefan
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
JUnit 4 @Before and @BeforeClass differences 3 58
eclipse argument 14 60
Error trying to install RTMT Win7 5 59
replace a word with other 1 43
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)
Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
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.

815 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