🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #9694

Can't access class in Visual Cafe

#9694
From: Helene Lund
Date: Thu, 17 Feb 2000 00:00
12 lines
1428 bytes
I'm trying to create an instance of the class HTMLDocument.
When compiling my program, I get the following error:

Error: D:\...\TextEditor.java(460): Can't
access com.sun.java.swing.text.html.HTMLDocument. Only public classes
and interfaces in other packages can be accessed

I have included the package ...swing.text.html, and I have successfully used
other classes from that package (for instance HTMLEditorKit). But Visual
Cafe won't let me use HTMLDocument...
Does anyone know what the problem is and what I can do about it?
Helene
Technical Details
Message-ID: <UnRq4.913$kz6.17634@news1.online.no>
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: 111d45,d0168443ce934f2d,start
X-Google-Attributes: gid111d45,public
X-Google-Thread: 113ae9,d0168443ce934f2d,start
X-Google-Attributes: gid113ae9,public
X-Google-Thread: 10a146,d0168443ce934f2d,start
X-Google-Attributes: gid10a146,public
From: "Helene Lund" <hl@inn.no>
Subject: Can't access class in Visual Cafe
Date: 2000/02/17
Message-ID: <UnRq4.913$kz6.17634@news1.online.no>
X-Deja-AN: 586889859
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
X-Complaints-To: news-abuse@online.no
X-Trace: news1.online.no 950788724 193.214.28.5 (Thu, 17 Feb 2000 12:58:44 MET)
Organization: Telenor Online Public Access
X-MSMail-Priority: Normal
NNTP-Posting-Date: Thu, 17 Feb 2000 12:58:44 MET
Newsgroups: borland.public.jbuilder.java.swing,comp.lang.java.help,comp.lang.java.programmer