Solved

Can not set the title in a Frame

Posted on 1998-04-21
2
157 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
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:
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.

789 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