• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Why Swing is HTML enabled?

 
Ranch Hand
Posts: 221
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator




i was searching how to add some simple effects to my button..and it ended on a code which passing HTML code as parameter..
Can anyone say how we can use it effectively...i mean upto which extend we can use it..
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In the future, please restrict yourself to a single question mark at the end of a sentence; it's sufficient.

Swing supports HTML 3.2, so that's what you can use. But you shouldn't overdo it - buttons in particular should look like buttons, lest they confuse the user. Form elements in particular will not work, since there's no web server behind it. But it's not uncommon to use HTML in JLabels.
 
harilal ithikkat
Ranch Hand
Posts: 221
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm sorry.i have changed it to single question mark.... .
 
Ranch Hand
Posts: 97
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i would like to share a really good news with you guys.

Sun in introducing a new face to swing components with the name "Nimbus". it changes the look and feel of components in an awesome way.
i really love it.


Regards,
 
Marshal
Posts: 79239
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please don't introduce unrelated material into an existing thread, Amir Iqbal.
 
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
> Sun in introducing a new face to swing components with the name "Nimbus".

and what if you don't use 1.6.0_10(?)+
reply
    Bookmark Topic Watch Topic
  • New Topic