Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to add html text in JFrame title bar? (Urgent) anyone?

 
S Dan
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need to add some texts in the JFrame title bar that are in italics. How can I do that? I found that it is not accepting html string all.
Thanks
-Dan
[ October 04, 2005: Message edited by: S Dan ]
 
Stuart Gray
Ranch Hand
Posts: 410
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is a section on Using HTML in Swing components in The Java Tutorial.
 
Eddie Vanda
Ranch Hand
Posts: 283
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi S Dan,

I remember fighting this api a couple of years ago. All I could do was pass it a small icon and straight text. I think this is because it interfaces directly to a Windows api, but I hope some can prove me wrong!!!

Ed
 
S Dan
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Stuart, that tutorial won't help me in this case. Please let me know if you have any other idea.
Thanks.
-Dan
 
S Dan
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
any idea folks? I really need some help here
Thanks.
-Dan
 
Michael Dunn
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
> I need to add some texts in the JFrame title bar that are in italics

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic