CVSROOT: /cvsroot/classpath Module name: classpath Branch: Changes by: Robert Schuster <[EMAIL PROTECTED]> 06/04/13 16:08:10
Modified files: . : ChangeLog examples/gnu/classpath/examples/swing: Demo.java TextAreaDemo.java TextFieldDemo.java Log message: 2006-04-13 Robert Schuster <[EMAIL PROTECTED]> * examples/gnu/classpath/examples/swing/TextAreaDemo.java: (createCustomColoredPanel): Set background color as demo intends, changed custom selection color to red. * examples/gnu/classpath/examples/swing/TextFieldDemo.java: Replaced various single variables with a Compound instance, added custom highlighter demo. (TextFieldDemo.DemoHighlightPainter): New class (taken from TextAreaDemo). (TextFieldDemo.Compound): New class. (createTextFieldCompound): New method. (createLeftAlignedPanel): Rewritten. (createRightAlignedPanel): Rewritten. (createCenteredPanel): Rewritten. (createCustomColoredPanel): Removed. (createCustomColoredPanel1): New method. (createCustomColoredPanel2): New method. (createCustomBordersPanel): New method. (createMiscPanel): Rewritten. (actionPerformed): Rewritten. (createContent): Add panels of new compounds to main panel, put main panel in a JScrollPane. * examples/gnu/classpath/examples/swing/Demo.java: (Demo): Put desktop in a scrollpane. (mkMenuBar): Check availability of MetalLookAndFeel.getCurrentTheme() method via reflection. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.7098&tr2=1.7099&r1=text&r2=text http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/examples/gnu/classpath/examples/swing/Demo.java.diff?tr1=1.42&tr2=1.43&r1=text&r2=text http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/examples/gnu/classpath/examples/swing/TextAreaDemo.java.diff?tr1=1.2&tr2=1.3&r1=text&r2=text http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/examples/gnu/classpath/examples/swing/TextFieldDemo.java.diff?tr1=1.4&tr2=1.5&r1=text&r2=text