private void Pilihan1ActionPerformed(java.awt.event.ActionEvent evt) {
// // TODO add your handling code here:
txtSatuan.setText("2500000");
txtNama.setText("Blue Saphire");
JLabel label_gambar = new JLabel(new ImageIcon("src/gambar/Blue Saphire.png"));
//x,y,lebar, tinggi
label_gambar.setBounds(2, 2, 2, 2);
label_gambar.setSize(620, 620);
panel_tempat_gambar.add(label_gambar);
panel_tempat_gambar.revalidate();
panel_tempat_gambar.repaint();
}
private void Pilihan2ActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
txtSatuan.setText("2000000");
txtNama.setText("Blue Cool");
JLabel label_gambar1 = new JLabel(new ImageIcon("src/gambar/Blue Cool.png"));
//x,y,lebar, tinggi
label_gambar1.setBounds(2, 2, 2, 2);
label_gambar1.setSize(620, 620);
panel_tempat_gambar.add(label_gambar1);
panel_tempat_gambar.revalidate();
panel_tempat_gambar.repaint();
}
private void Pilihan3ActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
txtSatuan.setText("2750000");
txtNama.setText("Brown Choco");
JLabel label_gambar3 = new JLabel(new ImageIcon("src/gambar/Brown Choco.png"));
//x,y,lebar, tinggi
label_gambar3.setBounds(2, 2, 2, 2);
label_gambar3.setSize(620, 620);
panel_tempat_gambar.add(label_gambar3);
panel_tempat_gambar.revalidate();
panel_tempat_gambar.repaint();
}
private void Pilihan4ActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
txtSatuan.setText("2500000");
txtNama.setText("Choco Black");
JLabel label_gambar2 = new JLabel (new ImageIcon("src/gambar/Choco Black.png"));
//x,y,lebar, tinggi
label_gambar2.setBounds(2, 2, 2, 2);
label_gambar2.setSize(620, 620);
panel_tempat_gambar.add(label_gambar2);
panel_tempat_gambar.revalidate();
panel_tempat_gambar.repaint();
}
private void Pilihan5ActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
txtSatuan.setText("2250000");
txtNama.setText("Choco Yellow");
JLabel label_gambar4 = new JLabel(new ImageIcon("src/gambar/Choco Yellow.png"));
//x,y,lebar, tinggi
label_gambar4.setBounds(2, 2, 2, 2);
label_gambar4.setSize(620, 620);
panel_tempat_gambar.add(label_gambar4);
panel_tempat_gambar.revalidate();
panel_tempat_gambar.repaint();
}
private void Pilihan6ActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
txtSatuan.setText("3250000");
txtNama.setText("Choco milk");
JLabel label_gambar5 = new JLabel(new ImageIcon("src/gambar/Choco milk.png"));
//x,y,lebar, tinggi
label_gambar5.setBounds(2, 2, 2, 2);
label_gambar5.setSize(620, 620);
panel_tempat_gambar.add(label_gambar5);
panel_tempat_gambar.revalidate();
panel_tempat_gambar.repaint();
}
private void Pilihan7ActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
txtSatuan.setText("2500000");
txtNama.setText("Dusty White");
JLabel label_gambar6 = new JLabel(new ImageIcon("src/gambar/Dusty White.png"));
//x,y,lebar, tinggi
label_gambar6.setBounds(1, 1, 1, 1);
label_gambar6.setSize(620, 620);
panel_tempat_gambar.add(label_gambar6);
panel_tempat_gambar.revalidate();
panel_tempat_gambar.repaint();
}
private void Pilihan8ActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
txtSatuan.setText("2300000");
txtNama.setText("Elegant Blue");
JLabel label_gambar7 = new JLabel(new ImageIcon("src/gambar/Elegant Blue.png"));
//x,y,lebar, tinggi
label_gambar7.setBounds(2, 2, 2, 2);
label_gambar7.setSize(620, 620);
panel_tempat_gambar.add(label_gambar7);
panel_tempat_gambar.revalidate();
panel_tempat_gambar.repaint();
}
private void Pilihan9ActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
txtSatuan.setText("2600000");
txtNama.setText("Global Retro");
JLabel label_gambar8 = new JLabel(new ImageIcon("src/gambar/Global Retro.png"));
//x,y,lebar, tinggi
label_gambar8.setBounds(2, 2, 2, 2);
label_gambar8.setSize(620, 620);
panel_tempat_gambar.add(label_gambar8);
panel_tempat_gambar.revalidate();
panel_tempat_gambar.repaint();
}
private void Pilihan10ActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
txtSatuan.setText("2400000");
txtNama.setText("Pink Fanta");
JLabel label_gambar9 = new JLabel(new ImageIcon("src/gambar/Pink Fanta.png"));
//x,y,lebar, tinggi
label_gambar9.setBounds(2, 2, 2, 2);
label_gambar9.setSize(620, 620);
panel_tempat_gambar.add(label_gambar9);
panel_tempat_gambar.revalidate();
panel_tempat_gambar.repaint();
}
private void Pilihan11ActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
txtSatuan.setText("3400000");
txtNama.setText("Silver Saleem");
JLabel label_gambar10 = new JLabel(new ImageIcon("src/gambar/Silver Saleem.png"));
//x,y,lebar, tinggi
label_gambar10.setBounds(2, 2, 2, 2);
label_gambar10.setSize(620, 620);
panel_tempat_gambar.add(label_gambar10);
panel_tempat_gambar.revalidate();
panel_tempat_gambar.repaint();
}
private void Pilihan12ActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
txtSatuan.setText("3000000");
txtNama.setText("Blue Moon");
JLabel label_gambar11 = new JLabel(new ImageIcon("src/gambar/Blue Cool.png"));
//x,y,lebar, tinggi
label_gambar11.setBounds(2, 2, 2, 2);
label_gambar11.setSize(620, 620);
panel_tempat_gambar.add(label_gambar11);
panel_tempat_gambar.revalidate();
panel_tempat_gambar.repaint();
}