1 package addBk.address; 2 3 import gui.run.RunButton; 4 5 import javax.swing.*; 6 import java.awt.*; 7 8 public class DialPanel extends JPanel { 9 10 public DialPanel() { 11 setLayout( 12 new GridLayout(0, 1)); 13 add(new RunButton("[1 dial"){ 14 public void run() { 15 16 } 17 }); 18 add(new RunButton("[2 dial"){ 19 public void run() { 20 } 21 }); 22 add(new RunButton("[3 dial"){ 23 public void run() { 24 25 } 26 }); 27 } 28 }