Extension SDK 10.1.2

oracle.ide.util
Class JDK

java.lang.Object
  extended byoracle.ide.util.JDK

public final class JDK
extends java.lang.Object


Field Summary
static boolean HAS_BUG_2435195
          bug2435195 - JDK1.4:RELOAD EXTERNALLY MODIFIED FILES FREEZES JDEV
static boolean HAS_BUG_2645826
          ORA2645826 - OBJECT NAMES DIALOG STATIC TEXT AND EDIT BOXES A BIT TOO LEFT JUSTIFIED On Windows XP, GetStockObject(SYSTEM_FONT) does not return Tahoma as documented.
static boolean HAS_BUG_4199374
          JavaSoft bug#4199374 Component.requestFocus() fails for components on JWindow
static boolean HAS_BUG_4336775
          JavaSoft bug#4336775 - JMenu steals focus from JInternalFrame and never restores it Sun fixed that one
static boolean HAS_BUG_4381959
          JavaSoft bug#4381959 & bug#4181306 - focus not handled correctly if two modal dialogs invoked in the same event handler.
static boolean HAS_BUG_4390137
          JS4390137 - Frame is not getting visible in Linux once hidden It looks like this bug has been fixed in the JDK.
static boolean HAS_BUG_4502288
          JavaSoft bug#4502288 - focus not switching to tabbedpane on first mouse click when switching tabs Another one closed as not-a-bug.
static boolean HAS_BUG_4519411
          JavaSoft bug#4519411 - Printing of Applets has been broken
static boolean HAS_BUG_4551985
          ORA2566491 - TOP LEVEL MENUS ARE WHITE UNDER XP JS4551985 - Background color of Menu is different from that of MenuBar (XP only) Sun's evaluation is worth being mentioned: This is not a bug.
static boolean HAS_BUG_4647105
          JavaSoft bug#4647105 - JMenu layout incorrect on dual Monitor systems on secondary monitor Oracle bug#2488343 - IDE MENUS INCORRECTLY PLACED WITH DUAL MONITORS
static boolean HAS_BUG_4674205
          JS4674205 - Windows L&F: JTable and JTree selection should not be framed in yellow We work around this bug for JTable.
static boolean HAS_BUG_4749792
          JS4749792 - 1.4REGRESSION: Split pane border is not painted properly with windows L&F ORA2381846 - JDK1.4: : BORDER MISSING RIGHT AND BOTTOM EDGES IN ALL PREFERENCES PANES The Windows L&F does not properly render splitpane border highlights under JDK 1.4.
static boolean HAS_BUG_4753146
          JS4753146 - 1.4.1 REGRESSION: Mnemonics no longer show underlines in Windows L&F
static boolean HAS_BUG_4765282
          ORA2627653 - URLCHOOSER SCROLLBAR(S) TAKES THE FOCUS JS4765282 - Scrollbars for JScrollPane receive focus when used with JTextArea Scrollbars are part of the tab focus cycle by default under jdk 1.4, while this was not true under earlier jdk's.
static boolean HAS_BUG_4776532
          JavaSoft bug#4776532 - Atl-Tab transfers focus into JMenuBar under Windows LAF Status is "Closed, not reproducible" ==> Won't be fixed soon I guess.
static boolean HAS_BUG_4812991
          JS4812991 File.createNewFile() returns success when file does not exist but cannot be created because the file name is too long.
static boolean HAS_BUG_GETKEYMODIFIERSTEXT
          KeyEvent.getKeyModifiersText uses hardcoded separators and not those specified by the UIManager
static boolean HAS_BUG_J2D_ROTATE
          Deprecated. since 9.0.3.811
static boolean HAS_BUG_MENU_RESTORES_WRONG_FOCUS
          When a menu is dismissed, it restores the focus to the component from which the focus was stolen.
static boolean HAS_BUG_METAL_CURSOR_SHAPE
          ORA3055135 - LINUX: WHEN OPENING THE GALLERY, THE CURSOR IS OF THE WRONG SHAPE.
static boolean HAS_BUG_METAL_MAXIMIZE_DOES_NOT_WORK_ON_LINUX
          ORA3145162 - OTN: MAXIMIZE BUTTON DOES NOT WORK ON LINUX.
static boolean HAS_BUG_NOREMOVEFOCUS
          Could not find the corresponding JavaSoft bug (there are so many focus bugs !) JComponent.removeNotify calls clearFocusOwners() before to remove the component to ensure the focus is not a a component that is no longer in the chain.
static boolean HAS_BUG_TABBEDPANE_NPE_JAWS
          JTabbedPane throws NPE with JAWS because of a null MouseEvent passed to getTooltipText() JTabbedPane does not check for a null event.
