*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
/**
* Adjustable Insets for this component. This has the effect of adding a
* black border around the drawing area.
*/
/**
* Adjustable Insets for this component. This has the effect of adding a
* black border around the drawing area.
*/
- Insets adjustInsets = new Insets(BORDER, BORDER, BORDER, BORDER);
+ Insets adjustInsets = new Insets(BORDER + 5, BORDER, BORDER, BORDER);
// ------------------------------------------------------------------------
// Constructors -----------------------------------------------------------
// ------------------------------------------------------------------------
// Constructors -----------------------------------------------------------
frame.setSize(width + insets.left + insets.right,
height + insets.top + insets.bottom);
} else {
frame.setSize(width + insets.left + insets.right,
height + insets.top + insets.bottom);
} else {
component.setSize(width + insets.left + insets.right,
height + insets.top + insets.bottom);
}
component.setSize(width + insets.left + insets.right,
height + insets.top + insets.bottom);
}