(Answer) (Category) FAQ-O-Matic : (Category) General : (Category) OpenTools : (Category) Writing OpenTools with OTAPI :
I wish to create a class which extends PropertyPage, but it's a red bean in the Designer!
You need a proxy class that will enable the Designer to instantiate an instance of a suitable class parent.

This class is a JBuilder Designer proxy for class com.borland.primetime.properties.PropertyPage. It allows you to use the Designer on classes which extend PropertyPage, which would otherwise display a Red Bean error. PropertyPageProxy.jar contains both the class file and its source, so you can use it as an example for creating your own proxies.

To install this jar, do these simple steps:

  1) copy PropertyPageProxy.jar into jbuilder/lib/ext. 
  2) edit ~/.jbuilder/user.properties and find the section of 
    "designer;proxy" lines.  Insert the following line and save the file.

    designer;proxy.com.borland.primetime.properties.PropertyPage=com.visi.gyles19.mushnode.proxy.PropertyPageProxy
3) restart jbuilder

Here is the proxy jar file. Download this and save it on your machine.
(Download) PropertyPageProxy.jar (2.9 K)
2001-Jul-08 10:12am gyles19@visi.com

See also:

(Xref) How do I write my own proxy classes for the Designer?
2001-Jul-08 10:13am gyles19@visi.com

[Append to This Answer]
2001-Jul-08 10:13am
Previous: (Answer) How do I add a new menu to the JBuilder Menu Bar?
Next: (Answer) How do I add a new menu item to the project pane's context menu?
This document is: http://www.visi.com/~gyles19/cgi-bin/fom.cgi?file=239
[Search] [Appearance]
This is a Faq-O-Matic 2.709.
This FAQ administered by gyles19@visi.com.

Other JBuilder Links

Java Community
Java Tools
Code Central
JB OpenTools
Community
Recent
Threads
Borland Chat
Chat FAQ
Feature Matrices
3.0 |  3.5 |  4.0
5.0 |  6.0 |  7.0
Shop for
JBuilder
JBuilder
Downloads
and reg keys
Report Piracy
Online Manuals
4.0 |  5.0 |  6.0
7.0
Borland
DevSupport's
Bug/RFE Form

Quality Central Client
JB Patches &
Updates
JBuilder FAQs TIs
JBuilder
Newsgroups
Tamaracka's
News Archive
Mr. Haki's
JBuilder Machine
JGuru's
JBuilder FAQ
Sun's Bug
Parade
Netring Home - About - Privacy
The
JBuilder Netring Logo
The Borland JBuilder Netring by JBuilder FAQ-O-Matic
[ Join Now | List Sites | Random | << Prev | Next >> ]
[ Previous 5 Sites | Skip Previous | Skip Next | Next 5 Sites ]