Hi I need to add  patches  to Swing to fix show stopper bugs but
the new 1.1.1b1 does not compile under linux using jdk1.1.7
Jikes also fails.

Anyone have any luck. The problem seems to be in BasicTableUI.java
The private inner class access seems to fail. Under both Jikes and
javac.

Anyway Jikes failed in many other places too.

I wish Sun would tell us whow they compiled it.
I suspecting it was done under 1.2  ??


Mike

BTW Heres my patch but javasoft  hasnt done anything about it.
You can't show a internal frame inside another : (

in javax.swing.DefaultDesktopManager.java

WAS
public void activateFrame(JInternalFrame f) {

...


    else if (currentActiveFrame != f) {
      // if not the same frame as the current active
      // we deactivate the current
      if (currentActiveFrame.isSelected()) {
        try {
                currentActiveFrame.setSelected(false);
        }
        catch(PropertyVetoException e2) {}
      }
.....


PATCH .......


    else if (currentActiveFrame != f) {
      // if not the same frame as the current active
      // we deactivate the current
      if (currentActiveFrame.isSelected()) {
        try {
            if( !currentActiveFrame.isAncestorOf(f) ) {
                currentActiveFrame.setSelected(false);
            }
        }
        catch(PropertyVetoException e2) {}

Reply via email to