About Font
5 posts
• Page 1 of 1
About Font
protected void configureAbout(About pAbout)
{
pAbout.setText("Version " + VERSION);
}
How can I change Font?
{
pAbout.setText("Version " + VERSION);
}
How can I change Font?
- Garantisoft
- Posts: 16
- Joined: Wed Aug 17, 2011 3:26 pm
Re: About Font
With the current About implementation, it is not possible to change the font. I think it was simply forgotten. An easy way is to extend About or create your own About frame. If you extend or have your own, overwrite the method:
and show your own frame.
A (very) dirty way to change the font is, to search the TextArea in the component list, in configureAbout(), but that is not the preferred solution.
A reusable solution for all developers is a Feature Request and JVx should be changed![Smile :)](./images/smilies/icon_e_smile.gif)
- Code: Select all
public void doAbout(UIActionEvent pEvent) throws Throwable;
and show your own frame.
A (very) dirty way to change the font is, to search the TextArea in the component list, in configureAbout(), but that is not the preferred solution.
A reusable solution for all developers is a Feature Request and JVx should be changed
![Smile :)](./images/smilies/icon_e_smile.gif)
- rjahn
- Posts: 41
- Joined: Sun Sep 13, 2009 1:54 pm
Re: About Font
Already available in SVN or in the next beta.
Details are available in the Support System.
Details are available in the Support System.
- rjahn
- Posts: 41
- Joined: Sun Sep 13, 2009 1:54 pm
Re: About Font
The About source code should help!
And here is the code that opens the About dialog:
And here is the code that opens the About dialog:
- Code: Select all
public void doAbout(UIActionEvent pEvent) throws Throwable
{
About about = new About(getDesktopPane());
configureFrame(about);
configureAbout(about);
about.pack();
about.setLocationRelativeTo(getContentPane());
about.setVisible(true);
}
- rjahn
- Posts: 41
- Joined: Sun Sep 13, 2009 1:54 pm
5 posts
• Page 1 of 1