RRRRHHHH_Code
Diff Revisions
c92b61 ...
vs
d30bcc ...
for ruralHouses client/src/gui/BookRuralHouseConfirmationWindow.java
|
@@ -79,10 +79,10 @@ |
79 |
79 |
|
jTextField3.setBounds(new Rectangle(180, 140, 115, 25)); |
80 |
80 |
|
jTextField3.setEditable(false); |
81 |
81 |
|
|
82 |
|
- |
jTextField3.setText(Float.toString(book.getPrice()) + " �"); |
|
82 |
+ |
jTextField3.setText(Float.toString(book.getOffer().getPrice()) + " �"); |
83 |
83 |
|
jTextField4.setBounds(new Rectangle(180, 175, 115, 25)); |
84 |
84 |
|
jTextField4.setEditable(false); |
85 |
|
- |
jTextField4.setText(Float.toString(book.getPrice()*(float)0.2) + " �"); |
|
85 |
+ |
jTextField4.setText(Float.toString(book.getOffer().getPrice()*(float)0.2) + " �"); |
86 |
86 |
|
this.getContentPane().add(jTextField4, null); |
87 |
87 |
|
this.getContentPane().add(jTextField3, null); |
88 |
88 |
|
this.getContentPane().add(jLabel5, null); |