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 Need to change font for all controls in an eclipse RCP application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Need to change font for all controls in an eclipse RCP application " Watch "Need to change font for all controls in an eclipse RCP application " New topic
Author

Need to change font for all controls in an eclipse RCP application

kamalakannan kamal
Ranch Hand

Joined: May 19, 2008
Posts: 32
Hi All,

We are using an eclipse RCP application. In this application we didn’t use any specific font for the controls (like label, button etc,). So by default all control uses font specified in the underlying OS. Currently the application runs in XP os where the default font size is 8 and application looks fine. In future we are planning to move to Windows 7 machine where the default font size is 9. When we tested our application in Windows 7 machine there are some alignment issues, some buttons does not have full text content and text is missing in some labels. Since we are using large number of controls in our application we can’t set font for each and every controls now. Is there any easy solution for this problem? Is there any way where we can specify font for all controls which uses default font?

Thanks & Regards,
G. Kamal
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Need to change font for all controls in an eclipse RCP application