File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 Android Security Essentials Live Lessons 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: 10171
    
    8

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
 
Similar Threads
StringTokenizer Question?
getVariableResolver() & resolveVariable()
what is the meaning of the deprecated in APIs
DataInputStream
Doubt in annotations.