File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
ase.consumer/src/main/java/ase/consumer/internal Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -43,11 +43,13 @@ public void stop(BundleContext context) throws Exception {
43
43
}
44
44
45
45
private class MainFrame extends JFrame {
46
- private MainFrame () throws HeadlessException {
47
- setLayout (new BoxLayout (getContentPane (), 1 ));
46
+ private static final long serialVersionUID = 1651531688775745704L ;
47
+
48
+ public MainFrame () throws HeadlessException {
49
+ setLayout (new BoxLayout (getContentPane (), BoxLayout .Y_AXIS ));
48
50
}
49
51
50
- private void addMyComponent (final JComponent component ) {
52
+ public void addMyComponent (final JComponent component ) {
51
53
SwingUtilities .invokeLater (new Runnable () {
52
54
@ Override
53
55
public void run () {
@@ -58,7 +60,7 @@ public void run() {
58
60
59
61
}
60
62
61
- private void removeMyComponent (final JComponent component ) {
63
+ public void removeMyComponent (final JComponent component ) {
62
64
SwingUtilities .invokeLater (new Runnable () {
63
65
@ Override
64
66
public void run () {
You can’t perform that action at this time.
0 commit comments