[cp-patches] FYI: AccessibleJMenu implemented

2006-05-16 Thread Roman Kennke
I implemented the stub method in AccessibleJMenu. 2006-05-16 Roman Kennke [EMAIL PROTECTED] * javax/swing/JMenu.java (AccessibleJMenu.getAccessibleChildrenCount): Implemented. (AccessibleJMenu.getAccessibleChild): Implemented.

[cp-patches] FYI: Internal frame mouse cursor shape fixes.

2006-05-16 Thread Audrius Meskauskas
Mouse cursor must keep the resize shape while resizing. In the previous version it was spontaneously reverting to the default cursor and the areas of the XY resizes (at corners) were smaller than visible resize controls. 2006-05-16 Audrius Meskauskas [EMAIL PROTECTED] *

[cp-patches] FYI:Cursor drag shape fix for the internal frames.

2006-05-16 Thread Audrius Meskauskas
2006-05-16 Audrius Meskauskas [EMAIL PROTECTED] * javax/swing/plaf/basic/BasicInternalFrameUI.java (BorderListener.mouseDragged):Do not set cursor if the frame is being dragged. Index: BasicInternalFrameUI.java === RCS

[cp-patches] FYI: JOptionPane fix

2006-05-16 Thread Roman Kennke
I fixed the JOptionPane showInternal*** method. These have been totally broken. I did the following to fix it: - Added an event dispatch loop for the case when the call to startModal() blocks the event dispatch thread. We still need to dispatch events, but may not return from the method, so we

[cp-patches] FYI: JList fix - OilEd patch

2006-05-16 Thread Audrius Meskauskas
This patch makes the ontology editor OilEd from Manchester to work. 2006-05-16 Audrius Meskauskas [EMAIL PROTECTED] * javax/swing/JList.java (getSelectedValues): Ask the value for the indexed array element. Index: JList.java

[cp-patches] FYI: DefaultButtonModel.setSelected()

2006-05-16 Thread David Gilbert
This patch (committed) clears the ARMED and PRESSED states when the model changes from selected to not selected, to match the behaviour of the reference implementation: 2006-05-16 David Gilbert [EMAIL PROTECTED] * javax/swing/DefaultButtonModel.java (setSelected): If new

[cp-patches] FYI: JTable fix

2006-05-16 Thread Roman Kennke
We had a problem in JTable, when the table only has one row and you select a cell, only the single cell gets highlighted, not the entire row, as it should (at least in rowSelectionMode). The reason is that the other cells simply were not repainted. I tracked this to the valueChanged() method in

[cp-patches] Patch: java.awt.Window

2006-05-16 Thread Lillian Angel
I implemented the deprecated function applyResourceBundle. 2005-05-16 Lillian Angel [EMAIL PROTECTED] * java/awt/Window.java (applyResourceBundle): Implemented. Index: java/awt/Window.java === RCS file:

[cp-patches] FYI: JTable fixes and improvements

2006-05-16 Thread Roman Kennke
I fixed a couple of bugs in JTable and BasicTableUI, and added the variable row height feature. 2006-05-16 Roman Kennke [EMAIL PROTECTED] PR 26521 * javax/swing/JTable.java (rowHeights): New field. (initializeLocalVars): Call setRowHeigt instead of rowHeight=,

[cp-patches] FYI: DefaultButtonModel.setGroup()

2006-05-16 Thread David Gilbert
This patch (committed) removes the event notification from the setGroup() method: 2006-05-16 David Gilbert [EMAIL PROTECTED] * javax/swing/DefaultButtonModel.java (setGroup): Removed event notification. My Swing book (O'Reilly's Java Swing) lists the fields for which a

[cp-patches] Patch: StyleContext implementations

2006-05-16 Thread Lillian Angel
I implemented most of the stubs in StyleContext. I am not sure how to implement writeAttributeSet just yet, so I left this one. The API docs were pretty helpful here. 2006-05-16 Lillian Angel [EMAIL PROTECTED] * javax/swing/text/StyleContext.java: Changed staticAttributeKeys

Re: [cp-patches] FYI: JTable fixes and improvements

2006-05-16 Thread Audrius Meskauskas
Roman Kennke wrote: I fixed a couple of bugs in JTable and BasicTableUI, and added the variable row height feature. 2006-05-16 Roman Kennke [EMAIL PROTECTED] PR 26521 * javax/swing/JTable.java (rowHeights): New field. (initializeLocalVars): Call setRowHeigt

[cp-patches] FYI: fix for PR27626

2006-05-16 Thread Robert Schuster
Hi, the attached patch fixes the issue that clicking holding the mouse on a JButton, then dragging away and comming back did not set the rollover property to true again. This was caused by a very small glitch in the mouse handler for lightweight components: As long as the mouse is know to be in

[cp-patches] FYI: fix for PR26947

2006-05-16 Thread Robert Schuster
Hi, the attached patch add the double-click behavior on the title pane of a JInternalFrame: It should do minimize/maximize on the frame. Now it does. :) The ChangeLog: 2006-05-17 Robert Schuster [EMAIL PROTECTED] Fixes PR 26947. *