Creating specialised Borders, HOW?
Hi Everyone,
I am currently creating a number of borders for components on a GUI. I have had no trouble using the standard borders (raisedbevel, line, etc) and I have had no trouble creating a few basic custom borders such as double raisedbeveling. However I am currently trying to create my own Bevel Border with the following method:
createBevelBorder(int, Color, Color, Color, Color);
The Color values poss no challenge however I cannot work out the first int part! According to my notes the int part can either be RAISED or LOWERED, however everytime that I type either of these values in I get errors. I know that I am missing a step but I'm not sure what the step is!
Any help will be greatly appreciated.
Thanks
my code
import javax.swing.*;
import javax.swing.border.BevelBorder;
myJComponent.setBorder(BorderFactory.createBevelBorder(BevelBorder.LOWERED, Color.CYAN, Color.GREEN ));
...and I use the jdk1.4 !!!
If that doesn't work check your jdk and post your code.
Nico
Similar Messages
-
I have 4 equal oblong shape created with borders How do I go about knowing what size the selection area is so that I can crop an image to fit. I don't want to use paste in then adjust the bounding box to suit
What do you mean a moderator
-
How to create custom borders in Illustrator CS5
Hello,
I'm working in Illustrator CS5.1 and unsure to go about creating DASHED borders. The problem I've having is the corners are not connected and they should be. Is there a way to do this.
Thank you!
stam168If this doesn't solve your problem, post an example:
http://help.adobe.com/en_US/illustrator/cs/using/WS714a382cdf7d304e7e07d0100196cbc5f-64d6a .html#WS714a382cdf7d304e7e07d0100196cbc5f-64d1a -
device is no longer eligible for creating a free icloud account how to create on iphone, How do I create an apple ID if it says " No longer eligible for creating a free iCloud account "? It says Account limit reached?
Kindly advice.
Thanks
MahfoozI had the same issue on my iPod touch 4th Gen, I noticed the issue after updating the device to 6.1.5. I dont know what device or IOS your running but if it is similar then I think this ma be the cause. My solution to you is to create a free apple ID on their website, https://appleid.apple.com/cgi-bin/WebObjects/MyAppleId.woa/wa/createAppleId. Hope this helped and good luck!
-
After creating a form, how do I download it for further editing with Adobe Professional XI?
This is probably a new precaution that Apple has taken to alert folks that something has occurred with their account that has not occurred before*, namely a Mac has downloaded something from their account that has not done so before. And as the notice says, if it was you doing so, then you may safely ignore the notice. Also, do not be alarmed, Apple refers to all downloads as purchases, even when they are free.
But if you are truly concerned about the notice then you can authorize the Mac with your iTunes account, which should be the same as your MAS account. Open iTunes on the older Mac and sign into your account. Then in the Store menu choose Authorize This Computer. Now this Mac is definitely associated with your account and can now play media that you purchase from the iTunes Store as well.
*My banks do the same thing when I pop up making a purchase with my bank cards somewhere in the world I have never made a purchase before. They call me and email me and want to know if it is indeed me using the card. -
After creating a table, how do I type outside of it? I can't get a cursor to come up.
Barker,
If by "outside" you mean "on the right or left of" a table, you must make the Table a Floating Object to do that.
If you must use Inline Tables, you can do this:
Add a Floating Text Box with the text that needs to be "outside" the table. Arrange, then Group the Text Box with the Floating Table, and then set the Group to Inline.
Jerry -
I created a form, how do I save it?
I created a form, how do I save it?
Hi,
The form is saved automatically. When you close the form you should see it listed in the My Forms tab of the main FormsCentral page.
Regards,
Brian -
I have create many free acounts for apple I have reached the limit of creating free acounts how can I delete that free acounts which I have made?
iOS devices can only create 3 free iCloud accounts, Get a new iOS device
why would you need more than 3 iCloud accounts for 1 device o.O -
I have a Coleman TREK camcorder that creates AVI files, how can I get iMovie on my MacBook Pro to Read thes files?
Try the following. there are others too
https://itunes.apple.com/us/app/free-video-converter/id464195348?mt=12 -
What is partition ? how to create partition ? how to maintain indexes ?
HI experts,
What is the use of peartion table
how to create partition ?
how to create index ? how to maintain ?
Thanks in Advance!
VijayRead
Partitioned Tables and Indexes
Create Partitioned Tables and Indexes
SQL Server Index and Statistics Maintenance
Many Thanks & Best Regards, Hua Min -
I need to delete an account that i accidently created... how can i do so?
I need to delete an account that i accidently created... how can i do so?
If you open Terminal
Applications/Utilities/Terminal.app
You can see all the user on your machine, this would lead you in the right direction
copy and paste:
dscl . list /Users | grep -v ^_.*
hit the return key -
BOM is changed after creating subcontracting PO,how to adopt the changes
Hi All,
BOM is changed after creating subcontarcting PO,how to adopt the changes in the BOM attached to the PO.
Thank you.hi
try changing the po
go to me22n and in material item tab clcik on explode BOM
or just remove the item cat L ,enter and again put it
regards
kunal -
My daughter accidentally deleted my Pages program and icon from my toolbar while downloading free fonts off the internet. Now I can't create documents! How can I get it back?
Go to the little magnifying glass at the upper right of your screen, click and type in Pages. It will likely show up under top hit, and also under applications. Click on it. When Pages is running the icon will appear in your doc again. Control-click on the icon, choose options from the pop-up menu and choose Keep in Dock.
Now your Pages icon should be permanently back in the dock for you. -
How to creat apple id, how to creat apple id
how to creat apple id, how to creat apple id
For an iPhone, Instructions here > iTunes: How to set up an Apple ID within iTunes
-
Create apple id how to change the country
create apple id how to change the country from united states to uk
Welcome to Apple Communities
Open Settings > Store and Settings > iCloud > Delete account to change the account
Maybe you are looking for
-
I cannot launch bridge from photoshop cc 2014
I cannot launch bridge from photoshop cc 2014
-
What can i use instead of Visual Studio?
I'm a new user. i need to use Microsoft Visual Studio for my project. As i understand there is no MVS for mac. But is there any thing else, that is capacitable as MVS for mac.
-
Ipod Nano shows file with exclaimation mark!
Bought this for my daughter for Christmas! Can anyone help me before she gets up in the morning to find it not working! The screen shows the file with exclaimation mark. I have followed all the 5R advice on the apple site. All my software is bang up
-
I have read Sun's article about Solaris 8 cyclical page cache, but still don't understand how it works. It did not mention how does kernel devide memory between the IO page buffer cache and applications. Is it is first come, first served basis? Is th
-
I have a select statemnet like below.. it currently returns 3 rows. I want the the last value from this query below. so i want only "4" returned from this query. How to achieve it ? Thanks for the help. SQL SELECT col6 FROM TableA WHERE col1=12 AN