Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Won't Fix
-
None
-
None
-
None
Description
javax.swing.plaf.basic.BasicTabbedPaneUI.getRolloverTab() returns -1 on Harmony, when RI reurns 0.
Seems that this is a bug in RI, as specification says that getRolloverTab() should return -1 if the mouse is no longer over any tab.
Test to reproduce:
import javax.swing.plaf.basic.*;
class lBasicTabbedPaneUI extends BasicTabbedPaneUI {
public lBasicTabbedPaneUI()
public int getRolloverTab()
{ return super.getRolloverTab(); }}
public class TestForBugReproduce
{
public static void main(String args[])
}
Output on RI:
================
returnValue = 0
Output on Harmony:
================
returnValue = -1