swing:jradiobutton

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
swing:jradiobutton [2020/03/30 08:41]
gthanos
swing:jradiobutton [2020/03/30 08:48]
gthanos
Line 92: Line 92:
     radioPanel.add(pigButton);     radioPanel.add(pigButton);
  
-    add(radioPanel, BorderLayout.LINE_START);+    add(radioPanel, BorderLayout.WEST);
     add(picture, BorderLayout.CENTER);     add(picture, BorderLayout.CENTER);
     setBorder(BorderFactory.createEmptyBorder(20,20,20,20));     setBorder(BorderFactory.createEmptyBorder(20,20,20,20));
Line 213: Line 213:
     radioPanel.add(pigButton);     radioPanel.add(pigButton);
  
-    add(radioPanel, BorderLayout.LINE_START);+    add(radioPanel, BorderLayout.WEST);
     add(picture, BorderLayout.CENTER);     add(picture, BorderLayout.CENTER);
     setBorder(BorderFactory.createEmptyBorder(20,20,20,20));     setBorder(BorderFactory.createEmptyBorder(20,20,20,20));
swing/jradiobutton.txt · Last modified: 2020/03/30 07:48 (external edit)