Changeset 8c1f7a4


Ignore:
Timestamp:
May 5, 2016 3:51:02 PM (4 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
196cf48
Parents:
75d6df77
Message:

DTG: Fix NPE and disable logging in config frame

File:
1 edited

Legend:

Unmodified
Added
Removed
  • apps/desktopgui/src/net/i2p/desktopgui/gui/DesktopguiConfigurationFrame.java

    r75d6df77 r8c1f7a4  
    2929    /** Creates new form ConfigurationFrame */
    3030    public DesktopguiConfigurationFrame(RouterContext ctx) {
     31        _context = ctx;
    3132        initComponents();
    32         _context = ctx;
    3333    }
    3434
     
    9696
    9797    private void cancelButtonMouseReleased(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_cancelButtonMouseReleased
    98         System.out.println("Cancelling configuration change.");
     98        //System.out.println("Cancelling configuration change.");
    9999        this.dispose();
    100100    }//GEN-LAST:event_cancelButtonMouseReleased
     
    113113        if(!desktopguiEnabled.isSelected()) {
    114114            value = "false";
    115             System.out.println("Disabling desktopgui");
    116         }
    117         else {
     115            //System.out.println("Disabling desktopgui");
     116        } else {
    118117            value = "true";
    119             System.out.println("Enabling desktopgui");
     118            //System.out.println("Enabling desktopgui");
    120119        }
    121120        try {
     
    124123            Logger.getLogger(DesktopguiConfigurationFrame.class.getName()).log(Level.SEVERE, null, ex);
    125124        }
    126         System.out.println("Applying desktopgui configuration!");
     125        //System.out.println("Applying desktopgui configuration!");
    127126        this.dispose();
    128127    }
Note: See TracChangeset for help on using the changeset viewer.