| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
* examples/gnu/classpath/examples/icons/badge.png: Added.
* examples/gnu/classpath/examples/swing/DemoDesktop.java: Use badge
from icon directory.
|
|
|
|
|
|
|
|
|
|
| |
* examples/gnu/classpath/examples/awt/AnimationApplet.java: New
example.
* examples/gnu/classpath/examples/swing/FillRect.java: Likewise.
* examples/gnu/classpath/examples/awt/Demo.java: Add
AnimationApplet demo.
* examples/gnu/classpath/examples/swing/Demo.java: Add FillRect
demo.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* examples/gnu/classpath/examples/swing/Demo.java:
(desktop): New field.
(mkMenuBar): Added new subdemos.
(mkButtonWorld): Removed.
(CheckCellRenderer): Moved to ListDemo.
(LabelCellRenderer): Moved to ListDemo.
(mkTreeWorld): Moved to TreeDemo.
(mkDesktopWorld): Removed.
(mkTabWorld): Moved to TabbedPaneDemo.
(mkTabbedPane): Removed.
(Demo): Replaced 'worlds' tabbed pane with desktop.
(PopupAction): Made class non-static.
(PopupAction.actionPerformed): Bring up subdemos in internal
frame.
(mkButtonBar): Added new demos.
(createDesktop): New method.
* examples/gnu/classpath/examples/swing/DemoDesktop.java: New class.
* examples/gnu/classpath/examples/swing/ListDemo.java: New demo.
* examples/gnu/classpath/examples/swing/TreeDemo.java: New demo.
* examples/gnu/classpath/examples/swing/TabbedPaneDemo.java: New demo.
* examples/gnu/classpath/examples/swing/badge.png: New image file.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* examples/gnu/classpath/examples/swing/ButtonDemo.java,
* examples/gnu/classpath/examples/swing/ComboBoxDemo.java,
* examples/gnu/classpath/examples/swing/FileChooserDemo.java,
* examples/gnu/classpath/examples/swing/ProgressBarDemo.java,
* examples/gnu/classpath/examples/swing/ScrollBarDemo.java,
* examples/gnu/classpath/examples/swing/SliderDemo.java,
* examples/gnu/classpath/examples/swing/SpinnerDemo.java,
* examples/gnu/classpath/examples/swing/TableDemo.java,
* examples/gnu/classpath/examples/swing/TextAreaDemo.java,
* examples/gnu/classpath/examples/swing/TextFieldDemo.java:
Reworked to implemented DemoFactory and lazy loading of Sub-demos.
* examples/gnu/classpath/examples/swing/Demo.java:
Cleaned up. Reworked handling of Sub-demos to load lazily.
* examples/gnu/classpath/examples/swing/DemoFactory.java:
New interface. Used for loading the subdemos lazily.
|
|
|
|
|
|
|
| |
* examples/gnu/classpath/examples/swing/Demo.java
Removed static initializer.
(mkMenuBar): Made method non-static. Added themes menu.
(ChangeThemeAction): New inner class, used to change themes.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gnu/classpath/debug/Component.java:
(IPP) New component for IPP debugging.
(EVERYTHING): Adapted to include IPP.
* javax/print/PrintServiceLookup.java:
(registerServiceProvider): New method.
(registerService): Likewise.
(lookupPrintServices): Likewise.
(lookupMultiDocPrintServices): Likewise.
(lookupDefaultPrintService): Likewise.
(static_initializer): Likewise.
(printServiceLookups): New field for found service providers.
(printServices): New field for application registered providers.
(systemProvider): New field for the system provider.
* javax/print/ServiceUI.java: New file.
* javax/print/package.html: Added more usage content.
* javax/print/event/package.html: Likewise.
* javax/print/attribute/package.html: Likewise.
* javax/print/attribute/standard/package.html: Likewise.
* gnu/javax/print/PrintUriException.java,
gnu/javax/print/PrintFlavorException.java,
gnu/javax/print/PrinterDialog.java,
gnu/javax/print/PrintAttributeException.java,
gnu/javax/print/CupsPrintServiceLookup.java,
gnu/javax/print/CupsServer.java,
gnu/javax/print/CupsPrintService.java,
gnu/javax/print/CupsMediaMapping.java,
gnu/javax/print/CupsIppOperation.java:
New implementation files of the Java Print Service API.
* gnu/javax/print/ipp/IppValueTag.java,
gnu/javax/print/ipp/MultiDocPrintJobImpl.java,
gnu/javax/print/ipp/IppStatusCode.java,
gnu/javax/print/ipp/IppUtilities.java,
gnu/javax/print/ipp/IppResponse.java,
gnu/javax/print/ipp/IppException.java,
gnu/javax/print/ipp/IppPrintService.java,
gnu/javax/print/ipp/IppRequest.java,
gnu/javax/print/ipp/IppMultiDocPrintService.java,
gnu/javax/print/ipp/IppDelimiterTag.java,
gnu/javax/print/ipp/DocPrintJobImpl.java:
New files of the IPP client implementation.
* gnu/javax/print/ipp/attribute/UnknownAttribute.java,
gnu/javax/print/ipp/attribute/StatusMessage.java,
gnu/javax/print/ipp/attribute/RequestedAttributes.java,
gnu/javax/print/ipp/attribute/NaturalLanguageSyntax.java,
gnu/javax/print/ipp/attribute/DocumentAccessError.java,
gnu/javax/print/ipp/attribute/DetailedStatusMessage.java,
gnu/javax/print/ipp/attribute/DefaultValueAttribute.java,
gnu/javax/print/ipp/attribute/CharsetSyntax.java:
New attribute syntax/role files of the printing implementation.
* gnu/javax/print/ipp/attribute/supported/UriSecuritySupported.java,
gnu/javax/print/ipp/attribute/supported/UriAuthenticationSupported.java,
gnu/javax/print/ipp/attribute/supported/SidesSupported.java,
gnu/javax/print/ipp/attribute/supported/PrintQualitySupported.java,
gnu/javax/print/ipp/attribute/supported/PrinterUriSupported.java,
gnu/javax/print/ipp/attribute/supported/PrinterResolutionSupported.java,
gnu/javax/print/ipp/attribute/supported/PageRangesSupported.java,
gnu/javax/print/ipp/attribute/supported/
OrientationRequestedSupported.java,
gnu/javax/print/ipp/attribute/supported/OperationsSupported.java,
gnu/javax/print/ipp/attribute/supported/
MultipleDocumentHandlingSupported.java,
gnu/javax/print/ipp/attribute/supported/
MultipleDocumentJobsSupported.java,
gnu/javax/print/ipp/attribute/supported/MediaSupported.java,
gnu/javax/print/ipp/attribute/supported/JobSheetsSupported.java,
gnu/javax/print/ipp/attribute/supported/JobHoldUntilSupported.java,
gnu/javax/print/ipp/attribute/supported/IppVersionsSupported.java,
gnu/javax/print/ipp/attribute/supported/
GeneratedNaturalLanguageSupported.java,
gnu/javax/print/ipp/attribute/supported/FinishingsSupported.java,
gnu/javax/print/ipp/attribute/supported/DocumentFormatSupported.java,
gnu/javax/print/ipp/attribute/supported/CompressionSupported.java,
gnu/javax/print/ipp/attribute/supported/CharsetSupported.java:
New supported attribute files.
* gnu/javax/print/ipp/attribute/printer/CharsetConfigured.java,
gnu/javax/print/ipp/attribute/printer/DocumentFormat.java,
gnu/javax/print/ipp/attribute/printer/MultipleOperationTimeOut.java,
gnu/javax/print/ipp/attribute/printer/NaturalLanguageConfigured.java,
gnu/javax/print/ipp/attribute/printer/PrinterCurrentTime.java,
gnu/javax/print/ipp/attribute/printer/PrinterDriverInstaller.java,
gnu/javax/print/ipp/attribute/printer/PrinterStateMessage.java,
gnu/javax/print/ipp/attribute/printer/PrinterUpTime.java:
New printer description attribute files.
* gnu/javax/print/ipp/attribute/job/AttributesCharset.java,
gnu/javax/print/ipp/attribute/job/AttributesNaturalLanguage.java,
gnu/javax/print/ipp/attribute/job/JobDetailedStatusMessages.java,
gnu/javax/print/ipp/attribute/job/JobDocumentAccessErrors.java,
gnu/javax/print/ipp/attribute/job/JobPrinterUri.java,
gnu/javax/print/ipp/attribute/job/JobId.java,
gnu/javax/print/ipp/attribute/job/JobMoreInfo.java,
gnu/javax/print/ipp/attribute/job/JobUri.java,
gnu/javax/print/ipp/attribute/job/JobStateMessage.java:
New job description attribute files.
* gnu/javax/print/ipp/attribute/defaults/CopiesDefault.java,
gnu/javax/print/ipp/attribute/defaults/DocumentFormatDefault.java,
gnu/javax/print/ipp/attribute/defaults/FinishingsDefault.java,
gnu/javax/print/ipp/attribute/defaults/JobHoldUntilDefault.java,
gnu/javax/print/ipp/attribute/defaults/JobPriorityDefault.java,
gnu/javax/print/ipp/attribute/defaults/JobSheetsDefault.java,
gnu/javax/print/ipp/attribute/defaults/MediaDefault.java,
gnu/javax/print/ipp/attribute/defaults/
MultipleDocumentHandlingDefault.java,
gnu/javax/print/ipp/attribute/defaults/NumberUpDefault.java,
gnu/javax/print/ipp/attribute/defaults/OrientationRequestedDefault.java,
gnu/javax/print/ipp/attribute/defaults/PrinterResolutionDefault.java,
gnu/javax/print/ipp/attribute/defaults/PrintQualityDefault.java,
gnu/javax/print/ipp/attribute/defaults/SidesDefault.java:
New default printing attribute files.
* resource/gnu/javax/print/PrinterDialog.properties: New file.
* resource/gnu/javax/print/PrinterDialog_de.properties: Likewise.
* examples/gnu/classpath/examples/print/Demo.java:
New demo application of the current implemented functionality.
|
|
|
|
|
|
|
|
| |
* examples/gnu/classpath/examples/swing/TextArea.java: New file.
* examples/gnu/classpath/examples/swing/Demo.java:
(mkButtonBar): Changed layout manager to GridLayout, added entry for
textarea example.
(mkMenuBar): Added entry for text area example.
|
|
|
|
|
|
| |
* examples/gnu/classpath/examples/swing/Demo.java:
(mkMenuBar): Added menu entry that will display the VM's name,
version and distributor.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* examples/gnu/classpath/examples/swing/Demo.java
(mkMenuBar): Removed 'Toggles', 'Checkbox' and 'Radio' actions,
connected 'Spinner' action to SpinnerDemo,
(mkCheckbox): Removed,
(mkRadio): Likewise,
(mkSpinner): Likewise,
(mkToggle): Likewise,
(mkButtonBar): Removed 'Toggles', 'Checkbox' and 'Radio' actions,
connected 'Spinner' action to SpinnerDemo.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* javax/swing/JSpinner.java
(DefaultEditor.DefaultEditor(JSpinner)): Add self to text field as a
PropertyChangeListener,
(DefaultEditor.getSpinner): Updated API docs,
(DefaultEditor.dismiss): Likewise,
(DefaultEditor.getTextField): Likewise,
(DefaultEditor.layoutContainer): Likewise,
(DefaultEditor.minimumLayoutSize): Likewise,
(DefaultEditor.preferredLayoutSize): Likewise,
(DefaultEditor.propertyChange): Implemented,
(DefaultEditor.stateChanged): Implemented,
(DefaultEditor.removeLayoutComponent): Updated API docs,
(DefaultEditor.addLayoutComponent): Likewise,
(NumberEditor.NumberEditor(JSpinner)): Set formatter for text field,
(NumberEditor.NumberEditor(JSpinner, String)): Likewise,
(NumberEditor.getFormat): Implemented,
(NumberEditor.getModel): Updated API docs,
(NumberEditorFormatter): New static inner class,
(ListEditor.getModel): Updated API docs,
(DateEditor.dateFormat): Removed,
(DateEditor.DateEditor(JSpinner)): Set formatter for text field,
(DateEditor.DateEditor(JSpinner, String)): Likewise,
(DateEditor.init): Removed,
(DateEditor.getFormat): Reimplemented,
(DateEditorFormatter): New static inner class,
(ModelListener): New inner class,
(model): Updated API docs,
(editor): Likewise,
(listener): Removed,
(JSpinner()): Updated API docs,
(JSpinner(SpinnerModel)): Set up ModelListener,
(setEditor): Fire property change,
(getModel): Updated API docs,
(setModel): Removed check for null editor,
(setValue): Updated API docs,
(getUIClassID): Updated API docs,
(createEditor): Handle SpinnerListModel case,
* javax/swing/plaf/basic/BasicSpinnerUI.java
(createUI): Updated API docs,
(createPropertyChangeListener): Added FIXME,
(installDefaults): Set text field border to null,
(DefaultLayoutManager): Updated API docs,
(DefaultLayoutManager.layoutContainer): Modified layout,
(DefaultLayoutManager.minimumLayoutSize): Ignore button heights,
(DefaultLayoutManager.preferredLayoutSize): Likewise,
(DefaultLayoutManager.removeLayoutComponent): Removed tabs,
(DefaultLayoutManager.addLayoutComponent): Likewise,
(DefaultLayoutManager.minSize): Renamed prefSize,
(DefaultLayoutManager.setBounds): Reformatted,
(DefaultLayoutManager.editor): Added API docs,
(DefaultLayoutManager.next): Likewise,
(DefaultLayoutManager.previous): Likewise,
* javax/swing/plaf/metal/MetalLookAndFeel.java
(initComponentDefaults): Added entry for 'Spinner.border',
* examples/gnu/classpath/examples/swing/SpinnerDemo.java: New file.
----------------------------------------------------------------------
|
|
|
|
|
|
|
| |
* examples/gnu/classpath/examples/swing/TableDemo.java
(TModel, createContent): Explain which value appears in the header.
* javax/swing/JTable.java (setColumnModel): Only set the
column header value if the getHeaderValue() returns null.
|
|
|
|
|
|
|
| |
* examples/gnu/classpath/examples/swing/TableDemo.java:
Making the columns variable width.
* javax/swing/JTable.java (distributeSpill, doLayout):
Call getPreferredSize and not getSize().
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* examples/gnu/classpath/examples/CORBA/swing/x5/_GameManagerImpl_Tie.java,
examples/gnu/classpath/examples/CORBA/swing/x5/_PlayerImpl_Tie.java:
Documenting the code generator.
* gnu/CORBA/IOR.java (toStringFormatted,
CodeSet_component.toStringFormatted): New methods.
* tools/Makefile.am (TOOLS_JAVA_FILES, READMES): Rewritten.
* tools/gnu/classpath/tools/giop/README: Rewritten.
* tools/gnu/classpath/tools/giop/GRMIC.java (main): Rewritten.
(printHelpAndExit): Removed.
*tools/gnu/classpath/tools/giop/IorParser.java,
tools/gnu/classpath/tools/giop/IorParser.txt,
tools/gnu/classpath/tools/giop/NameService.java,
tools/gnu/classpath/tools/giop/NamingService.txt,
tools/gnu/classpath/tools/HelpPrinter.java: New files.
NEWS: Added note about GIOP tools.
|
|
|
|
|
| |
* examples/gnu/classpath/examples/CORBA/swing/x5/PlayingDesk.java
(friendsMove): Call repaint() only after endOfGame is assigned.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* examples/gnu/classpath/examples/swing/ButtonDemo.java
(ButtonDemo): Move content initialisation to new method,
(initFrameContent): New method,
(main): Call initFrameContent(),
* examples/gnu/classpath/examples/swing/ComboBoxDemo.java: Likewise,
* examples/gnu/classpath/examples/swing/FileChooserDemo.java: Likewise,
* examples/gnu/classpath/examples/swing/ScrollBarDemo.java: Likewise,
* examples/gnu/classpath/examples/swing/SliderDemo.java: Likewise,
* examples/gnu/classpath/examples/swing/TextFieldDemo.java: Likewise.
|
|
|
|
|
|
| |
* examples/gnu/classpath/examples/swing/Demo.java
(Demo): Set frame size,
(mkButtonBar): Removed stacked sub-panels.
|
|
|
|
|
| |
* gnu/classpath/examples/swing/Demo.java (mkTree): Make a larger tree.
(addChildren): New method.
|
|
|
|
| |
* examples/gnu/classpath/examples/swing/MiniDemo.java: New file.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* examples/gnu/classpath/examples/swing/ButtonDemo.java
(createContent): Only create new content if we don't have one
already.
* examples/gnu/classpath/examples/swing/ComboBoxDemo.java
(createContent): Only create new content if we don't have one
already.
* examples/gnu/classpath/examples/swing/FileChooserDemo.java
(createContent): Only create new content if we don't have one
already.
* examples/gnu/classpath/examples/swing/ScrollBarDemo.java
(createContent): Only create new content if we don't have one
already.
* examples/gnu/classpath/examples/swing/SliderDemo.java
(createContent): Only create new content if we don't have one
already.
* examples/gnu/classpath/examples/swing/TableDemo.java
(createContent): Only create new content if we don't have one
already.
* examples/gnu/classpath/examples/swing/TextFieldDemo.java
(createContent): Only create new content if we don't have one
already.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* javax/swing/JTable.java (editingStopped, editingCancelled):
Repaint the edited cell.
(setValueAt): Do not add the value object to this container.
(editorTimer, rowBeingEdited, columnBeingEdited, oldCellValue): Removed.
(editingStopped): Use editingRow, editingColumn and not
rowBeingEdited, columnBeingEdited. (editValueAt): rewritten.
(doLayout): Move the editor component, if present, into the new
location and call repaint(). (moveToCellBeingEdited): new method.
(TableTextField): new inner class.
(getDefaultEditor): Instantiante TableTextField, not JTextField.
(setValueAt): Repaint the changed segment.
(createDefaultEditors): Implemented.
(BooleanCellRenderer): Center the checkbox and use the default foreground
and background colors.
* javax/swing/plaf/basic/BasicTableUI.java
(paintCell): Do not paint the caret here. Do not accept unused parameters.
(paint): No need to allocate rectangle for each cell.
* javax/swing/DefaultCellEditor.java: Rewritten.
* examples/gnu/classpath/examples/swing/Demo.java (mkTable):
Use TableDemo.java table example.
* examples/gnu/classpath/examples/swing/TableDemo.java: New file.
|
|
|
|
|
| |
Fixes bug #25711
* examples/Makefile.am: Corrected DESTDIR install paths.
|
|
|
|
|
|
|
|
| |
PR 24911
* classpath/examples/Makefile.am
(EXAMPLE_JAVA_FILES): Extended by /*/*/*.java and /*/*/*/*.java.
(READMES): New category.
(ALL_EXAMPLE_FILES): Extended by READMES category.
|
|
|
|
|
| |
* examples/gnu/classpath/examples/CORBA/swing/README.html:
Added note about the build.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* examples/gnu/classpath/examples/CORBA/swing/README.html,
examples/gnu/classpath/examples/CORBA/swing/x5/CanvasWorld.java,
examples/gnu/classpath/examples/CORBA/swing/x5/ChatConstants.java,
examples/gnu/classpath/examples/CORBA/swing/x5/ClientFrame.java,
examples/gnu/classpath/examples/CORBA/swing/x5/Demo.java,
examples/gnu/classpath/examples/CORBA/swing/x5/GameManager.java,
examples/gnu/classpath/examples/CORBA/swing/x5/GameManagerImpl.java,
examples/gnu/classpath/examples/CORBA/swing/x5/IorReader.java,
examples/gnu/classpath/examples/CORBA/swing/x5/OrbStarter.java,
examples/gnu/classpath/examples/CORBA/swing/x5/Player.java,
examples/gnu/classpath/examples/CORBA/swing/x5/PlayerImpl.java,
examples/gnu/classpath/examples/CORBA/swing/x5/PlayingDesk.java,
examples/gnu/classpath/examples/CORBA/swing/x5/State.java,
examples/gnu/classpath/examples/CORBA/swing/x5/X5Server.java,
examples/gnu/classpath/examples/CORBA/swing/x5/_GameManagerImpl_Tie.java,
examples/gnu/classpath/examples/CORBA/swing/x5/_GameManager_Stub.java,
examples/gnu/classpath/examples/CORBA/swing/x5/_PlayerImpl_Tie.java,
examples/gnu/classpath/examples/CORBA/swing/x5/_Player_Stub.java:
New files.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* examples/gnu/classpath/examples/swing/Demo.java
(static_initializer): Set the L&F and theme explicitly for the
default option, because JDK1.4 and JDK1.5 have different defaults.
(mkMenuBar): For the slider demo, trigger the new SliderDemo
class. Added ProgressBarDemo to menu.
(mkSliders): Removed obsolete slider demo.
(mkButtonBar): Added ProgressBar demo.
* examples/gnu/classpath/examples/swing/ProgressBarDemo.java:
New file. Demonstrates the JProgressBar.
|
|
|
|
|
|
|
| |
* examples/gnu/classpath/examples/swing/Demo.java
(mkMenuBar): added file chooser item,
(mkButtonBar): split buttons into two rows, added 'FileChooser' button,
* examples/gnu/classpath/examples/swing/FileChooserDemo.java: New file.
|
|
|
|
|
|
|
| |
* examples/gnu/classpath/examples/swing/GNULookAndFeel.java
(getDefaults): Added icons for checkboxes and radiobutton.
(CheckBoxIcon): New class, implemented.
(RadioButtonIcon): New class, implemented.
|
|
|
|
|
|
|
| |
* examples/gnu/classpath/examples/swing/TextFieldDemo.java: New file.
Demonstrates the JTextFields in various states.
* examples/gnu/classpath/examples/swing/Demo.java: Replaced the
old textfield demo with the new one.
|
|
|
|
| |
JOptionPane to select the laf if not explicitly set.
|
|
|
|
| |
and feel before showing dialog. Clean up message text.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* examples/gnu/classpath/examples/swing/ButtonDemo.java
(ButtonDemo): add closePanel after content is created,
(createContent): don't add closePanel here,
* examples/gnu/classpath/examples/swing/ComboBoxDemo.java
(ButtonDemo): add closePanel after content is created,
(createContent): don't add closePanel here,
* examples/gnu/classpath/examples/swing/ScrollBarDemo.java
(ButtonDemo): add closePanel after content is created,
(createContent): don't add closePanel here,
* examples/gnu/classpath/examples/swing/SliderDemo.java
(ButtonDemo): add closePanel after content is created,
(createContent): add separate checkBoxPanel but don't add closePanel
here.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* examples/gnu/classpath/examples/CORBA/SimpleCommunication/comServer.java,
examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/passThisHolder.java,
examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/returnThisHolder.java,
examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/_comTesterImplBase.java,
examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/_comTesterStub.java,
examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/comServant.java,
examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/comTester.java,
examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/node.java,
examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/nodeHelper.java,
examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/nodeHolder.java,
examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/ourUserException.java,
examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/ourUserExceptionHelper.java,
examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/passThis.java,
examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/passThisHelper.java,
examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/returnThis.java,
examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/returnThisHelper.java:
Deleted.
* examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/StructureToPassHolder.java
examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/_DemoTesterImplBase.java
examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/_DemoTesterStub.java
examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/DemoServant.java
examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/DemoTester.java
examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/TreeNode.java
examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/TreeNodeHelper.java
examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/TreeNodeHolder.java
examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/WeThrowThisException.java
examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/WeThrowThisExceptionHelper.java
examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/StructureToPassHelper.java
examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/StructureToReturn.java
examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/StructureToPass.java
examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/StructureToReturnHelper.java
examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/StructureToReturnHolder.java:
New files.
* examples/gnu/classpath/examples/CORBA/SimpleCommunication/comServer.java,
examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/DirectTest.java,
examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/RequestTest.java:
References updated.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* examples/gnu/classpath/examples/swing/Demo.java
(mkMenuBar): Replaced some demos with new external demo programs,
namely the button demo, the scrollbar demo, the combobox demo and
the slider demo.
(mkButtonBar): Likewise.
* examples/gnu/classpath/examples/swing/ButtonDemo.java
(createContent): Made package private so that the Demo.java can
access it.
* examples/gnu/classpath/examples/swing/ComboBoxDemo.java
(createContent): Made package private so that the Demo.java can
access it.
* examples/gnu/classpath/examples/swing/ScrollBarDemo.java
(createContent): Made package private so that the Demo.java can
access it.
* examples/gnu/classpath/examples/swing/SliderDemo.java
(createContent): Made package private so that the Demo.java can
access it.
|
|
|
|
|
| |
* gnu/classpath/examples/CORBA/NamingService/Demo.java (main):
Make arguments not final.
|
|
|
|
| |
* examples/gnu/classpath/examples/swing/ScrollBarDemo.java: New file.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* examples/gnu/classpath/examples/swing/Demo.java
(mkRadio): Changed to create a panel that contains
2 buttons in a ButtonGroup.
* javax/swing/ButtonGroup.java
(add): Fixed to initialize sel if the newly added
button is already selected.
* javax/swing/JToggleButton.java
(isSelected): Implemented.
(setSelected): Implemented.
* javax/swing/plaf/metal/MetalRadioButtonUI.java
(paintFocus): Fixed size of border drawn around the
radio button.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* examples/gnu/classpath/examples/swing/ComboBoxDemo.java:
(CustomCellRenderer): new inner class,
(comboState6): new field,
(combo11): new field,
(combo12): new field,
(createContent): add panel from createPanel6(),
(createPanel6): new method,
(actionPerformed): update state for new JComboBoxes,
* javax/swing/plaf/basic/BasicComboBoxUI.java
(installComponents): don't create arrowButton until after listBox is
created, set listBox to the JList created by the popup,
* javax/swing/plaf/metal/MetalComboBoxButton.java:
(MetalComboBoxButton(JComboBox, Icon, boolean, CellRendererPane,
JList)): set margins to zero,
(paintComponent): use list cell renderer to paint button content,
* javax/swing/plaf/metal/MetalLookAndFeel.java
(initComponentDefaults): add 'List.font' default.
|
|
|
|
|
| |
* examples/gnu/classpath/examples/CORBA/SimpleCommunication/Demo.java
(main): Message removed from the loop.
|
|
|
|
|
| |
* examples/gnu/classpath/examples/CORBA/SimpleCommunication/Demo.java (main):
3 sec pause replaced by while(..) loop.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* INSTALL: Describe midi provider dependencies.
* native/jni/midi-dssi/README: New file.
* LICENSE (terms): Add notice about code copied from the DSSI
distribution.
* examples/gnu/classpath/examples/midi/Demo.java: New file.
* native/jni/midi-dssi/dssi_data.h (dssi_data): Add control_count,
control_port_map, control_value_map, sample_rate, and
control_values fields.
* native/jni/midi-dssi/gnu_javax_sound_midi_dssi_DSSISynthesizer.c
(DEBUG_DSSI_PROVIDER): New macro.
(get_port_default): New function.
(set_control): New function.
(Java_gnu_javax_sound_midi_dssi_DSSISynthesizer_open_1): Remove
debug output. Reformat. Allocate the control ports and assign
proper default values.
(Java_gnu_javax_sound_midi_dssi_DSSISynthesizer_noteOn_1): Use
JLONG_TO_PTR.
(Java_gnu_javax_sound_midi_dssi_DSSISynthesizer_noteOff_1): Ditto.
* gnu/javax/sound/midi/dssi/DSSISynthesizer.java
(Channel.controlChange): Implement.
(controlChange_): New native method.
* include/gnu_javax_sound_midi_dssi_DSSISynthesizer.h: Rebuilt.
* gnu/javax/sound/midi/alsa/AlsaMidiSequencerDevice.java: Make
instance final.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* javax/swing/plaf/basic/BasicToolTipUI.java
(accText): removed,
(accDeliminator): removed,
(accFont): removed,
(accFore): removed,
(getPreferredSize): removed accelerator code (now in MetalToolTipUI),
(getAcceleratorText): removed (equivalent is now in MetalToolTipUI),
(paint): removed accelerator painting,
* javax/swing/plaf/metal/MetalToolTipUI.java
(padSpaceBetweenStrings): new field,
(MetalToolTipUI): initialise defaults,
(getAcceleratorString): new method,
(installUI): new method,
(uninstallUI): new method,
(isAcceleratorHidden): new method,
(getPreferredSize): new method,
(paint): new method,
(fetchAcceleratorString): new private method,
(acceleratorToString): new private method,
* examples/gnu/classpath/examples/swing/Demo.java
(mkButton): set tool tip.
----------------------------------------------------------------------
|
|
|
|
|
| |
* examples/gnu/classpath/examples/swing/SliderDemo.java:
New file.
|
|
|
|
|
|
|
|
|
|
|
| |
* examples/gnu/classpath/examples/swing/ButtonDemo.java
(createContent): add a close button,
(actionPerformed): perform close action,
* examples/gnu/classpath/examples/swing/ComboBoxDemo.java
(createContent): add a close button,
(actionPerformed): perform close action.
----------------------------------------------------------------------
|
|
|
|
|
| |
* examples/gnu/classpath/examples/swing/ComboBoxDemo.java: new demo.
----------------------------------------------------------------------
|
|
|
|
|
| |
* examples/gnu/classpath/examples/swing/ButtonDemo.java: new
file.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* examples/gnu/classpath/examples/swing/Demo.java
(mkDesktopWorld): add palette style frame,
* javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
(closeIcon): new field,
(installListeners): call createPropertyChangeListener() to create the
new listener to allow for overriding,
(installDefaults): set the font in the title, read closeIcon from
defaults,
(uninstallDefaults): clear closeIcon,
(setButtonIcons): set icon for closeButton,
(paintComponent): set font for title,
* javax/swing/plaf/metal/MetalInternalFrameTitlePane.java
(MetalInternalFrameTitlePanePropertyChangeHandler): new support class,
(MetalTitlePaneLayout): likewise,
(paletteTitleHeight): initialise from defaults elsewhere,
(title): new private field,
(installDefaults): initialise various defaults,
(uninstallDefaults): clear defaults,
(addSubComponents): add sub-components used in this look and feel,
(createLayout): return new instance of MetalTitlePaneLayout,
(paintPalette): renders the title pane using the palette style,
(paintComponent): call paintPalette() if the internal frame uses the
palette style, otherwise handle painting without calling superclass
anymore,
(setPalette): update the icon visibility,
(createPropertyChangeListener): return a new change handler,
* javax/swing/plaf/metal/MetalInternalFrameUI.java
(IS_PALETTE): new static field,
(installUI): check IS_PALETTE property,
(createNorthPane): removed empty border,
(setPalette): update border as appropriate,
(paletteListener): new private field,
(installListeners): install a listener to handle changes in the
IS_PALETTE property,
(uninstallListeners): clear the listener from installListeners(),
* javax/swing/plaf/metal/MetalLookAndFeel.java
(initComponentDefaults): added defaults for 'DesktopIcon.border',
'InternalFrame.paletteBorder', 'InternalFrame.paletteCloseIcon', and
'InternalFrame.paletteTitleHeight'.
|
|
|
|
| |
New file.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* examples/.cvsignore: Add Makefile.jawt.
* examples/Makefile.am (EXAMPLE_C_FILES): New variable.
(ALL_EXAMPLE_FILES): Likewise.
(install-data-local): Use ALL_EXAMPLE_FILES and add Makefile.jawt.
(uninstall-local): Likewise.
(EXTRA_DIST): Add Makefile.awt.in.
* examples/Makefile.jawt.in: New file.
* examples/README: Add jawt instructions.
* examples/gnu/classpath/examples/jawt/DemoJAWT.c
(Java_DemoJAWT_paint): Rename to
Java_gnu_classpath_examples_jawt_DemoJAWT_paintIt.
(Java_gnu_classpath_examples_jawt_DemoJAWT_paintIt): Flip foreground
color based on on parameter.
* examples/gnu/classpath/examples/jawt/DemoJAWT.java (paint): Renamed
paintIt.
(paint): Call paintIt.
(on): New boolean field.
(main): Add Frame name, switch on variable every 0.5 seconds and call
Frame.repaint().
* examples/gnu/classpath/examples/jawt/Makefile: Removed.
* include/Makefile.am (include_HEADERS): New for jni.h, jni_md.h,
jawt.h and jawt_md.h.
|