The Swing application is started from a Java application which is already
running.  The already running application is a TCP/IP server.  When this server
program receives the appropriate message from our legacy application it creates
our object which extends a JFrame and shows it.  We do set the size of the
window before we show it.  We start the TCP/IP server application from a bat
file with the command "start java -cp xxxx   <our class name>".  So our command
file does not contain any special parameters.  Again, this is a problem only on
NT and not on OS/2 or Unix.

Cynthia Jeness

rob anderson wrote:

> Are you using a .bat file - what is the command line you are using?
>
> rob> -----Original Message-----
> rob> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf
> rob> Of Cynthia
> rob> Jeness
> rob> Sent: Thursday, September 13, 2001 10:21 PM
> rob> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> rob> Subject: [Advanced-java] Java Application Starts Minimized
> rob>
> rob>
> rob> We have a legacy GUI application which communicates with a Java TCP/IP
> rob> server application running on the same computer.  Depending on the type
> rob> of message received, we load a JFrame which contains a
> rob> JTabbedPane.  The
> rob> application is launched correctly.  However, at least under NT, it is
> rob> minimized and, thus, you must select it from the Taskbar to
> rob> actually see
> rob> it.  The application is launched correctly under OS/2.  In the case of
> rob> NT, we are using the latest JDK 1.3.1 from Sun.  I have tried
> rob> explicitly
> rob> setting the state of the frame to NORMAL.  But this has no
> rob> effect.  Does
> rob> anyone have any suggestions about how to get the application
> rob> launched in
> rob> a normal size.  If I launch it from the command line on NT rather than
> rob> from an already running Java application, then the window is displayed
> rob> correctly on NT.
> rob>
> rob> Cynthia Jeness
> rob>
> rob>
> rob> _______________________________________________
> rob> Advanced-java mailing list
> rob> [EMAIL PROTECTED]
> rob> http://lists.xcf.berkeley.edu/mailman/listinfo/advanced-java
> rob> _______________________________________________
> rob> Swing mailing list
> rob> [EMAIL PROTECTED]
> rob> http://eos.dk/mailman/listinfo/swing
> rob>


_______________________________________________
Swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/swing

Reply via email to