static boolean HAS_BUG_TYPE_DOES_NOT_SCROLL_IN_JLIST
          4654916 - JList and JTree should scroll automatically with first-letter navigation.
static boolean IS_JDK14
          Generic flag to tag all the places that must be reviewed when we stop the support of JDK 1.3 for running the product.
static boolean IS_JDK141
           
static boolean IS_JDK142
           
static boolean IS_JDK15
           
static boolean SEARCH_ACCELERATORS_IN_MENUS
          ORA2632937 - NEW WINDOWCOMES UP EVEN EO, ASSOCIATION, VIEW LINK AND OTHER WIZARDS.
static boolean WA_ORABUG_1963899
          ORA1963899 - JDEV ON LINUX USING KDE2: PART OF IDE WINDOW IS GRAYED OUT, DISABLED
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

IS_JDK14

public static final boolean IS_JDK14
Generic flag to tag all the places that must be reviewed when we stop the support of JDK 1.3 for running the product.


IS_JDK141

public static final boolean IS_JDK141

IS_JDK142

public static final boolean IS_JDK142

IS_JDK15

public static final boolean IS_JDK15

HAS_BUG_4199374

public static final boolean HAS_BUG_4199374
JavaSoft bug#4199374 Component.requestFocus() fails for components on JWindow


HAS_BUG_J2D_ROTATE

public static final boolean HAS_BUG_J2D_ROTATE
Deprecated. since 9.0.3.811

