Hi,
I have inherited this program from someone who left our organisation and this
java code was written in visual age for java.We are trying to re-compile it all in Websphere now and I am getting this error when I compile the code in WebSphere.I know this has to do with the issue of scope but as far as I can see,I have imported the package it needs.Can anyone help me with this.Thanks in advance.
Ann
******************************************************
package fr.query.ui;
import javax.swing.plaf.*;
import javax.swing.*;
import java.awt.*;
import fr.ui.*;
import fr.query.cntl.*;
import java.util.*;
public class QueryTabbedPane
extends TexturedTabbedPane
implements Blinker, MessageDisplayCollection
{
private boolean day = true;
private final Vector blinkers = new Vector();
protected class QueryTabbedPaneUI
extends TexturedTabbedPane.TexturedTabbedPaneUI
{
protected void paintTabBackground(Graphics g,int tabPlacement,
int tabIndex,int x,int y,int w,int h,
boolean isSelected)
{
super.paintTabBackground(g,tabPlacement,tabIndex,x,y,w,h,
isSelected);
if (blinkers.contains(getComponentAt(tabIndex)))
{
Image currentTexture = day ? MESSAGE_LISTS_BLINK_TEXTURE_DAY: MESSAGE_LISTS_BLINK_TEXTURE_NIGHT;
if (getTextured() && currentTexture != null)
{
TextureComponentUtil.drawTexturedBackground
(g,TexturedTabbedPane.this, currentTexture,
x, y, x + w, y + h);
/*I get an error on this line ,saying,No enclosing instance of type
fr.ui.TexturedTabbedPane is accesible in scope.*/
}
}
}