- jLabel3.setText("You ought to transfer 20% of the total price of the booking in the next three days.");
- jLabel3.setBounds(new Rectangle(20, 105, 370, 25));
- jButton1.setText("Accept");
- jButton1.setBounds(new Rectangle(135, 235, 130, 30));
- jButton1.addActionListener(new ActionListener() {
- public void actionPerformed(ActionEvent e) {
- jButton1_actionPerformed(e);
- }
- });
- jLabel4.setText("Total:");
- jLabel4.setBounds(new Rectangle(70, 140, 85, 25));
- jLabel5.setText("Deposit amount:");
- jLabel5.setBounds(new Rectangle(70, 175, 100, 25));
- jTextField3.setBounds(new Rectangle(180, 140, 115, 25));
- jTextField3.setEditable(false);
+ jTextField2.setText(Integer.toString(book.getBookNumber()));
+
+ jLabel3.setText("You must deposit 20% of the total ammount of a book in the next three days.");
+ jLabel3.setBounds(new Rectangle(20, 105, 370, 25));
+ jButton1.setText("Close");
+ jButton1.setBounds(new Rectangle(135, 235, 130, 30));
+ jButton1.addActionListener(new ActionListener()
+ {
+ public void actionPerformed(ActionEvent e)
+ {
+ jButton1_actionPerformed(e);
+ }
+ });
+ jLabel4.setText("Total:");
+ jLabel4.setBounds(new Rectangle(70, 140, 85, 25));
+ jLabel5.setText("Deposit ammount:");
+ jLabel5.setBounds(new Rectangle(70, 175, 100, 25));
+ jTextField3.setBounds(new Rectangle(180, 140, 115, 25));
+ jTextField3.setEditable(false);