@@ -0,0 +1,1687 @@
+package nl.bobvandervalk.Example;%0A%0Aimport nl.bobvandervalk.SwingUIScaler4K.UIScaler;%0A%0Aimport javax.swing.*;%0Aimport java.awt.event.ActionEvent;%0Aimport java.awt.event.ActionListener;%0A%0A/**%0A * Created by Bob on 20-2-2016.%0A */%0Apublic class MainPanel extends JPanel %7B%0A    private JButton button1, button2, button3;%0A    private JTextField textField;%0A    private JLabel label;%0A%0A    /**%0A     * Creates a new %3Ccode%3EJPanel%3C/code%3E with a double buffer%0A     * and a flow layout.%0A     */%0A    public MainPanel() %7B%0A        UIScaler uiScaler = new UIScaler();%0A        uiScaler.setFontSize(%22Arial%22, 12);%0A%0A        button1 = new JButton(%22Button 1%22);%0A        button2 = new JButton(%22Button 2%22);%0A        button3 = new JButton(%22Button 3%22);%0A%0A%0A        label = new JLabel(%22This is a test%22);%0A%0A        button1.addActionListener(new Btn1Handler());%0A        button2.addActionListener(new Btn2Handler());%0A        button3.addActionListener(new Btn3Handler());%0A%0A        textField = new JTextField(20);%0A%0A        add(button1);%0A        add(button2);%0A        add(button3);%0A        add(textField);%0A        add(label);%0A    %7D%0A%0A    private class Btn1Handler implements ActionListener %7B%0A        @Override%0A        public void actionPerformed(ActionEvent e) %7B%0A            textField.setText(%22Button 1 is pressed%22);%0A        %7D%0A    %7D%0A%0A    private class Btn2Handler implements ActionListener %7B%0A        @Override%0A        public void actionPerformed(ActionEvent e) %7B%0A            textField.setText(%22Button 2 is pressed%22);%0A        %7D%0A    %7D%0A%0A    private class Btn3Handler implements ActionListener %7B%0A        @Override%0A        public void actionPerformed(ActionEvent e) %7B%0A            textField.setText(%22Button 3 is pressed%22);%0A        %7D%0A    %7D%0A%7D%0A

Add example panel