@@ -0,0 +1,2641 @@
+package com.alma.pay2bid.gui;%0A%0Aimport javax.swing.*;%0Aimport java.awt.*;%0Aimport java.awt.event.ActionEvent;%0Aimport java.awt.event.ActionListener;%0Aimport java.awt.event.WindowAdapter;%0Aimport java.awt.event.WindowEvent;%0A%0A/**%0A * Created by Folkvir(Grall Arnaud)) on 28/09/16.%0A */%0Apublic class ClientGui %7B%0A    private JFrame mainFrame;%0A    private JLabel headerLabel;%0A    private JLabel statusLabel;%0A    private JPanel controlPanel;%0A%0A    /**%0A     * Constructor%0A     */%0A    public ClientGui()%7B%0A        createGui();%0A    %7D%0A%0A    private void createGui()%7B%0A        mainFrame = new JFrame(%22Pay2Bid - Auction%22);%0A        mainFrame.setSize(400,400);%0A        mainFrame.setLayout(new GridLayout(3, 1));%0A%0A        headerLabel = new JLabel(%22%22,JLabel.CENTER );%0A        statusLabel = new JLabel(%22%22,JLabel.CENTER);%0A%0A        statusLabel.setSize(350,100);%0A        mainFrame.addWindowListener(new WindowAdapter() %7B%0A            public void windowClosing(WindowEvent windowEvent)%7B%0A                System.exit(0);%0A            %7D%0A        %7D);%0A        controlPanel = new JPanel();%0A        controlPanel.setLayout(new FlowLayout());%0A%0A        mainFrame.add(headerLabel);%0A        mainFrame.add(controlPanel);%0A        mainFrame.add(statusLabel);%0A        mainFrame.setVisible(true);%0A    %7D%0A%0A    private void prepareView()%7B%0A        headerLabel.setText(%22Control in action: Button%22);%0A%0A        JButton okButton = new JButton(%22OK%22);%0A        JButton submitButton = new JButton(%22Submit%22);%0A        JButton cancelButton = new JButton(%22Cancel%22);%0A%0A        okButton.setActionCommand(%22OK%22);%0A        submitButton.setActionCommand(%22Submit%22);%0A        cancelButton.setActionCommand(%22Cancel%22);%0A%0A        okButton.addActionListener(new ButtonClickListener());%0A        submitButton.addActionListener(new ButtonClickListener());%0A        cancelButton.addActionListener(new ButtonClickListener());%0A%0A        controlPanel.add(okButton);%0A        controlPanel.add(submitButton);%0A        controlPanel.add(cancelButton);%0A%0A        mainFrame.setVisible(true);%0A    %7D%0A%0A    private class ButtonClickListener implements ActionListener %7B%0A        public void actionPerformed(ActionEvent e) %7B%0A            String command = e.getActionCommand();%0A            if( command.equals( %22OK%22 ))  %7B%0A                statusLabel.setText(%22Ok Button clicked.%22);%0A            %7D%0A            else if( command.equals( %22Submit%22 ) )  %7B%0A                statusLabel.setText(%22Submit Button clicked.%22);%0A            %7D%0A            else  %7B%0A                statusLabel.setText(%22Cancel Button clicked.%22);%0A            %7D%0A        %7D%0A    %7D%0A%0A    public static void main(String%5B%5D args)%7B%0A        ClientGui c = new ClientGui();%0A        c.prepareView();%0A    %7D%0A%7D%0A

Add gui package and a gui