Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/nbproject/private/
/build/
8 changes: 5 additions & 3 deletions src/com/toy/anagrams/ui/About.form
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8" ?>

<Form version="1.0" maxVersion="1.5" type="org.netbeans.modules.form.forminfo.JDialogFormInfo">
<Form version="1.2" maxVersion="1.5" type="org.netbeans.modules.form.forminfo.JDialogFormInfo">
<Properties>
<Property name="defaultCloseOperation" type="int" value="2"/>
<Property name="title" type="java.lang.String" value="About Anagrams"/>
Expand All @@ -10,6 +10,8 @@
</SyntheticProperties>
<AuxValues>
<AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/>
<AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/>
<AuxValue name="FormSettings_generateFQN" type="java.lang.Boolean" value="true"/>
<AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/>
<AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="false"/>
<AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/>
Expand Down Expand Up @@ -38,14 +40,14 @@
<SubComponents>
<Component class="javax.swing.JTextArea" name="copyrightTextArea">
<Properties>
<Property name="editable" type="boolean" value="false"/>
<Property name="background" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor">
<Color blue="cc" green="cc" id="Panel.background" palette="3" red="cc" type="palette"/>
</Property>
<Property name="columns" type="int" value="25"/>
<Property name="editable" type="boolean" value="false"/>
<Property name="lineWrap" type="boolean" value="true"/>
<Property name="rows" type="int" value="8"/>
<Property name="text" type="java.lang.String" value="Anagrams&#xa;&#xa;Copyright (c) 2003 Irritable Enterprises, Inc."/>
<Property name="text" type="java.lang.String" value="&#x4ffa;&#x306e;&#x30a2;&#x30ca;&#x30b0;&#x30e9;&#x30e0;&#xa;&#x4f7f;&#x3063;&#x3066;&#x307f;&#x3066;&#x306d;&#xa;Copyright (c) 2014 Irritable Enterprises, ao, Inc.&#xa;&#xa;"/>
<Property name="wrapStyleWord" type="boolean" value="true"/>
<Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor">
<Border info="null"/>
Expand Down
17 changes: 8 additions & 9 deletions src/com/toy/anagrams/ui/About.java
Original file line number Diff line number Diff line change
Expand Up @@ -61,26 +61,27 @@ public About(JFrame parent) {
* WARNING: Do NOT modify this code. The content of this method is
* always regenerated by the Form Editor.
*/
private void initComponents() {//GEN-BEGIN:initComponents
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
private void initComponents() {
java.awt.GridBagConstraints gridBagConstraints;

mainPanel = new javax.swing.JPanel();
copyrightTextArea = new javax.swing.JTextArea();
closeButton = new javax.swing.JButton();

getContentPane().setLayout(new java.awt.GridBagLayout());

setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
setTitle("About Anagrams");
getContentPane().setLayout(new java.awt.GridBagLayout());

mainPanel.setBorder(javax.swing.BorderFactory.createEmptyBorder(11, 11, 12, 12));
mainPanel.setLayout(new java.awt.GridBagLayout());

mainPanel.setBorder(new javax.swing.border.EmptyBorder(new java.awt.Insets(11, 11, 12, 12)));
copyrightTextArea.setEditable(false);
copyrightTextArea.setBackground(javax.swing.UIManager.getDefaults().getColor("Panel.background"));
copyrightTextArea.setColumns(25);
copyrightTextArea.setEditable(false);
copyrightTextArea.setLineWrap(true);
copyrightTextArea.setRows(8);
copyrightTextArea.setText("Anagrams\n\nCopyright (c) 2003 Irritable Enterprises, Inc.");
copyrightTextArea.setText("俺のアナグラム\n使ってみてね\nCopyright (c) 2014 Irritable Enterprises, ao, Inc.\n\n");
copyrightTextArea.setWrapStyleWord(true);
copyrightTextArea.setBorder(null);
copyrightTextArea.setFocusable(false);
Expand All @@ -99,7 +100,6 @@ public void actionPerformed(java.awt.event.ActionEvent evt) {
closeButtonActionPerformed(evt);
}
});

gridBagConstraints = new java.awt.GridBagConstraints();
gridBagConstraints.gridx = 0;
gridBagConstraints.gridy = 1;
Expand All @@ -111,8 +111,7 @@ public void actionPerformed(java.awt.event.ActionEvent evt) {
gridBagConstraints.weightx = 1.0;
gridBagConstraints.weighty = 1.0;
getContentPane().add(mainPanel, gridBagConstraints);

}//GEN-END:initComponents
}// </editor-fold>//GEN-END:initComponents

private void closeButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_closeButtonActionPerformed
setVisible(false);
Expand Down
2 changes: 1 addition & 1 deletion src/com/toy/anagrams/ui/Anagrams.form
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
</Menu>
</NonVisualComponents>
<Properties>
<Property name="title" type="java.lang.String" value="Anagrams"/>
<Property name="title" type="java.lang.String" value="&#x4ffa;&#x306e;&#x30a2;&#x30ca;&#x30b0;&#x30e9;&#x30e0;"/>
</Properties>
<SyntheticProperties>
<SyntheticProperty name="menuBar" type="java.lang.String" value="mainMenu"/>
Expand Down
2 changes: 1 addition & 1 deletion src/com/toy/anagrams/ui/Anagrams.java
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ private void initComponents() {
aboutMenuItem = new javax.swing.JMenuItem();
exitMenuItem = new javax.swing.JMenuItem();

setTitle("Anagrams");
setTitle("俺のアナグラム");
addWindowListener(new java.awt.event.WindowAdapter() {
public void windowClosing(java.awt.event.WindowEvent evt) {
exitForm(evt);
Expand Down