projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altos: Clean up trailing whitespace in ao_pad.c
[fw/altos]
/
altosui
/
AltosConfigFreqUI.java
diff --git
a/altosui/AltosConfigFreqUI.java
b/altosui/AltosConfigFreqUI.java
index 918748f7d4918ce04d8478f046b2518a22844a14..5877805791ec28ef7f81859a2dbb226fd2df6fc6 100644
(file)
--- a/
altosui/AltosConfigFreqUI.java
+++ b/
altosui/AltosConfigFreqUI.java
@@
-21,9
+21,10
@@
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import java.util.*;
import java.awt.event.*;
import javax.swing.*;
import java.util.*;
-import org.altusmetrum.AltosLib.*;
+import org.altusmetrum.altoslib_3.*;
+import org.altusmetrum.altosuilib_1.*;
-class AltosEditFreqUI extends AltosDialog implements ActionListener {
+class AltosEditFreqUI extends Altos
UI
Dialog implements ActionListener {
Frame frame;
JTextField frequency;
JTextField description;
Frame frame;
JTextField frequency;
JTextField description;
@@
-70,7
+71,7
@@
class AltosEditFreqUI extends AltosDialog implements ActionListener {
GridBagConstraints c = new GridBagConstraints();
c.insets = new Insets (4,4,4,4);
GridBagConstraints c = new GridBagConstraints();
c.insets = new Insets (4,4,4,4);
-
+
c.fill = GridBagConstraints.NONE;
c.anchor = GridBagConstraints.WEST;
c.gridx = 0;
c.fill = GridBagConstraints.NONE;
c.anchor = GridBagConstraints.WEST;
c.gridx = 0;
@@
-125,7
+126,7
@@
class AltosEditFreqUI extends AltosDialog implements ActionListener {
c.weightx = 0;
c.weighty = 0;
pane.add(ok_button, c);
c.weightx = 0;
c.weighty = 0;
pane.add(ok_button, c);
-
+
cancel_button = new JButton("Cancel");
cancel_button.setActionCommand("cancel");
cancel_button.addActionListener(this);
cancel_button = new JButton("Cancel");
cancel_button.setActionCommand("cancel");
cancel_button.addActionListener(this);
@@
-138,7
+139,7
@@
class AltosEditFreqUI extends AltosDialog implements ActionListener {
c.weightx = 0;
c.weighty = 0;
pane.add(cancel_button, c);
c.weightx = 0;
c.weighty = 0;
pane.add(cancel_button, c);
-
+
if (existing == null)
setTitle("Add New Frequency");
else {
if (existing == null)
setTitle("Add New Frequency");
else {
@@
-150,7
+151,7
@@
class AltosEditFreqUI extends AltosDialog implements ActionListener {
pack();
setLocationRelativeTo(frame);
pack();
setLocationRelativeTo(frame);
-
+
}
public AltosEditFreqUI(Frame in_frame) {
}
public AltosEditFreqUI(Frame in_frame) {
@@
-158,7
+159,7
@@
class AltosEditFreqUI extends AltosDialog implements ActionListener {
}
}
}
}
-public class AltosConfigFreqUI extends AltosDialog implements ActionListener {
+public class AltosConfigFreqUI extends Altos
UI
Dialog implements ActionListener {
Frame frame;
LinkedList<ActionListener> listeners;
Frame frame;
LinkedList<ActionListener> listeners;
@@
-289,7
+290,7
@@
public class AltosConfigFreqUI extends AltosDialog implements ActionListener {
public AltosFrequency[] frequencies() {
return frequencies.frequencies();
}
public AltosFrequency[] frequencies() {
return frequencies.frequencies();
}
-
+
public AltosConfigFreqUI(Frame in_frame,
AltosFrequency[] in_frequencies) {
super(in_frame, "Manage Frequencies", true);
public AltosConfigFreqUI(Frame in_frame,
AltosFrequency[] in_frequencies) {
super(in_frame, "Manage Frequencies", true);