import java.io.IOException;
import java.io.InputStreamReader;
import java.net.URI;
-import java.util.logging.Level;
-import java.util.logging.Logger;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
import javax.swing.BorderFactory;
import javax.swing.GroupLayout;
import javax.swing.GroupLayout.Alignment;
*/
public class MainFrame_AboutBox extends JDialog implements ActionListener {
- private static final String VERSION = "いんきゅばす 2.0.0";
+ public static final String VERSION = "いんきゅばす 2.1.0";
private static final long serialVersionUID = -4256413309312729840L;
- private static final Logger logger = Logger.getLogger(MainFrame_AboutBox.class.getName());
+ private static final Logger logger = LoggerFactory.getLogger(MainFrame_AboutBox.class);
private static final String LINE_FEED = System.getProperty("line.separator");
private final JButton btnOk = new JButton();
setDefaultCloseOperation(DISPOSE_ON_CLOSE);
jbInit();
} catch (Exception exception) {
- logger.log(Level.SEVERE, null, exception);
+ logger.error(null, exception);
}
}
try {
Desktop.getDesktop().browse(new URI("http://sourceforge.jp/projects/coroid/wiki/InqubusV2"));
} catch (IOException | URISyntaxException ex) {
- logger.log(Level.SEVERE, null, ex);
+ logger.error(null, ex);
}
}
}
try {
Desktop.getDesktop().browse(new URI("http://saccubus.sourceforge.jp/"));
} catch (IOException | URISyntaxException ex) {
- logger.log(Level.SEVERE, null, ex);
+ logger.error(null, ex);
}
}
}
area.append(LINE_FEED);
}
} catch (IOException ex) {
- logger.log(Level.SEVERE, null, ex);
+ logger.error(null, ex);
}
area.setEditable(false);
licenseField.append(LINE_FEED);
}
} catch (IOException ex) {
- logger.log(Level.SEVERE, null, ex);
+ logger.error(null, ex);
}
licenseField.setCaretPosition(0);