🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

JPaneEditor.registerEditorKitForContentType question

#18311
From: Alexander Anguiano
Date: Mon, 20 Jul 1998 00:00
25 lines
1176 bytes
Hello

Does any one know the parameters for the registerEditorKitForContentType of
the JEditorPane?

Documentation says:

 public static void registerEditorKitForContentType(String type,
                                                    String classname)

   Establishes the default bindings of type to name. The class will be
dynamically loaded
   later when actually needed, and can be safely changed before attempted
uses to
   avoid loading unwanted classes.

   Parameters:
      type - the content type
      classname - the class to load later


I have a .xyz file that is a text file. I'm trying to set the
registerEditorKitForContentType for it

Thanks
Technical Details
Message-ID: <6ouoo8$mmg@bgtnsc02.worldnet.att.net>
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,4c4fe8daee8647db,start
X-Google-Attributes: gidf74b3,public
From: "Alexander Anguiano" <AlexAnguiano@worldnet.att.net>
Subject: JPaneEditor.registerEditorKitForContentType  question
Date: 1998/07/20
Message-ID: <6ouoo8$mmg@bgtnsc02.worldnet.att.net>
X-Deja-AN: 373083578
Organization: AT&T WorldNet Services
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4
Newsgroups: borland.public.jbuilder.java.language