aspose file tools
The moose likes Applets and the fly likes Regarding Borders.. Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Applets
Reply Bookmark "Regarding Borders.." Watch "Regarding Borders.." New topic
Author

Regarding Borders..

teeyes prakash
Greenhorn

Joined: Feb 05, 2001
Posts: 19
I have just started Applets. Kindly let me know if this option is available.
While using the fillRect or drawRect, I need to have the recetangle filled with one color with the border in a different color. Also is there any way of increasing or decreasing the thickness of the Border.
Plz let me know.
maateen ashraf
Ranch Hand

Joined: Jan 08, 2001
Posts: 122
make an abject of rectangle & set its properties & its colors what ever u want
then on any event which ever u want draw it on the applet
then call the repaint method....
now ur applet is running with changed appearance...
tell if again u come up with more problems...
bye
Stephanie Grasson
Ranch Hand

Joined: Jun 14, 2000
Posts: 347
Here is one simple example:

Hope this helps.
Stephanie
 
 
subject: Regarding Borders..
 
Threads others viewed
Removing Borders
Associating Webservice to Existing EAR
change properties of a comboobx
How to learn java
change border of list box
IntelliJ Java IDE

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture