Iconbar.java 521 B

1234567891011121314151617181920212223242526
  1. package panels;
  2. import java.awt.GridLayout;
  3. import javax.swing.JButton;
  4. import javax.swing.JLabel;
  5. import javax.swing.JPanel;
  6. public class Iconbar extends JPanel {
  7. public JButton irremote;
  8. public JLabel currentroute;
  9. public JLabel currentGridSize;
  10. public Iconbar(){
  11. currentGridSize = new JLabel();
  12. currentroute = new JLabel();
  13. irremote = new JButton("Afstandsbediening");
  14. this.setLayout(new GridLayout(0,5,10,10));
  15. this.add(irremote);
  16. this.add(currentroute);
  17. this.add(currentGridSize);
  18. }
  19. }