(could not find a corresponding bug in the JavaSoft bug database. Graphics2D.drawString() draws out of bounds after g.rotate(-Math.PI/2,0,0);
Only known version to have the bug is 1.3.0.2


HAS_BUG_NOREMOVEFOCUS

public static final boolean HAS_BUG_NOREMOVEFOCUS
Could not find the corresponding JavaSoft bug (there are so many focus bugs !) JComponent.removeNotify calls clearFocusOwners() before to remove the component to ensure the focus is not a a component that is no longer in the chain. However, it does not clear the focus if the removed component is parent of the focused component.


HAS_BUG_4336775

public static final boolean HAS_BUG_4336775
JavaSoft bug#4336775 - JMenu steals focus from JInternalFrame and never restores it Sun fixed that one


HAS_BUG_4776532

public static final boolean HAS_BUG_4776532
JavaSoft bug#4776532 - Atl-Tab transfers focus into JMenuBar under Windows LAF Status is "Closed, not reproducible" ==> Won't be fixed soon I guess.


HAS_BUG_GETKEYMODIFIERSTEXT

public static final boolean HAS_BUG_GETKEYMODIFIERSTEXT
KeyEvent.getKeyModifiersText uses hardcoded separators and not those specified by the UIManager


HAS_BUG_4502288

public static final boolean HAS_BUG_4502288
JavaSoft bug#4502288 - focus not switching to tabbedpane on first mouse click when switching tabs Another one closed as not-a-bug.


HAS_BUG_TABBEDPANE_NPE_JAWS

public static final boolean HAS_BUG_TABBEDPANE_NPE_JAWS
JTabbedPane throws NPE with JAWS because of a null MouseEvent passed to getTooltipText() JTabbedPane does not check for a null event. This method gets called with a null event by the AccessibilityBridge.


HAS_BUG_4381959

public static final boolean HAS_BUG_4381959
JavaSoft bug#4381959 & bug#4181306 - focus not handled correctly if two modal dialogs invoked in the same event handler.


HAS_BUG_2435195

public static final boolean HAS_BUG_2435195
bug2435195 - JDK1.4:RELOAD EXTERNALLY MODIFIED FILES FREEZES JDEV


HAS_BUG_4519411

public static final boolean HAS_BUG_4519411
JavaSoft bug#4519411 - Printing of Applets has been broken


HAS_BUG_4647105

public static final boolean HAS_BUG_4647105
JavaSoft bug#4647105 - JMenu layout incorrect on dual Monitor systems on secondary monitor Oracle bug#2488343 - IDE MENUS INCORRECTLY PLACED WITH DUAL MONITORS


HAS_BUG_4765282

public static final boolean HAS_BUG_4765282
ORA2627653 - URLCHOOSER SCROLLBAR(S) TAKES THE FOCUS JS4765282 - Scrollbars for JScrollPane receive focus when used with JTextArea Scrollbars are part of the tab focus cycle by default under jdk 1.4, while this was not true under earlier jdk's.


WA_ORABUG_1963899

public static final boolean WA_ORABUG_1963899
ORA1963899 - JDEV ON LINUX USING KDE2: PART OF IDE WINDOW IS GRAYED OUT, DISABLED


HAS_BUG_4390137

public static final boolean HAS_BUG_4390137
JS4390137 - Frame is not getting visible in Linux once hidden It looks like this bug has been fixed in the JDK. Enabling the WA now causes the floating dockable windows to be grayed when moved with the mouse so it is better to leave it off.


HAS_BUG_4674205

public static final boolean HAS_BUG_4674205
JS4674205 - Windows L&F: JTable and JTree selection should not be framed in yellow We work around this bug for JTable.


HAS_BUG_4551985

public static final boolean HAS_BUG_4551985
ORA2566491 - TOP LEVEL MENUS ARE WHITE UNDER XP JS4551985 - Background color of Menu is different from that of MenuBar (XP only) Sun's evaluation is worth being mentioned: This is not a bug. Because by default on WinXP the menu & menubar colour are different. Menu has white on WinXP. To change this, Settings -> Control Panel -> Display -> Appearance Select Menu from the Item list and see the colour. Change this on WinXP to the same colour as MenuBar ... This is not a bug. Will close this bug once the customer okays my findings. This is marked as fixed on 1.4.1_03, but it appears to still be a problem. It is marked as fixed and also works under 1.4.2.


HAS_BUG_2645826

public static final boolean HAS_BUG_2645826
ORA2645826 - OBJECT NAMES DIALOG STATIC TEXT AND EDIT BOXES A BIT TOO LEFT JUSTIFIED On Windows XP, GetStockObject(SYSTEM_FONT) does not return Tahoma as documented. As a consequence, the default Plaf font is choosen instead which is Dialog. The problem is that Dialog cuts the left part of the first letter in text fields (especially "W" )


SEARCH_ACCELERATORS_IN_MENUS

public static final boolean SEARCH_ACCELERATORS_IN_MENUS
ORA2632937 - NEW WINDOWCOMES UP EVEN EO, ASSOCIATION, VIEW LINK AND OTHER WIZARDS. Although all our accelerators are defined in InputMaps, JDev still searches for accelerators in the menus. In addition to that, when a dialog does not set the focus explicitely, the keys are not sent to the dialog but to the window that had the focus. If you combine the two problems, you could have File|New... Ctrl+N working from a wizard.


HAS_BUG_4753146

public static final boolean HAS_BUG_4753146
JS4753146 - 1.4.1 REGRESSION: Mnemonics no longer show underlines in Windows L&F

The Windows L&F does not properly show/hide "button" mnemonics under JDK 1.4.1.


HAS_BUG_4749792

public static final boolean HAS_BUG_4749792
JS4749792 - 1.4REGRESSION: Split pane border is not painted properly with windows L&F ORA2381846 - JDK1.4: : BORDER MISSING RIGHT AND BOTTOM EDGES IN ALL PREFERENCES PANES The Windows L&F does not properly render splitpane border highlights under JDK 1.4.


HAS_BUG_4812991

public static final boolean HAS_BUG_4812991
JS4812991 File.createNewFile() returns success when file does not exist but cannot be created because the file name is too long. This is supposed to be fixed in Tiger (1.5)


HAS_BUG_MENU_RESTORES_WRONG_FOCUS

public static final boolean HAS_BUG_MENU_RESTORES_WRONG_FOCUS
When a menu is dismissed, it restores the focus to the component from which the focus was stolen. When the user clicks a component, the component usually reacts by taking the focus. When the user clicks a component, the menu gets dismissed and... restores the focus. ==> The result is that the component's request for taking the focus is ignored.


HAS_BUG_TYPE_DOES_NOT_SCROLL_IN_JLIST

public static final boolean HAS_BUG_TYPE_DOES_NOT_SCROLL_IN_JLIST
4654916 - JList and JTree should scroll automatically with first-letter navigation. http://developer.java.sun.com/developer/bugParade/bugs/4654916.html


HAS_BUG_METAL_MAXIMIZE_DOES_NOT_WORK_ON_LINUX

public static final boolean HAS_BUG_METAL_MAXIMIZE_DOES_NOT_WORK_ON_LINUX
ORA3145162 - OTN: MAXIMIZE BUTTON DOES NOT WORK ON LINUX. JS4649181 - JFrames and JDialogs do not raise or resize properly in Linux Note that the maximize button is missing on Solaris.


HAS_BUG_METAL_CURSOR_SHAPE

public static final boolean HAS_BUG_METAL_CURSOR_SHAPE
ORA3055135 - LINUX: WHEN OPENING THE GALLERY, THE CURSOR IS OF THE WRONG SHAPE. Problems with mouse cursor with Metal + JDialog.setDefaultLookAndFeelDecorated( true )


Extension SDK

 

Copyright © 1997, 2004, Oracle. All rights reserved.