@@ -0,0 +1,1469 @@
+package gui;%0A%0Aimport java.awt.Color;%0Aimport java.awt.Dimension;%0Aimport java.awt.Toolkit;%0A%0Aimport javax.swing.Box;%0Aimport javax.swing.BoxLayout;%0Aimport javax.swing.JButton;%0Aimport javax.swing.JFrame;%0Aimport javax.swing.JLabel;%0Aimport javax.swing.JPanel;%0Aimport javax.swing.JTextField;%0A%0Apublic class FrameJavaEvent extends JFrame%7B%0A%09%0A%09%0A%0A%09public FrameJavaEvent() %7B%0A%09%09%0A%0A%09%09setSize(new Dimension(500,80));%0A%09%09setTitle(%22Java Event%22);%0A%09%09setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);%0A%09%09setLocationRelativeTo(null);%0A%09%09%0A%09%09JPanel panel=new JPanel();%0A%09%09panel.setPreferredSize(new Dimension(500,80));%0A%09%09BoxLayout box=new BoxLayout(panel, BoxLayout.X_AXIS);%0A%09%09panel.setLayout(box);%0A%09%09JPanel panLbl=new JPanel();%0A%09%09JLabel lbl=new JLabel(%22Stampac: %22);%0A%09%09panLbl.add(lbl);%0A%09%09JPanel panTxt=new JPanel();%0A%09%09JTextField txt=new JTextField(%22HP LaserJet 5200 Q7543AA3%22);%0A%09%09panTxt.setPreferredSize(new Dimension(200,40));%0A%09%09txt.setPreferredSize(new Dimension(200,20));%0A%09%09txt.setDisabledTextColor(Color.LIGHT_GRAY);%0A%09%09txt.setEditable(false);%0A%09%09txt.setBackground(Color.WHITE);%0A%09%09panTxt.add(txt);%0A%09%09panTxt.add(JavaEventListener.tekst);%0A%09%09JButton btn=new JButton(%22Prikazi detalje%22);%0A%09%09btn.setPreferredSize(new Dimension(100,80));%0A%09%09%0A%09%09btn.addActionListener(new JavaEventListener());%0A%09%09panel.add(panLbl);%0A%09%09panel.add(Box.createHorizontalStrut(30));%0A%09%09panel.add(panTxt);%0A%09%09panel.add(Box.createHorizontalStrut(30));%0A%09%09panel.add(btn);%0A%09%09panel.add(Box.createHorizontalStrut(10));%0A%09%09add(panel);%0A    %0A%09%7D%0A%7D%0A

Create FrameJavaEvent.java