mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-25 04:45:33 +00:00
Issue #465: icons added, splitter fix
This commit is contained in:
@@ -425,6 +425,7 @@ public class FontPanel extends javax.swing.JPanel {
|
||||
}
|
||||
});
|
||||
|
||||
buttonEdit.setIcon(new javax.swing.ImageIcon(getClass().getResource("/com/jpexs/decompiler/flash/gui/graphics/edit16.png"))); // NOI18N
|
||||
buttonEdit.setText(bundle.getString("button.edit")); // NOI18N
|
||||
buttonEdit.addActionListener(new java.awt.event.ActionListener() {
|
||||
public void actionPerformed(java.awt.event.ActionEvent evt) {
|
||||
@@ -432,6 +433,7 @@ public class FontPanel extends javax.swing.JPanel {
|
||||
}
|
||||
});
|
||||
|
||||
buttonSave.setIcon(new javax.swing.ImageIcon(getClass().getResource("/com/jpexs/decompiler/flash/gui/graphics/save16.png"))); // NOI18N
|
||||
buttonSave.setText(bundle.getString("button.save")); // NOI18N
|
||||
buttonSave.addActionListener(new java.awt.event.ActionListener() {
|
||||
public void actionPerformed(java.awt.event.ActionEvent evt) {
|
||||
@@ -439,6 +441,7 @@ public class FontPanel extends javax.swing.JPanel {
|
||||
}
|
||||
});
|
||||
|
||||
buttonCancel.setIcon(new javax.swing.ImageIcon(getClass().getResource("/com/jpexs/decompiler/flash/gui/graphics/cancel16.png"))); // NOI18N
|
||||
buttonCancel.setText(bundle.getString("button.cancel")); // NOI18N
|
||||
buttonCancel.addActionListener(new java.awt.event.ActionListener() {
|
||||
public void actionPerformed(java.awt.event.ActionEvent evt) {
|
||||
@@ -495,7 +498,7 @@ public class FontPanel extends javax.swing.JPanel {
|
||||
.addComponent(fontSelection, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
|
||||
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
|
||||
.addComponent(fontEmbedButton)
|
||||
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 32, Short.MAX_VALUE)
|
||||
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 30, Short.MAX_VALUE)
|
||||
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
|
||||
.addComponent(buttonEdit)
|
||||
.addComponent(buttonSave)
|
||||
|
||||
Reference in New Issue
Block a user