This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes SwingUtilities2 is deprecated.. any alternative Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "SwingUtilities2 is deprecated.. any alternative" Watch "SwingUtilities2 is deprecated.. any alternative" New topic
Author

SwingUtilities2 is deprecated.. any alternative

shihab K Bava
Greenhorn

Joined: Oct 03, 2004
Posts: 12
Dear friends,

I am using sun.swing.SwingUtilities2 package for using functions SwingUtilities2.getFontMetrics, SwingUtilities2.drawStringUnderlineCharAt. But this package is deprecated. Any body can suggest an alternative for this? Please help.

Thanks and Regards
Shihab
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10733
    
    9

Graphics#getFontMetrics()
BasicGraphicsUtils#drawStringUnderlineCharAt()

[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: SwingUtilities2 is deprecated.. any alternative
 
jQuery in Action, 3rd edition