File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
TimeNETOptimizationEnvironment/src/toe/plot Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change 2424import java .awt .ComponentOrientation ;
2525import javax .swing .JColorChooser ;
2626import java .io .FileOutputStream ;
27- import java .util .logging .Level ;
28- import java .util .logging .Logger ;
2927import java .util .regex .Pattern ;
3028import javax .swing .JOptionPane ;
3129import javax .swing .colorchooser .AbstractColorChooserPanel ;
@@ -782,16 +780,15 @@ private void jButtonOpenColorChooserActionPerformed(java.awt.event.ActionEvent e
782780 AbstractColorChooserPanel [] panels = jc .getChooserPanels ();
783781 for (AbstractColorChooserPanel accp : panels ) {
784782 String name = accp .getDisplayName ();
785- System .out .println ("Name:" + name );
783+ // System.out.println("Name:" + name);
786784 if (name .equals ("Swatches" )) {
787785 JOptionPane .showMessageDialog (null , accp );
788786
789787 }
790788 }
791789
792790 } catch (Exception ex ) {
793- Logger .getLogger (PlotFrameController .class
794- .getName ()).log (Level .SEVERE , null , ex );
791+ support .log ("Error choosing colors for plot: " + ex .getStackTrace ().toString (), typeOfLogLevel .RESULT );
795792 }
796793 jc .setVisible (true );
797794 Color chosen = jc .getColor ();
You can’t perform that action at this time.
0 commit comments