How create ear to setup file or exe

how i will create setup or exe from ear.

Enterprise archive(.ear) is meant to execute only by deploying it under the application server.
We cannot run it as a standalone app.
--Jag                                                                                                                                                                                                                                                                                           

Similar Messages

  • How can I convert .swf  file to exe file?

    thanks

    Hi
    Thank for your choise.
    If showing only white screen, please download the lastest version, v2.03.
    http://www.bullrushsoft.com/download.html
    This problem occurs in Win7 sp1, especially IE has been upgraded to v10.
    Our SWF to EXE Converter must need the FlashPlayer plugin for IE, it 's not a atandalone program.
    So it only 880KB.
    Our online converter is the adobe flash player exe, it can be embed the swf  into, and standalone, so its size > 4MB.
    More details, please visit http://www.bullrushsoft.com/online.html
    Best Regards.
    2013-08-11
    Bullrushsoft Support Team
    From:  mmshahid73
    Date:  2013-08-11  02:52:01
    To:  Sandro_brs
    Cc: 
    Subject:  _How_can_I_convert_.swf fileto_exe_file?
    Re: How can I convert .swf file to exe file?
    created by mmshahid73 in Flash Ad Development - View the full discussion
    Hi, I used bullrushsoft SWF to EXE converter, but the created EXE file showing only white screen, i think i need to add flash player also but i don't know how to add flash player duriing swf to exe conversion.
    Because when i converted swf into exe from my pc, it showing size 880 KB where swf file size is 413 KB, onthe other hand, I convert the same online which is playing correctly but the converted file size is 4.57 MB.
    Am i right?
    Kindly help
    Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/5583680#5583680
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/5583680#5583680
    To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/5583680#5583680. In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in Flash Ad Development by email or at Adobe Community
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • How to convert a class file to exe file and how to cteate a class file to d

    how to convert a class file to exe file

    Hi Bhaskarq,
    Hi,
    It is not at all possible.
    But it is a really worst method.
    Please go through it.
    This is a very common question asked in the comp.lang.java newsgroup. Its often useful to have an
    executable application when deploying your
    applications to a specific platform, but remember to
    make your .class files available for users running
    Unix/Macintosh/other platforms.
    Microsoft provide a free system development kit (SDK),
    for Java, which includes the jexegen tool. This
    will convert class files into a .EXE form. The only
    disadvantage is that users need a Microsoft Java
    Virtual Machine (JVM) installed. If your target
    platform is Win32, you can either redistribute the
    virtual
    machine, or raise the level of your system
    requirements, to include Windows 98, or Windows 95
    with
    Internet Explorer 4. Systems matching these
    requirements will already have a copy of the Microsoft
    Java Virtual Machine installed.
    Note : You must specify all of the class files your
    application needs (except for standard java packges)
    as a parameter, so if you have third party libraries,
    you'll need to include them as well. You can use wildcards * though, and you don't need the original source code.
    Also please see this Forum which will give a good idea
    http://forum.java.sun.com/thread.jsp?forum=31&thread=149733
    I hope this will help you.
    Thanks
    Bakrudeen
    Technical Support Engineer
    Sun MicroSystems Inc, India

  • How to develope a setup file in forms6i

    hi,
    this is iqbal i have built all forms menus and reports.
    i want to know how to build the setup file in form6i
    u can mail me [email protected]
    thanking you
    with regards
    iqbal

    hi,
    sorry i wasn't clear yesterday. i am developing a tool in kannada and marathi. by using form6i. input data in to data base is possible to me. but i cant get the data from the database. it was in ######## format.
    please any one have the idea.
    with regards,
    iqbal

  • How to make a setup file in java

    I have a softwave writting in java . I want to create a setup file.
    Please help me . thanks

    http://forum.java.sun.com/thread.jsp?forum=54&thread=422117&tstart=0&trange=15
    This should answer 99.9% of your questions. In addition you may want to look into how to create Executable Jar files.

  • How can u open a file with .exe extension after it was unpacked?

    Thank you Linc Davis for THE ARCHIVER, I was able to unpacked the program. However, after it was unpacked, I clicked the file wtih .exe extension and I got a message that this file will not be extract with this program. Is there another way to open file with .exe extension after it was unpacked by THE ARCHIVER...??? Any assistance is highly appreciated.

    .exe files are Windows executables and do not run in OS X.  You would have to install Windows to use it.
    Windows on Intel Macs
    There are presently several alternatives for running Windows on Intel Macs.
    1. Install the Apple Boot Camp software.  Purchase Windows XP w/Service Pak2, Vista, or Windows 7.  Follow instructions in the Boot Camp documentation on installation of Boot Camp, creating Driver CD, and installing Windows.  Boot Camp enables you to boot the computer into OS X or Windows.
    2. Parallels Desktop for Mac and Windows XP, Vista Business, Vista Ultimate, or Windows 7.  Parallels is software virtualization that enables running Windows concurrently with OS X.
    3. VM Fusionand Windows XP, Vista Business, Vista Ultimate, or Windows 7.  VM Fusion is software virtualization that enables running Windows concurrently with OS X.
    4. CrossOver which enables running many Windows applications without having to install Windows.  The Windows applications can run concurrently with OS X.
    5. VirtualBox is a new Open Source freeware virtual machine such as VM Fusion and Parallels that was developed by Solaris.  It is not as fully developed for the Mac as Parallels and VM Fusion.
    6. Last is Q.  Q is a freeware emulator that is compatible with Intel Macs.  It is much slower than the virtualization software, Parallels and VM Fusion.
    Note that Parallels and VM Fusion can also run other operating systems such as Linux, Unix, OS/2, Solaris, etc.  There are performance differences between dual-boot systems and virtualization.  The latter tend to be a little slower (not much) and do not provide the video performance of the dual-boot system. See MacTech.com's Virtualization Benchmarking for comparisons of Boot Camp, Parallels, and VM Fusion. Boot Camp is only available with Leopard or Snow Leopard. Except for Crossover and a couple of similar alternatives like DarWine you must have a valid installer disc for Windows.
    You must also have an internal optical drive for installing Windows. Windows cannot be installed from an external optical drive.

  • Creating ear and war file from deploy file programatically

    Hi All,
    Is there any API available in oc4j to create an ear or war file from a .deploy file...........??
    Thanx in advance.

    There isn't a public API that let's you hook up to the deploy file in JDeveloper.
    You might be able to achieve this with the JDeveloper Ant task:
    http://www.oracle.com/technology/products/jdev/htdocs/partners/addins/exchange/anttasks/index.html

  • How to Convert a .class file into exe

    I need to convert a .class file to exe...
    If abybody know ...plz infrom me briefly....
    Thanx a lot

    I do not know.
    I come from china.
    [email protected]
    Is that suppose to be a racial joke?From his other post, I'm thinking he's actually serious. At first I thought it was just a troll, but even that email address looks correct (sina.com is a popular service in China and I don't expect an average troll to do 'research' like that).

  • How do we create a plugin setup file for Mac/Win?

    Hello!
    I am a relatively new plugin coder! I have successfully developed a few small plugins. Now, the general course of going about a setup of a plugin is to copy & paste it in the Plugins folder of Adobe Photoshop. Is there an alternate method? Like, a setup, that installs the plugin at the appropriate location! I searched the internet but couldn't find anything of much use.
    Help needed...!!! 
    Thanks! 

    On Windows, you can have your setup program check the registry for plugins folder path:
    HKEY_LOCAL_MACHINE/SOFTWARE/Adobe/Photoshop/
    It would follow by the version number, within that version would be a string value key called "PluginPath", this would hold the full path to plugins folder, this is where you want the installer/setup to copy your plugins to.
    eg.  HKEY_LOCAL_MACHINE/SOFTWARE/Adobe/Photoshop/12.0/  the key PluginPath = "C:\Program Files\Adobe\Adobe Photoshop CS5 (64 Bit)\Plug-ins\"
    Keep in mind that on 64 bit OS, the registry key will tell you about 64 bit location, not the 32 bit location.  If your plugin comes with both 32 bit and 64 bit, you need to do some checking to make sure that it knows which path is which.   eg.  if you see 64 bits in the path, the other one should be C:\Program Files (x86)\Adobe\Adobe Photoshop CS5\Plug-ins\ -- provided that the user choose to install 32 bit.  Also keep in mind that users can have multiple versions of Photoshop.
    There really isn't an easy way on the Mac other than having the installer test to see if /Applications/Adobe Photoshop CS5/Plug-ins/ (and test for other versions)
    OR... you can always ask the user where the plug-ins folder is.

  • "Create Auto Server Setup File" no longer exists /doc outdated/

    On http://manuals.info.apple.com/MANUALS/1000/MA1193/en_US/ServerAdmin_v10.6.pdf on 117 page - is written to use Server Admin , to create auto setup. These option not exists.
    How to make settings for server with XML, then to edit it, and to then put it to USB drive during next similar instalations?

    This is how it currently looks Murray
    Thanks again...

  • How to transfer a *.rdf file into *.exe

    i have a report application,but i don't know how to make it to *.exe?
    Thank you in advance.

    You cannot generate a *.exe from a report application(*.RDF). However you can generate a *.REP by going to :
    file-administration-compile report.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by honghui xie ([email protected]):
    i have a report application,but i don't know how to make it to *.exe?
    Thank you in advance.<HR></BLOCKQUOTE>
    null

  • How to Remove Illustrator Setup Files. Setup Failed due to Low Disk Space.

    On exit, majority of eetup files remained on my hard drive thus consuming more space.
    Where does Creative Cloud download Illustraotr set up files that I downloaded? I need to delete them, clean up my HDD space more and try again.
    Thank you.

    Aten the files are stored in your temporary directory.  If you restart your computer this directory should be cleared automatically.

  • Creating setup file for java

    Somebody tell me how to create setup file for the software which is made by using java programming. We can create jar file for that purpose but I want to create setup file or exe file.

    open source
    - izpack (windows, linux, macos) www.izforge.com or org
    - nsis.sf.net (winblows only)
    commercial
    - www.zerog.com 's InstallAnywhere

  • Is there any way to create a setup file Like Visual Basic

    Hi,
    I want to create a setup file of all developed foms and reports to install them to desireable location, is there any way to create a setup file in oracle, Like Vb.
    Raza

    I believe there is something from Oracle but it was frustratingly buggy when I used it a few years back and only worked via the Oracle installer.
    Personally, I'd recommend something like Innosetup, which is freeware and a Windows-style installer much like InstallShield etc. so it'll create an executable setup file probably OK if they've already got the Oracle Runtime components installed.

  • How to save JTabbedPane to file so it can be restored later

    I am trying to build a program that will allow the user to add/remove tabs and buttons in a JTabbedPane and then save this to a file so that it can be restored later. However when I try to restore it from the file I cannot get it to update the panel.
    public class LightCommander extends JFrame
         private Container windowContent;
         private JPanel mainPanel;
         // menubar items and actionlistener
         private JMenuBar mainMenu;
         private JMenu f,v,c,c1,h;
         private ButtonGroup view_group;
         private MenuHandler mlistener;
         private static JMenuItem f1,f2,f3,c11,c12,c2,c3,c4,c5,h1,h2,h3;
         private JRadioButtonMenuItem v1;
         // mainWindow items
         private JScrollPane scrollWindow;
         private TabbedView mainWindow;
         // infoBar items and mouselistener
         private JPanel infoBar;
         private JLabel info;
         private InfoHandler ilistener;
         // program variables
         private Color defaultColor;
         private File setupFile;
         private FileInputStream fis;
         private FileOutputStream fos;
         private ObjectInputStream ois;
         private ObjectOutputStream oos;
         public LightCommander()
              super("LightCommander2 - \"The Light Project\"");
              windowContent = getContentPane();
              setupFile = null;
              defaultColor = this.getBackground();
              // create the mainPanel of the program which will
              // contain all the programs gui elements
              mainPanel = new JPanel(new BorderLayout());
              mainPanel.setPreferredSize(new Dimension(800,600));
              mainPanel.setMaximumSize(new Dimension(1400,1050));
                   // create the menuBar and it's menus
                   mainMenu = new JMenuBar();
                   // create the file menu
                   f  = new JMenu("File");
                   f.setMnemonic(KeyEvent.VK_F);
                   f1 = new JMenuItem("New");
                   f1.setMnemonic(KeyEvent.VK_N);
                   f1.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_N, ActionEvent.CTRL_MASK));     // set shortcut = (Ctrl + n) for power users
                   f2 = new JMenuItem("Open");
                   f2.setMnemonic(KeyEvent.VK_O);
                   f2.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_O, ActionEvent.CTRL_MASK));     // set shortcut = (Ctrl + o) for power users
                   f3 = new JMenuItem("Exit");
                   f3.setMnemonic(KeyEvent.VK_X);
                   f3.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_X, ActionEvent.CTRL_MASK));     // set shortcut = (Ctrl + x) for power users
                   f.add(f1);
                   f.add(f2);
                   f.addSeparator();
                   f.add(f3);
                   // create the view menu
                   v  = new JMenu("View");
                   v.setMnemonic(KeyEvent.VK_V);
                   v1 = new JRadioButtonMenuItem("Tabs");
                   view_group = new ButtonGroup();
                   view_group.add(v1);
                   v1.setSelected(true);
                   v.add(v1);
                   // create the command menu
                   c   = new JMenu("Command");
                   c.setMnemonic(KeyEvent.VK_C);
                   c1  = new JMenu("Add");
                   c1.setMnemonic(KeyEvent.VK_A);
                   c11 = new JMenuItem("Light");
                   c11.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_1, ActionEvent.CTRL_MASK));     // set shortcut = (Ctrl + 1) for power users
                   c12 = new JMenuItem("Switch");
                   c12.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_2, ActionEvent.CTRL_MASK));     // set shortcut = (Ctrl + 2) for power users
                   c1.add(c11);
                   c1.add(c12);
                   c2  = new JMenuItem("Remove");
                   c2.setMnemonic(KeyEvent.VK_R);
                   c2.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_3, ActionEvent.CTRL_MASK));     // set shortcut = (Ctrl + 3) for power users
                   c3  = new JMenuItem("Reset");
                   c3.setMnemonic(KeyEvent.VK_E);
                   c3.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_4, ActionEvent.CTRL_MASK));     // set shortcut = (Ctrl + 4) for power users
                   c4  = new JMenuItem("All On");
                   c4.setMnemonic(KeyEvent.VK_N);
                   c4.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_5, ActionEvent.CTRL_MASK));     // set shortcut = (Ctrl + 5) for power users
                   c5  = new JMenuItem("All Off");
                   c5.setMnemonic(KeyEvent.VK_F);
                   c5.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_6, ActionEvent.CTRL_MASK));     // set shortcut = (Ctrl + 6) for power users
                   c.add(c1);
                   c.add(c2);
                   c.add(c3);
                   c.addSeparator();
                   c.add(c4);
                   c.add(c5);
                   // create the help menu
                   h  = new JMenu("Help");
                   h.setMnemonic(KeyEvent.VK_H);
                   h1 = new JMenuItem("Help Topics");
                   h1.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_F1, ActionEvent.CTRL_MASK));     // set shortcut = (Ctrl + F1) for power users
                   h2 = new JMenuItem("Technical Support");
                   h3 = new JMenuItem("About LightCommander2...");
                   h.add(h1);
                   h.add(h2);
                   h.addSeparator();
                   h.add(h3);
                   // add actionlistener and infolistener to the menuitems
                   mlistener = new MenuHandler();
                   ilistener = new InfoHandler();
                   f.addMouseListener(ilistener);
                   f1.addActionListener(mlistener);
                   f1.addMouseListener(ilistener);
                   f2.addActionListener(mlistener);
                   f2.addMouseListener(ilistener);
                   f3.addActionListener(mlistener);
                   f3.addMouseListener(ilistener);
                   v.addMouseListener(ilistener);
                   v1.addActionListener(mlistener);
                   v1.addMouseListener(ilistener);
                   c.addMouseListener(ilistener);
                   c11.addActionListener(mlistener);
                   c11.addMouseListener(ilistener);
                   c12.addActionListener(mlistener);
                   c12.addMouseListener(ilistener);
                   c2.addActionListener(mlistener);
                   c2.addMouseListener(ilistener);
                   c3.addActionListener(mlistener);
                   c3.addMouseListener(ilistener);
                   c4.addActionListener(mlistener);
                   c4.addMouseListener(ilistener);
                   c5.addActionListener(mlistener);
                   c5.addMouseListener(ilistener);
                   h.addMouseListener(ilistener);
                   h1.addActionListener(mlistener);
                   h1.addMouseListener(ilistener);
                   h2.addActionListener(mlistener);
                   h2.addMouseListener(ilistener);
                   h3.addActionListener(mlistener);
                   h3.addMouseListener(ilistener);
                   // disable menu items with no functionality as of yet
    //               f1.setEnabled(false);
    //               f2.setEnabled(false);
    //               v1.setEnabled(false);
                   c1.setEnabled(false);
                   c11.setEnabled(false);
                   c12.setEnabled(false);
                   c2.setEnabled(false);
                   c3.setEnabled(false);
                   c4.setEnabled(false);
                   c5.setEnabled(false);
                   h1.setEnabled(false);
                   h2.setEnabled(false);
                   h3.setEnabled(false);
                   // add the menus to the menubar
                   mainMenu.add(f);
                   mainMenu.add(v);
                   mainMenu.add(c);
                   mainMenu.add(h);
                   // create the mainWindow for displaying
                   // switch and light elements
                   mainWindow = new TabbedView();
                   scrollWindow = new JScrollPane(mainWindow);
                   // create the infoBar to display
                   // the mouseOver information of components
                   infoBar = new JPanel(new BorderLayout());
                   infoBar.setPreferredSize(new Dimension(800,20));
                   info = new JLabel("");
                   info.setPreferredSize(new Dimension(400,20));
                   info.setBorder(BorderFactory.createMatteBorder(1,1,1,1,Color.GRAY));
                   infoBar.add(info,BorderLayout.WEST);
              // add the items to the mainPanel
              mainPanel.add(mainMenu,BorderLayout.NORTH);
              mainPanel.add(scrollWindow,BorderLayout.CENTER);
              mainPanel.add(infoBar,BorderLayout.SOUTH);
              windowContent.add(mainPanel);
              pack();
              show();
         public static void main(String[] args)
              LightCommander GUI = new LightCommander();
              GUI.addWindowListener(
                        new WindowAdapter()
                             public void windowClosing(WindowEvent e)
                             { f3.doClick(); }
         // inner class that handles all Events
         // created by the menu items in the JFrame
         public class MenuHandler implements ActionListener
              public void actionPerformed(ActionEvent e)
                   if(e.getSource() == f1)
                   //* New File:                                                                                *
                   //*      updates any currently open file, creates a fileBrowser for user          *
                   //*      input, and then creates the file and enables additional menu items     *
                        //*** check to see if a file is currently open and if so save it
                        if(setupFile != null)
                             try
                                  fos = new FileOutputStream(setupFile);
                                  oos = new ObjectOutputStream(fos);
                                  oos.writeObject(mainWindow);
                                  oos.close();
                                  fos.close();
                                  setupFile = null;
                             catch(Exception f) { JOptionPane.showMessageDialog(mainPanel,"ERROR: " + f); }
                        //*** create popup window to request file name and location (fileBrowser)
                        JFileChooser chooser = new JFileChooser();
                        int result = chooser.showSaveDialog(mainMenu);
                        if(result == JFileChooser.CANCEL_OPTION) return;
                        setupFile = chooser.getSelectedFile();
                        try
                             setupFile.createNewFile();
                             mainWindow = new TabbedView();     // reset the view here
                             mainWindow.repaint();
                             // enable the menu items that should now be functional
                             c1.setEnabled(true);
                             c12.setEnabled(true);
                        catch(Exception f){ JOptionPane.showMessageDialog(mainPanel, "ERROR: " + f); }
                   if(e.getSource() == f2)
                   //* Open File:                                                                                     *
                   //*          updates any currently open file, creates a fileBrowser for user               *
                   //*          input, opens the file, builds the view from file, enables menu items     *
                        //*** check to see if a current file is open and if so save it
                        if(setupFile != null)
                             try
                                  fos = new FileOutputStream(setupFile);
                                  oos = new ObjectOutputStream(fos);
                                  oos.writeObject(mainWindow);
                                  oos.close();
                                  fos.close();
                                  setupFile = null;
                             catch(Exception f) { JOptionPane.showMessageDialog(mainPanel,"ERROR: " + f); }
                        //*** create popup window (file browser) to allow user to select the file to be opened
                        JFileChooser chooser = new JFileChooser();
                        int result = chooser.showOpenDialog(mainMenu);
                        if(result == JFileChooser.CANCEL_OPTION) return;
                        try
                             //*** open the selected file and fill the view
                             setupFile = chooser.getSelectedFile();
                             fis = new FileInputStream(setupFile);
                             ois = new ObjectInputStream(fis);
                             mainWindow = (TabbedView) ois.readObject();
                             mainWindow.reset();
                             ois.close();
                             fis.close();
                             // finally, enable the menu items that should now be functional
                             c1.setEnabled(true);
                             c11.setEnabled(true);
                             c12.setEnabled(true);
    //                         c2.setEnabled(true);
    //                         c3.setEnabled(true);
    //                         c4.setEnabled(true);
    //                         c5.setEnabled(true);
                        catch(Exception f){ JOptionPane.showMessageDialog(mainPanel,"ERROR: " + f); }
                   if(e.getSource() == f3)
                   //* Exit Program:                                        *
                   //*          update the currently open file and exit     *
                        //*** check to see if a current file is open and if so save it
                        if(setupFile != null)
                             try
                                  fos = new FileOutputStream(setupFile);
                                  oos = new ObjectOutputStream(fos);
                                  oos.writeObject(mainWindow);
                                  oos.close();
                                  fos.close();
                                  setupFile = null;
                             catch(Exception f) { JOptionPane.showMessageDialog(mainPanel,"ERROR: " + f); }
                        System.exit(0);
                   if(e.getSource() == c11)
                   // add a lightObject to the selected switch
                   // and also add the lightObject to each view
                        //*** get the selected switchObject
                             // if the current view is tabbed find the selected tab
                             // if the current view is matrix then find the selected button
                        //*** add a lightObject to the selected switchObject
                        //*** finally add the lightObject as a button to both views
                   if(e.getSource() == c12)
                   // add a switchObject to the current setup
                   // and also add a tab to the mainWindow
                        if(!mainWindow.addSwitch())     JOptionPane.showMessageDialog(mainPanel,"ERROR: MAX number of switches are installed.");
                        // enable menu items that should now be functional
                        c11.setEnabled(true);
    //                    c2.setEnabled(true);
    //                    c3.setEnabled(true);
    //                    c4.setEnabled(true);
    //                    c5.setEnabled(true);
                   if(e.getSource() == c2){ System.out.println("event - remove"); }
                   if(e.getSource() == c3){ System.out.println("event - reset"); }
                   if(e.getSource() == c4){ System.out.println("event - all on"); }
                   if(e.getSource() == c5){ System.out.println("event - all off"); }
                   if(e.getSource() == h1){ System.out.println("event - help topics"); }
                   if(e.getSource() == h2){ System.out.println("event - technical support"); }
                   if(e.getSource() == h3){ System.out.println("event - about lightcommander2..."); }
         // displays mouseover information in the infoPanel
         public class InfoHandler implements MouseListener
              // the mouse has entered a mouselistener object
              public void mouseEntered(MouseEvent e)
                   if(e.getSource() == f ) { info.setText(" file menu");     }
                   if(e.getSource() == f1) { info.setText(" create a new setup file"); }
                   if(e.getSource() == f2) { info.setText(" open an existing setup file"); }
                   if(e.getSource() == f3) { info.setText(" exit the program");     }
                   if(e.getSource() == v ) { info.setText(" view menu");     }
                   if(e.getSource() == v1) { info.setText(" change the main window layout to tabular layout"); }
                   if(e.getSource() == c ) { info.setText(" command menu"); }
                   if(e.getSource() == c11){ info.setText(" add a light to the current lighting setup"); }
                   if(e.getSource() == c12){ info.setText(" add a switch to the current lighting setup"); }
                   if(e.getSource() == c2) { info.setText(" remove the selected item from the lighting setup");     }
                   if(e.getSource() == c3) { info.setText(" reset the selected item in the lighting setup"); }
                   if(e.getSource() == c4) { info.setText(" turn on all the lights"); }
                   if(e.getSource() == c5) { info.setText(" turn off all the lights"); }
                   if(e.getSource() == h ) { info.setText(" help menu");     }
                   if(e.getSource() == h1) { info.setText(" open a list of common help topics"); }
                   if(e.getSource() == h2) { info.setText(" open a window with company contact information"); }
                   if(e.getSource() == h3) { info.setText(" open a window displaying program info"); }
              public void mouseExited(MouseEvent e){ info.setText(""); }
              public void mousePressed(MouseEvent e){  }
              public void mouseReleased(MouseEvent e){  }
              public void mouseClicked(MouseEvent e){  }
    public class TabbedView extends JTabbedPane implements Serializable
         private SwitchObject[] switches;
         private int numSwitches;
         public TabbedView()
              super();
              switches = new SwitchObject[128];
              numSwitches = 0;
         public boolean addSwitch()
              if(numSwitches < 128)
                   for(int i=0; i<128; i++)
                        if(switches[i] == null)
                             SwitchObject x = new SwitchObject("S" + Integer.toString(i), i);
                             switches[i] = x;
                             this.addTab(x.getLabel(), x);
                             break;
                   numSwitches++;     // increment the number of switches installed
                   return true;     // signal a successful operation
              else return false;     // signal that all available switch addresses are used
    public class SwitchObject extends JPanel implements Serializable
         private String s_label;
         private int s_addr;
         private int numLights;
         private LightObject[] lights;
         // SwitchObject Constructor
         public SwitchObject(String label, int addr)
              super();
              s_label = label;
              s_addr = addr;
              numLights = 0;
              lights = new LightObject[128];     // create an empty array of lights
              for(int i=0; i<3; i++) Tx();     // send the switches addr 3 times in order to setup the hardware addr
         public String getLabel(){ return s_label; }
         public int getAddr(){ return s_addr; }
         // add a light to the switch
         public boolean addLight()
              if(numLights < 128)
                   for(int i=0; i<128; i++)
                        if(lights[i] == null)
                             lights[i] = new LightObject("L" + Integer.toString(i), i+128);
                             break;
                   numLights++;
                   return true;
              else return false;
         // transmit the switches addr to the hardware
         public void Tx()
              //*** Add Code Here ***
              System.out.println("Tx: " + Integer.toString(s_addr));     // output for debugging
    public class LightObject extends JButton implements Serializable,ActionListener
         private int l_addr;
         private boolean isOn;
         public LightObject(String label, int addr)
              super(label);
              this.addActionListener(this);
              this.setBackground(Color.YELLOW);
              l_addr = addr;
              for(int i=0; i<3; i++) Tx();          // send the light addr 3 times to setup the hardware addr
              isOn = true;
         public int getAddr(){ return l_addr; }
         // Transmit the light's addr to the hardware
         public void Tx()
              //*** Add Code Here ***
              System.out.println("Tx: " + Integer.toString(l_addr));
         public void actionPerformed(ActionEvent e)
              Tx();
              if(isOn)
                   isOn = false;
                   this.setBackground(Color.GRAY);
              else
                   isOn = true;
                   this.setBackground(Color.YELLOW);
    }

    You're welcome for the help I gave you in your last posting on this topic.
    Why are you posting 200 lines of code? 90% of the code is not related to saving/restoring a component. Create a simple demo program and then maybe someone will take a look. We are not here to debug you entire application.
    How to create a [url http://www.physci.org/codes/sscce.jsp]Short, Self Contained, Correct (Compilable), Example

Maybe you are looking for