@@ -196,53 +196,6 @@ public void run(String arg)
196196 System .err .println ( "Failed to initialize LaF" );
197197 }
198198
199- //update site warning
200- if (!btMacro .bMacroMode )
201- {
202- if (Prefs .get ( "BigTrace.bUpdateSiteNotice" , true ))
203- {
204- JPanel pWarning = new JPanel (new GridBagLayout ());
205-
206- String message = "<html>BigTrace moved to a new, its own update site (listed in FIJI update window)!<br/>" ;
207- message = message + "This release (0.9.0) is the last release on Ekatrukha update site.</html>" ;
208- JLabel hyperlink = new JLabel ("Please follow new installation intructions" );
209- hyperlink .setForeground (Color .BLUE .darker ());
210- hyperlink .setCursor (Cursor .getPredefinedCursor (Cursor .HAND_CURSOR ));
211- hyperlink .addMouseListener (new MouseAdapter () {
212- @ Override
213- public void mouseClicked (MouseEvent e )
214- {
215- try
216- {
217- Desktop .getDesktop ().browse (new URI ("https://github.com/UU-cellbiology/BigTrace/wiki/How-to-install-plugin" ));
218- }
219- catch ( IOException | URISyntaxException exc )
220- {
221- exc .printStackTrace ();
222- }
223-
224- }
225- });
226- String [] options = {"OK" };
227- // IJ.showMessage( "IMPORTANT! UPDATE SITE CHANGES", "For the future releases BigTrace moves to its own update site!\n"
228- // + "This release (0.9.0) is the last release on Ekatrukha update site!\n"
229- // + "Please add https://sites.imagej.net/BigTrace/ to enable future updates!" );
230-
231- GridBagConstraints gbc = new GridBagConstraints ();
232- gbc .insets = new Insets (8 ,0 ,8 ,0 );
233- gbc .gridx = 0 ;
234- gbc .gridy = 0 ;
235- pWarning .add ( new JLabel (message ), gbc );
236- gbc .insets = new Insets (0 ,0 ,0 ,0 );
237- gbc .gridy ++;
238- pWarning .add ( hyperlink , gbc );
239- Prefs .set ( "BigTrace.bUpdateSiteNotice" , false );
240-
241- JOptionPane .showOptionDialog (null , pWarning , "IMPORTANT! UPDATE SITE CHANGES" ,
242- JOptionPane .PLAIN_MESSAGE , JOptionPane .INFORMATION_MESSAGE , null , options , options [0 ]);
243-
244- }
245- }
246199
247200 btData = new BigTraceData <>(this );
248201 btLoad = new BigTraceLoad <>(this );
0 commit comments