troubleshooting Question

Class cannot find variables in abstract class

Avatar of TheVeee
TheVeeeFlag for United States of America asked on
Java
1 Comment1 Solution358 ViewsLast Modified:
I have two classes CientGui and Test. ClientGui is a abstract and is in package test.tm and then the other class Test is public and extends ClientGui and is in package test.tm.dynm.  Problem Im getting is that when I try to reference a variable in Test from class ClientGui, I get Field is not visible but my editor when I go to declaration.. goes directly to ClientGui and shows me it.  If I change the ClientGui class from a abstract to public... everthing works fine.  The ClientGui class is the base of everything and Im worried about changing the "behavior" from a abstract class to a public class due to the ramifications since it used by gobs of our existing code.  Question is... How do I get it visible the way it stands today as a abstract class to the the Test Class?

Test.java....
package test.tm.dynm;

/**
 public class Test extends ClientGui {
{
}
==============================================================================
ClientGui.java...
package test.tm;
*      This is an abstract class serving as a super class for single table manipulations.
*
*/
public abstract class ClientGui
      extends JPanel
      implements ActionListener, ArcTable {
stuff in side
}
ASKER CERTIFIED SOLUTION
NHBFighter

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 1 Comment.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 1 Comment.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros