How Do I Elminate "Java Windows Application"?

If I launch the class below normally I get an empty dialog box.
If I use JNLP to launch it locally I get an unwanted panel at the bottom of the diallog that says "Java Application Window".
Can anyone tell me how to I kill that unwanted panel? Here is the code:
My class - DialogExample.javeimport java.awt.Dimension;
import java.awt.Toolkit;import javax.swing.JDialog;
public class DialogExample extends JDialog {
  public static void main (String[] args) {
    DialogExample dialog = new DialogExample ();
    dialog.setSize (WIDTH, HEIGHT);
    dialog.center ();
    dialog.setVisible (true);
  private static final int WIDTH  = 400;
  private static final int HEIGHT = 200;
  private void center () {
    Dimension screen = this.getToolkit ().getScreenSize ();
    this.setLocation ( (screen.width - WIDTH)/2,
                       (screen.height - HEIGHT)/2);
}My JNLP - LaunchDialogExample.jnlp:<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jnlp-descriptor PUBLIC "-//Sun Microsystems, Inc//DTD JNLP
Descriptor 1.0//EN" "http://java.sun.com/products/j2se/dtds/
jnlp_1_0.dtd">
<jnlp  spec="1.0+"
  codebase="file:///C:\Documents and Settings\All Users\Documents\Our Documents\JAVA\MyProjects\Go"
<!-- There are two sub directories of Go:  /App and /Distribution -->
<!-- The JNLP file file above is in /App/LaunchDialogExample.jnlp -->
<!-- DialogExample.class is in app.jar in /Distribution -->  
  href="App/LaunchDialogExample.jnlp">
  <information>
    <title>Play Go</title>
    <homepage href="" />
    <vendor>GLB</vendor>
    <offline/>
  </information>
  <resources>
    <j2se version="1.2+" />
    <jar href="Distribution/app.jar" />
  </resources>
  <application-desc main-class="DialogExample"/>
</jnlp>

Just sign the jar file and you will see the difference ;)

Similar Messages

  • How to configure Sun Java System Application Server Enterprise Edition 8.1

    hi all,
    How to configure Sun Java System Application Server Enterprise Edition 8.1 to my IDE..( jstudio)
    I have installed jes for my windows system.. so that i have removed platform version of Application Server..
    I try to add the Enterprise application Server (Sun Java System Application Server Enterprise Edition 8.1) to JStudio IDE..
    but i couldn't;

    Configuring your IDE to integrate with Sun App Server is something you probably will have to ask in some sort of JStudio forum. Other than for Netbeans, Eclipse, or possibly IntelliJ IDEA, you might not have much luck answering an IDE question here. I could be wrong though. Maybe somebody will have an answer for you and set me straight.

  • How can i call java wedynpro application to SAP R/3?

    WDY_EXECUTE_IN_PLACE will helps to get the URL of ABAP Webdynpro Application.
    i want to get it Java Webdynpro Application which will develop NWDS.
    Thanks in Advance

