Jump to content
Excelsior Forums


  • Content count

  • Joined

  • Last visited


Community Reputation

0 Neutral

About rrmolnar

  • Rank
  • Birthday 01/01/1
  1. rrmolnar

    Exiting Programs

    Yes the computer has HP Share-to-Web application installed on it. Is there something I can do to work around this programming wise, because the program is already on the market?
  2. rrmolnar

    Exiting Programs

    Can anyone else confirm or disconfirm this problem on a computer that has the same specs? Is this a bug in the JET 4.1 Standard edition? Thanks, Rob
  3. rrmolnar

    Exiting Programs

    I've created an example that will keep the program running even though it should be finished running. The only thing that was changed with the default settings in JET4.1 Standard addon 1.5.0_06 was setting the maximum heap setting to 100MB. Conditions for it to stay in the task manager is by clicking on 'click here' and the JFileChooser pops up. Exit the program. Notice the task manager still shows the program running. If the program starts up and then exited, it will now show up in the task manager. The computer specs is Windows XP Professional SP 2, Pentium 4 HT, 1GB RAM. /* * Main.java * * Created on May 8, 2006, 7:11 PM */ package javaapplication7; import java.awt.event.ActionListener; import javax.swing.*; import java.awt.event.*; /** * * @author Robert Molnar II */ public class Main implements ActionListener { JMenuItem itemOpenDialog = new JMenuItem("click here"); JFrame frame = new JFrame(); /** Creates a new instance of Main */ public Main() { JMenuBar menuBar = new JMenuBar(); itemOpenDialog.addActionListener(this); menuBar.add(itemOpenDialog); frame.setJMenuBar(menuBar); frame.setSize(400, 400); frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); frame.setVisible(true); } /** * @param args the command line arguments */ public static void main(String[] args) { Main main = new Main(); } public void actionPerformed(ActionEvent e) { if (e.getSource() == itemOpenDialog) { JFileChooser file = new JFileChooser(); int returnValue = file.showOpenDialog(frame); if (returnValue == JFileChooser.APPROVE_OPTION) { JOptionPane message = new JOptionPane(); message.showMessageDialog(frame, "file: " + file.getSelectedFile().getAbsoluteFile()); } } } }
  4. rrmolnar

    Exiting Programs

    Hi all, I've compiled my gui program with JET4.1 Standard and the addon 1.5.0_06. The program is fine until it exits. I've got two computers both running XP Professional SP2, one will truely exit the program (Task Manager shows the program gone from the list of processes), but the other computer will not exit the program in the sense of looking at the Task Manager and it shows up there. The program will exit ok if it is started and nothing is opened, but when I use a JFileChooser and the program exits it will stay in the Task Manager. I'm using System.exit(0) to shutdown the program. This problem used to happen once and a while with the computer that isn't have problems with the JET4.1 Standard 1.5.0_05 but doesn't seem to be having problems now. The computer that is having problems has 1GB of RAM. I can't seem to find the problem because it will exit fine in Netbeans 5.0 but will give me problems when compiled. Thanks, Robert Molnar II