Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Java Swing BoxView
- public class ListView extends BoxView {
- public static final int LISTVIEW_INSET_SIZE = 18;
- public ListView(Element elem) {
- super(elem, View.Y_AXIS);
- setInsets((short)(LISTVIEW_INSET_SIZE / 2),
- (short) LISTVIEW_INSET_SIZE, (short) 0,
- (short)(LISTVIEW_INSET_SIZE / 2));
- }
- public void paint(Graphics g, Shape alloc) {
- super.paint(g, alloc);
- }
- }
Add Comment
Please, Sign In to add comment