• Post Reply Bookmark Topic Watch Topic
  • New Topic

about TitledBorder

 
nurichan
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i wanted my title border's title to be in white color because my background's in black, u see. but there's this error when i type out the code.. the error's in bold..



unless i've got the wrong code that is...

thanks all~
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
peg peg,

I asked you once here to change your display name to meet our Naming Policy. We hate to close accounts, but you have yet to respond to our request and if you don't do it pretty soon, we will be forced to close your account.

Please, please don't let this happen and change your display name. Just change one of the "peg"'s. That's all we ask.

Thanks.
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Peg, I would also like to request that you stop posting the same question in more than one forum. It only makes it harder for us to help you.

Thanks again.
 
Craig Wood
Ranch Hand
Posts: 1535
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Look in the BorderFactory class api Method Summary section and scroll down to the createTitledBorder methods. The one with a Color argument takes six arguments

the first of which is a Border. There is a link at the top of the api to a page in the java tutorial that shows how to work with borders.
[ March 26, 2005: Message edited by: Craig Wood ]
 
nurichan
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks i got it..

sorry i didn't read the past replys to my thread so i didn't know i was requested to change my display name. changed it now. hope it's okay.
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, it was better before. You need a first and last name. So maybe change it to peg nurichan?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!