... Border b1 = BorderFactory.createLineBorder( Color.black ); Border b2 = BorderFactory.createEtchedBorder( EtchedBorder.LOWERED ); Border b3 = new BevelBorder ( BevelBorder.LOWERED, Color.red ); JPanel panel = new JPanel(); panel.setBorder( b2 );
You can apply fancy borders to your JPanels (or JComponents) with panel.setBorder( border ) There are all manner of ways to get a Border object to describe a border. Look in the javax.swing.border package for the various classes you can use.
❘ precis ❘ screenshot ❘ browse source repository
for the current version of Borders.
Displays a variety of Java Swing borders
456K zip for Borders Java source, compiled class files, jar and documentation to run on your own machine either as an application or an Applet.
Runs on any OS that supports Java e.g. W2K, XP, W2003, Vista, W2008, W7-32, W7-64, W8-32, W8-64, W2012, W10-32, W10-64, Linux, LinuxARM, LinuxX86, LinuxX64, Ubuntu, Solaris, SolarisSPARC, SolarisSPARC64, SolarisX86, SolarisX64 and OSX.
First install the most recent Java.
To install, extract the zip download with WinZip, (or similar unzip utility) into any directory you please, often J:\ — ticking off the use folder names option.
To check out the corresponding source from the Subversion repository, use the TortoiseSVN repo-browser to
After you have installed the jar, you can run it as an application. Type:
java -jar J:\com\mindprod\borders\borders.jar
adjusting as necessary to account for where the jar file is.
download ASP PAD XML program description for the current version of Borders.
Borders is free. Full source included. You may even include the source code, modified or unmodified in free/commercial open source/proprietary programs that you write and distribute. Non-military use only.
This page is posted
Optional Replicator mirror
Your face IP:[184.108.40.206]
You are visitor number|