-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkopiowanko
103 lines (81 loc) · 2.55 KB
/
kopiowanko
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
package zbzbzbzb;
import java.awt.EventQueue;
import java.awt.event.ActionListener;
import javax.swing.JFrame;
import javax.swing.JComboBox;
import java.awt.BorderLayout;
import javax.swing.JLabel;
import javax.swing.JButton;
import javax.swing.JPanel;
public class eeeee {
private JFrame frame;
/**
* Launch the application.
*/
public static void main(String[] args) {
EventQueue.invokeLater(new Runnable() {
public void run() {
try {
eeeee window = new eeeee();
window.frame.setVisible(true);
} catch (Exception e) {
e.printStackTrace();
}
}
});
}
/**
* Create the application.
*/
public eeeee() {
initialize();
}
/**
* Initialize the contents of the frame.
*/
private void initialize() {
frame = new JFrame();
frame.setBounds(100, 100, 1280, 720);
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.getContentPane().setLayout(null);
JLabel lblIkona = new JLabel("ikona");
lblIkona.setBounds(46, 30, 46, 14);
frame.getContentPane().add(lblIkona);
JButton btnShop = new JButton("shop");
btnShop.setBounds(10, 90, 89, 23);
frame.getContentPane().add(btnShop);
JButton btnHome = new JButton("home");
btnHome.setBounds(61, 124, 89, 23);
frame.getContentPane().add(btnHome);
JButton btnNewest = new JButton("newest");
btnNewest.setBounds(61, 158, 89, 23);
frame.getContentPane().add(btnNewest);
JButton btnBrowse = new JButton("browse");
btnBrowse.setBounds(61, 192, 89, 23);
frame.getContentPane().add(btnBrowse);
JButton btnYourLibrary = new JButton("your library");
btnYourLibrary.setBounds(10, 248, 89, 23);
frame.getContentPane().add(btnYourLibrary);
JButton btnAlbums = new JButton("albums");
btnAlbums.setBounds(61, 282, 89, 23);
frame.getContentPane().add(btnAlbums);
JButton btnArtists = new JButton("artists");
btnArtists.setBounds(61, 316, 89, 23);
frame.getContentPane().add(btnArtists);
JButton btnPlaylists = new JButton("playlists");
btnPlaylists.setBounds(61, 350, 89, 23);
frame.getContentPane().add(btnPlaylists);
JButton btnPlay = new JButton("play");
btnPlay.setBounds(654, 647, 89, 23);
frame.getContentPane().add(btnPlay);
JButton btnBackward = new JButton("backward");
btnBackward.setBounds(544, 647, 89, 23);
frame.getContentPane().add(btnBackward);
JButton btnForward = new JButton("forward");
btnForward.setBounds(765, 647, 89, 23);
frame.getContentPane().add(btnForward);
JPanel panel = new JPanel();
panel.setBounds(160, 0, 1094, 606);
frame.getContentPane().add(panel);
}
}