GeeCON Prague 2014*
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


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: 10425
    
    8

Graphics#getFontMetrics()
BasicGraphicsUtils#drawStringUnderlineCharAt()

[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
 
GeeCON Prague 2014
 
subject: SwingUtilities2 is deprecated.. any alternative