full 3
This commit is contained in:
parent
defe5faee7
commit
2442b008f6
@ -35,11 +35,11 @@ public class FormBoat extends JDialog{
|
||||
gr.fillRect(0, 0, PictureBox.getWidth(), PictureBox.getHeight());
|
||||
if (_boat != null) {
|
||||
_boat.DrawTransport(gr);
|
||||
JLabel imageOfPlane = new JLabel();
|
||||
imageOfPlane.setPreferredSize(PictureBox.getSize());
|
||||
imageOfPlane.setMinimumSize(new Dimension(1, 1));
|
||||
imageOfPlane.setIcon(new ImageIcon(bmp));
|
||||
PictureBox.add(imageOfPlane,BorderLayout.CENTER);
|
||||
JLabel imageOfBoat = new JLabel();
|
||||
imageOfBoat.setPreferredSize(PictureBox.getSize());
|
||||
imageOfBoat.setMinimumSize(new Dimension(1, 1));
|
||||
imageOfBoat.setIcon(new ImageIcon(bmp));
|
||||
PictureBox.add(imageOfBoat,BorderLayout.CENTER);
|
||||
}
|
||||
validate();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user