    Hi Bheem,
                   In Web
    dynpro Java also you can get URL of your WD application.Check this [thread|how do i retrieve the url for external window;
    Regards,
    Siva

  • How can i run java windows(class) app. from studio creator

    Hi experts,
    I want to run windows application(which write with java and compile javac, i have got *.class) from studio creator.
    For example;
    import java.awt.*;
    import java.awt.event.*;
    public class IlkPencere implements WindowListener,ActionListener
    public Frame p1;
    public Button btnIkinciPencere;
    public Button btnKapat;
    public int X;
    public int Y;
    public void PencereAyarla(String baslik,int genislik,int yukseklik,int konumX, int konumY,Color
    arkaPlanrengi)
    X=konumX;
    Y=konumY;
    p1=new Frame(baslik);
    p1.setLocation(konumX,konumY);
    p1.setBackground(arkaPlanrengi);
    p1.setSize(genislik,yukseklik);
    p1.setLayout(new FlowLayout());
    p1.addWindowListener(this);
    btnIkinciPencere= new Button("Ikinci Pencere");
    btnKapat=new Button("Kapat");
    p1.add(btnIkinciPencere);
    p1.add(btnKapat);
    btnKapat.addActionListener(this);
    btnIkinciPencere.addActionListener(this);
    p1.setVisible(true);
    public static void main(String args[])
    IlkPencere p=new IlkPencere();
    p.PencereAyarla("ANA PENCERE",250,100,0,0,Color.white);
    public void actionPerformed(ActionEvent e)
    if(e.getSource()==btnKapat)
    p1.setVisible(false);
    else if(e.getSource()==btnIkinciPencere)
    IlkPencere p=new IlkPencere();
    X=X+50;
    Y=Y+50;
    p.PencereAyarla("ANA PENCERE",100,100,X,Y,Color.red);
    public void windowClosing(WindowEvent e)
    System.exit(0);
    public void windowOpened(WindowEvent e)
    public void windowClosed(WindowEvent e)
    public void windowIconified(WindowEvent e)
    public void windowDeiconified(WindowEvent e)
    public void windowActivated(WindowEvent e)
    public void windowDeactivated(WindowEvent e)
    I am using java server. I want this ; Any client can run my project(create with studio creator) with explorer after click any button after this class run application windows(but this windows application must run on server)
    I don't want to install any program in client PC. Client PC which have got only explorer, may be use this application.
    Thanks,

    or can i hidden explorer tools and address bar. User must use only my application menu.
    How can i solve it.

  • How can i close a windows application that works under vmware in am applescript

    Hi there,
    On my roof I have a set of solar panels. The daily score of these panels are only visible by using a Windows application.
    So I use vmware on my Imac to start Windows 7 on Bootcamp, this all by using a applescript in the automator app.
    In the script vmware is starting up and then i made a task in Windows that starts up the specific application after the Windows startup. After a delay of 180 seconds the script fills in a password an gives a return. That works well.
    Unfortunately it runs perfect the first tim a and then the second time, the specific application does not start. Only Windows starts up, the rest of the script does not work the right way, exempt closing the vmware, that goes as expected. So I think that the closing command that I give in the script:
    tell application "VMware Fusion"
    quit
    end tell
    causes a problem. The closing of the application within Windows is perhaps not done on a proper way.
    Therefore I am looking for a way to close that application first and then closing Windows 7 and then VMware.
    Thanks in advance for your help.

    As a completely different approach, I'd have a look at the raw network traffic with tcpdump or equivalent, and see if I could figure out how to access this data — if you're lucky, it's a fairly standard interface of some sort; HTML queries, possibly. 
    Start with a port scan of the controller for the panels (using Network Utility.app in OS X, or another tool), and see what IP ports are open and active.
    Is there a vendor and model associated with the controller for the panels?  That might turn up some software other than this Windows application/

  • How to access custom JAVA webdynpro application from an iPad?

    Hi,
    We are trying to access custom JAVA webdynpro application from an iPad, but nothing is opening up from the iPad browser.
    What can be the possible reasons for this? Any kind of SICF enablement or opening up of ports in the network?
    Any inputs are welcome!!
    TIA,
    Regards
    Deepthi

    Hi,
    it is possible to show Java Web Dynpro applications on a mobile device in general, but the controls and the ui should be optimized for the mobile device.
    Safari devices are not officially supported so far for Mobile Web Dynpro.
    Supported are Windows Mobile devices and Blackberry devices. I also got some good results with Symbian devices.
    You can find more inforamtion on Mobile Always Connected at:
    ht[http://help.sap.com/saphelp_nwce711core/helpdata/en/7d/28fa3e7cb1d861e10000000a114084/content.htm|http://help.sap.com/saphelp_nwce711core/helpdata/en/7d/28fa3e7cb1d861e10000000a114084/content.htm]
    Best Regards,
    Stefan

  • How to launch a Java WebStart application with older JREs when Java 7u25 is on the client?

    How can I launch older versions of my Java WebStart application, that are built and run with Java 7u21 or earlier, even if Java 7u25 is installed locally on the client? Application launch and behaviour must be reliable and consistent.
    Background:
    As of 7u25 (and later), Java Webstart applications launch with a different class loader than pre-7u25.
    My Java Webstart application has supported versions that were built with older versions of the JDK (e.g. Java 5, 6, 7u21 or earlier). These applications run with their required JRE version, enforced through JNLP. Once Java 7u25 is installed locally, these older applications fail to launch, due to classloader differences.
    The question is: what is required to run older Java WebStart applications even if 7u25 (or later) Java Webstart is installed locally on the client?

    I confirm your findings when using shortcuts to try specific versions of JavaWS with 7u25 or later installed:
    JRE 5u14 launched and the classloader was as pre 7u25
    JRE 6u43 would not launch
    JRE 7u21 launched but the classloader was not as pre 7u25
    You can launch the shortcut with the JavaWS -verbose option to display a messagebox with valuable information.
    I am keeping a close watch on this thread.

  • How to start a Java ADF application from Forms 10g

    Hi,
    I have a Java ADF application deployed to the OAS.
    How can I start the application from Forms 10g?

    By using the web.show_document forms built-in procedure... passing the web address of your ADF app as parameter.....
    Greetings...
    Sim

  • How to install Sun Java System Application Server PE 9 in debian

    Hi,
    I have ubuntu installed on my system. I wanted to install the Sun Java System Application Server PE 9 on it. I didn't see any debian package for it on Sun's downloads. I downloaded the linux version and tried to install it. I got the following result...
    root@vineet :/usr/src# ./java_ee_sdk-5-linux.bin
    Checking available disk space...
    Checking Java(TM) 2 Runtime Environment...
    Error: Could not find the required version of the Java(TM) 2 Runtime Environment.
    This application needs version 1.5 or higher of the Java(TM) 2 Runtime
    Environment. If the required Java(TM) 2 Runtime Environment is not installed,
    you can download it from the following website:
    http://java.sun.com/j2se
    Or if you already have the required Java(TM) 2 Runtime Environment
    installed, try rerunning this application with the following usage:
    'java_ee_sdk-5-linux.bin' -javahome <Java(TM) installation directory>
    root@vineet:/usr/src# ./java_ee_sdk-5-linux.bin -javahome /usr/lib/j2re1.5-sun
    Checking available disk space...
    Checking Java(TM) 2 Runtime Environment...
    Launching Java(TM) 2 Runtime Environment...
    Error: There are no files requiring installation.
    Deleting temporary files...
    Any suggestions will be highly appreciated.
    Thanks,
    Vineet

    Hi,
    I have ubuntu installed on my system. I wanted to
    install the Sun Java System Application Server PE 9
    on it. I didn't see any debian package for it on
    Sun's downloads. I downloaded the linux version and
    tried to install it. I got the following result...
    root@vineet :/usr/src# ./java_ee_sdk-5-linux.bin
    Checking available disk space...
    Checking Java(TM) 2 Runtime Environment...
    Error: Could not find the required version of the
    Java(TM) 2 Runtime Environment.
    This application needs version 1.5 or higher of the
    Java(TM) 2 Runtime
    Environment. If the required Java(TM) 2 Runtime
    Environment is not installed,
    you can download it from the following website:
    http://java.sun.com/j2se
    f you already have the required Java(TM) 2 Runtime
    Environment
    installed, try rerunning this application with the
    following usage:
    'java_ee_sdk-5-linux.bin' -javahome <Java(TM)
    installation directory>
    oot@vineet:/usr/src# ./java_ee_sdk-5-linux.bin
    -javahome /usr/lib/j2re1.5-sun
    Checking available disk space...
    Checking Java(TM) 2 Runtime Environment...
    Launching Java(TM) 2 Runtime Environment...
    Error: There are no files requiring installation.
    Deleting temporary files...
    Any suggestions will be highly appreciated.
    Thanks,
    VineetDo you have java 5 sdk on your machine (Or at the very least java 5 re) ?
    Have you tried the command that they gave ?

  • How to config  Sun Java System Application Server 9

    Hi
    I developed a small web application using Netbeans Visual Web and Sun java application
    Server 9. and it working fine. Now how can I access the application from another machine
    (Clint) through net work
    Can anyone please help?

    Huh? You'd have to go to some trouble to make it [bold]not[bold] accessible from another machine on the network! Just point your web browser at the machine, as you must have done during development and testing. If you pointed your browser at localhost before, replace localhost with either the host name or IP address of your web server

  • How to start Sun Java System Application Server 9.0

    yesterday morning i downloaded the software from sun.java.com and installed it .but i failed in starting the application server on my system(windows). i read the quick start guide and followed the steps : <From the Start menu, choose Programs => Sun Microsystems => Application Server PE 9 => Start Default Server. > the first try the message appeared in the command window is <domain listens on at least following ports for connections:[8080 8181 4848 3700 3820 3920 8686 ]> . i tried it later for several times ,but i got a same answer [b]<the domain (domain1) is already running .cli156 could not start the domain domain1> . both of the two answers are different from the message shows in the Guide . finally i failed . i hope someone can help me , i will really appreciate it .
    sent by :
    meansun

    dear skgaju,thank you very much ! but i am still in the trouble. i failed in the step http://<IP>:port/ whether i typed the port number 4849 or 4848 . and then i try to open domain.xml. but it shows [the system can not find the appointed object and something wrong when system deals with the resource : of 'http://www.sun.com/software/appserver/dtds/sun-domain_1_2.dtd' . i puzzled. could you tell me what's wrong with my machine?

  • How to put my java applet application inside a browser

    currently I have a java applet appilcation but it pops-out outside the browser. does anyone can show me how to embed it on my browser

    make an html file like this inside the same folder as your .class files
    <html>
    <body>
    <p align = center><applet code ="Main.class" width=500 height=300>
    </applet></p>
    </body>
    </html>width and height have to be within the resolution of your screen

  • How can I get a Windows application to work?

    I need to use an application which is only available in Windows or OS 9, - I have tried to get this computer to open OS 9, but it refuses.
    Is there some way to get the Windows version of the app. to open and work in OS 10.4.9?
    Thanks in anticipation of your help.

    Try CrossOver by CodeWeavers. While the normal Windows on Mac solutions (Boot Camp and Parallels Desktop) require a full version of Windows, this will allow some Windows programs to run.
    Download the trial and if it works, buy it. (There is a discount ofr education.)

  • How to Connect Sun Java System Application Server to MySQL?

    Hi,
    I am new to the SJSAS and I want to use MySQL 5.0 as my database.
    I have searched the web for a step by step for configuring the two softwares
    but I did not find anything?
    Can someone help?
    Thanks

    Hi,
    You can refer SJSAS Developer, Administration guides for database access.
    Chapter 15 Using the JDBC API for Database Access
    http://docs.sun.com/app/docs/doc/819-3659/6n5s6m5bi?a=view
    To configure mysql :
    Configurations for Specific JDBC Drivers
    http://docs.sun.com/app/docs/doc/819-3658/6n5s5nklk?a=view
    Thanks,
    -Jagadish

  • Windows Application Starting Point

    Does a basic (and best practice) framework (or netbeans like project) exist for a java windows application that would include menuing and initial windows classes?
    I have decided to create a application in java and it will be a windows gui application. I understand how to do this but it seems like this would be something someone else has already done. Kind of a starting point for an application. Does something like this exists? I searched online but didn't find anything. Maybe this is because I'm not sure what I'm asking for.

    I haven't seen any nice GUI frameworks for Java, beyond what Java already gives you. It would depend somewhat on what the app does. And you have to decide if you want to use Swing or SWT. Based on a previous thread, it would seem there are also some GUI builder tools out there, if you don't want to hand code it, but they won't produce very nice code; they just help prevent you from having to write it yourself. If this is your first jump into Java GUI, here is a quick Hello World app I just threw together in using Swing; it's a starting point anyway, and might help you get going:
    import java.awt.FlowLayout;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import java.awt.event.WindowEvent;
    import javax.swing.BorderFactory;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JMenu;
    import javax.swing.JMenuBar;
    import javax.swing.JMenuItem;
    import javax.swing.JPanel;
    import javax.swing.SwingUtilities;
    public class HelloWorld {
         public static void main(String[] args) {
              // Code that affects the GUI should be run on the Event Dispatch thread;
              // Calling launchUI() using SwingUtilities.invokeLater(...) takes care of this.
              SwingUtilities.invokeLater(new Runnable() {
                   public void run() {
                        launchUI();
         private static void launchUI() {
              final JFrame frame = new JFrame("Hello World");
              JPanel panel = new JPanel(new FlowLayout());
              JLabel label = new JLabel("Hello World!");
              panel.add(label);
              panel.setBorder(BorderFactory.createEmptyBorder(20, 20, 20, 20));
              JMenuBar menuBar = new JMenuBar();
              JMenu menu = new JMenu("File");
              JMenuItem menuItem = new JMenuItem("Exit");
              menuItem.addActionListener(new ActionListener() {
                   public void actionPerformed(ActionEvent event) {
                        // This action will be fired when the Exit menu item is selected;
                        // firing off a Window Closing event is basically the same thing
                        // pressing the window close button in the corner does.
                        WindowEvent windowClosingEvent = new WindowEvent(frame, WindowEvent.WINDOW_CLOSING);
                        frame.getToolkit().getSystemEventQueue().postEvent(windowClosingEvent);
              menu.add(menuItem);
              menuBar.add(menu);
              frame.setJMenuBar(menuBar);
              frame.setContentPane(panel);
              frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              frame.pack();
              frame.setLocationRelativeTo(null);     // this centers the frame
              frame.setVisible(true);
    }

Maybe you are looking for

  • How to set Fonts size in X (whole system)

    Hi, I just bought a 19" monitor, and finally, got my resolution up from 800x600 to find out that i cant get to increse the xterm, Eterm, Firefox, Thunderbird, Gaim and everything to have an acceptable font size... I mean, is there a way to set the wh

  • Apps purchased on iPad are being deleted when syncing with iTunes

    Hi, I am having a problem with the apps that I purchase using my iPad not syncing with iTunes. I have purchased several apps and books. When I use my iPad to make the purchase and then plug the device into my computer to allow it to sync, iTunes goes

  • Acrobat dc: Add/Edit links

    Hello, this could be a task for the user interface professionals at Adobe. the "Add/Edit Link" in Acrobat DC is a bit complicated. Is there a possibility to have quicker access to the link properties? (Some kind of inspector palette ... maybe?). Espe

  • Diagram Manager error in HTTPS

    Hi I'm using SSM in HTTPS and both the front-end and the administration of SSM seems to work fine, but I just discover a small problem. In the SSM Administrator on Strategy/Set Strategy Defaults/Create or Edit Goal Diagrams I get an error when a try

  • For developer. New audio system.

    Apologize for inexactnesses in text of the message- is written by means of translator. Pridumal audio system new level. The Analogue no. This system this as transition on qualitative new level- as from black white television set to colour. Want to co