0% found this document useful (0 votes)
61 views11 pages

Components of BDK

Uploaded by

riaz ahamed
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
61 views11 pages

Components of BDK

Uploaded by

riaz ahamed
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 11

COMPONENTS OF BDK

Components of BDK
The components of BDK development environment
are:

• Tool Box
• Bean Box
• Properties
• Method Tracer
BEAN DEVELOPMENT KIT
ToolBox window
It lists the sample JavaBeans of BDK. It also allows the user to write
their own beans and add them to this window.

The following figure shows the ToolBox window


SAMPLE BEANS WITH DESCRIPTION
TOOL DESCRIPTION
It is an "invisible” Bean; it is not derived from a Component and
Tick Tok
doesn’t have a graphical appearance, just as an internal timer.
Jelly Bean A simple visual component that draws a colored oval "jelly bean".
Juggler A simple visual component Duke begin juggling coffee beans
ChangeReporter A text file.
Uses RMI to contact a remote (or local) quote server and request
QuoteMonitor
a real or imaginary stock quote value.
Uses the JDBC API to connect to a database at a specified URL and
JDBC Select
issue a select statement.
Provides a set of property types and events that may be used to
BridgeTester
test other bean components.
Designed to handle a vetoableChange event. By default the Bean
Voter will reject all change requests, but change requests will be
accepted if the vetoAll property is set to false.
Similar to Juggler in concept. The Bean displays a 3-D
Molecule representation of a molecule and accepts mouse input to rotate
the molecule.
BeanBox window

BeanBox window is a workspace for creating the


layout of JavaBean application.

• The following figure shows the BeanBox window


Adding a Bean in the Bean box Window
Properties window
Displays all the exposed properties of a JavaBean. The user
can modify JavaBean properties in the properties window.

The following figure shows the Properties window


Property Window – Juggler Bean Example

This Bean has a different set of properties. The most interesting is the one
called animationRate. It is an integer property that controls the interval in milliseconds
between displays of the juggler’s frames. Try changing its value. The juggler changes speed as
you type each value. Good Beans give you immediate feedback on changes to their
properties.
PROPERTY WINDOW
– Initially, background selected
• Customize in Properties box
Method Tracer window

The Method Tracer window displays the debugging


messages and method calls for a JavaBean application.

The following figure shows the Method Tracer window

You might also like