Meaningless Drivel is fun!*
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 Java 8 in Action this week in the Java 8 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: 9993
    
    7

Graphics#getFontMetrics()
BasicGraphicsUtils#drawStringUnderlineCharAt()

[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: SwingUtilities2 is deprecated.. any alternative
 
Similar Threads
DataInputStream
what is the meaning of the deprecated in APIs
Doubt in annotations.
getVariableResolver() & resolveVariable()
StringTokenizer Question?