mirror of
https://github.com/macocianradu/javaGUItoolkit.git
synced 2026-03-18 21:50:04 +00:00
added key events,
moved create thread in window constructor, added point2 hashcode added gridpanel without merge
This commit is contained in:
@@ -115,6 +115,11 @@ public class Panel extends Visual {
|
||||
g.setColor(getBackgroundColor());
|
||||
g.fillRect(0, 0, getWidth(), getHeight());
|
||||
|
||||
if(getHasBorder()) {
|
||||
g.setColor(getBorderColor());
|
||||
g.drawRect(0, 0, getWidth() - 1, getHeight() - 1);
|
||||
}
|
||||
|
||||
g.dispose();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user