- LoadingThread loader = new LoadingThread(file, file2, this);
- loader.start();
- }
- else if (file != null)
- {
- /*
- * Start the applet immediately or show a button to start it
- */
- if (FALSE.equalsIgnoreCase(getParameter("showbutton")))
- {
- LoadingThread loader = new LoadingThread(file, file2, this);
- loader.start();
- }
- else
- {
- add(launcher);
- launcher.addActionListener(new java.awt.event.ActionListener()
- {
- @Override
- public void actionPerformed(ActionEvent e)
- {
- LoadingThread loader = new LoadingThread(file, file2,
- JalviewLite.this);
- loader.start();
- }
- });
- }