aspose file tools
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 OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP 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: 10570
    
    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