× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: Re: Running a Java application via an icon
  • From: dclowe@xxxxxxxxxx
  • Date: Tue, 25 Jul 2000 12:39:50 -0230


You can make sure that Close on Exit is selected from the "Program tab" of
your shortcut's properties.  If you do not want the dos window to hang
around at all (even during program execution) you can execute your
application with JREW.EXE instead of JRE.EXE.  Keep in mind though, you
will lose all console output (System.out.println) if you use JREW.EXE.

Regards, Dean


                                                                                
                                        
                    "Martyn Oswin"                                              
                                        
                    <MartynOswin@Compu        To:     <JAVA400-L@midrange.com>  
                                        
                    Serve.com>                cc:                               
                                        
                    Sent by:                  Subject:     Re: Running a Java 
application via an icon                   
                    owner-java400-l@mi                                          
                                        
                    drange.com                                                  
                                        
                                                                                
                                        
                                                                                
                                        
                    07/25/00 09:48 AM                                           
                                        
                    Please respond to                                           
                                        
                    JAVA400-L                                                   
                                        
                                                                                
                                        
                                                                                
                                        



Thanks very much Joe, this is great and exactly what I was looking to do. I
only have one small problem left! When I launch the application I hide the
DOS shell as expected but I still get a minimised icon that appears on the
task bar.  I know that I can manually close this myself, but I was
wondering
if there was anyway to prevent this from happening in the first place.

Many thanks


----- Original Message -----
From: Joe Teff <JoeTeff@earthlink.net>
To: <JAVA400-L@midrange.com>
Sent: Saturday, July 22, 2000 11:38 PM
Subject: RE: Running a Java application via an icon


>
> Right click on the desktop. Select new. Create a shortcut. Put in the cmd
line,
> give it a name, pick an icon. Right click on this new desktop icon.
Select
the
> program tab and fill in the rest of the info.
>
> Joe
>
> > Sorry to be obtuse, but I'm not really sure what you are suggesting I
should
> > do.
> >
> >  How do I actually run my application without seeing the command line?
Do I
> > create a ".bat" file, which contains the call to the Java runtime
> > environment and then create a shortcut to that program? Also, I wasn't
sure
> > what you meant about the "close on exit" or the "minimised". Are you
> > implying that I should run something called "Minimised" that should
have
a
> > check box called "close on exit"?
> >
> > I do apologise if I appear stupid and slow on the uptake, but it is
Saturday
> > and not my best day for working! Anyway your efforts and patience are
truly
> > appreciated.
> > +---
--




+---
| This is the JAVA/400 Mailing List!
| To submit a new message, send your mail to JAVA400-L@midrange.com.
| To subscribe to this list send email to JAVA400-L-SUB@midrange.com.
| To unsubscribe from this list send email to JAVA400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner: joe@zappie.net
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.