🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #18212

Why this trivial Interface implementation does not Work ?, Any help will be welcomed !!!!!

#18212
From: JR Gonzalez
Date: Tue, 28 Jul 1998 00:00
47 lines
1579 bytes
I have the following Classes in the same package but when I attempt to
compile, this error
is shown for all the methods to be implemented :

" The methods a(),b(),c() can not be implemented in Interface
TLCNavigatorMethods with weaker access privileges, was public"

Does anyone knows whats going on here ?

thanks

J.R Gonzalez


file #1 TLCNavigatorMethods.java
=========================
package TLCPanel;
interface TLCNavigatorMethods {
  void a();
  void b();
  void c();
}

file #2 TLCNavigatorControl
====================
package TLCPanel;
import borland.jbcl.control.*;
class TLCNavigator extends NavigatorControl implements TLCNavigatorMethods
{
  TLCNavigator() {
     // all Common Initialization could be added here
     super.setButtonEnabled(0,true);
  }
  //Implementation of Interface TLCNavigatorInterface just an example the
actual method will
// do  something different.

    void a()
    { super.updateUI();}
    void b()
    { super.updateUI();}
    void c()
    { super.updateUI();}

}

file #3
Technical Details
Message-ID: <6pn67c$fc910@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,70ff4bf7e830a3c1,start
X-Google-Attributes: gidf74b3,public
From: "JR Gonzalez" <jrgonz@leading.net>
Subject: Why this trivial Interface implementation does not Work ?, Any help will be welcomed !!!!!
Date: 1998/07/28
Message-ID: <6pn67c$fc910@forums.borland.com>
X-Deja-AN: 375980034
Organization: Another Netscape Collabra Server User
X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3
Newsgroups: borland.public.jbuilder.java.language