Skip to content
Snippets Groups Projects
Commit bb6cbe68 authored by tjc's avatar tjc
Browse files

JProgressBar.setIndeterminate not in 1.3

git-svn-id: svn+ssh://svn.internal.sanger.ac.uk/repos/svn/pathsoft/artemis/trunk@1710 ee4ac58c-ac51-4696-9907-e4b3aa274f04
parent 04708201
No related branches found
No related tags found
No related merge requests found
......@@ -42,6 +42,8 @@ public class ProgressThread extends Thread
}
public void run()
{
try
{
progress_frame = new JFrame("Loading...");
Dimension d = progress_frame.getToolkit().getScreenSize();
......@@ -54,6 +56,8 @@ public class ProgressThread extends Thread
((int)d.getHeight()-progress_frame.getHeight())/2);
progress_frame.setVisible(true);
}
catch(NoSuchMethodError nsme){}
}
public void finished()
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment