Font smoothing when using JWS

Hi, I've noticed something odd while developing a desktop app.
When I run it via the webstart link, it looks fine, but when I run it inside netbeans or double-click the .Jar file the fonts look non-smoothed and no where near as good. Whats causing this, and is there a way around it, as I'm actually considering not using JWS for distribution.
I'm using Java 1.5 and on an apple mac and Netbeans 6
Thanks,
Scott
EDIT: Heres a screenshot of with and without JWS deployment of the exact same application. One thing I havn't mentioned, I'm using Substance for the 'skinning' effect, not sure if thats anything to do with it, but its the same version in the /lib folder
Screenshot

Ahhh...I found the solution
adding
-Dswing.aatext=true to the JM parameters.
Why isn't that the default? non-AA'ed text looks crap.

Similar Messages

  • Force font smoothing when open

    Hi all,
    I am trying to make a portofolio pdf, which has some fonts embeded.
    Is there any way to force user's Acrobat Reader to turn on font smoothing when the file is opened?
    Fonts are so ugly without smoothing, I don't want to let users to see them.
    Thanks in advance.

    Hi George,
    Yeah I hope its unusual to turning the smoothing off.
    For some reason my Reader have that turned off as default, I just afraid possibility that users see that ugly fonts.
    OK, I'd never mind.

  • Deserialization failure when using JWS

    Hi folks,
    I have an application which works fine without being
    launched from JWS, but when I tried to use JWS to
    open it, it somehow failed a critical deserialization
    procedure in my program. This happens inside a thread:
    public void run(){
    XMLDecoder decoder=new XMLDecoder(...);
    Something sth=(Something)decoder.readObject();
    do something with "sth" here
    Everthing is fine if I run this without JWS. But
    when I run this with JWS, "sth" somehow turns out
    to be null, which means that the deserialization
    code has failed.
    I am just wondering what the JWS designers have
    done with an application the JWS launches. Why can't
    an application registered with the JWS control panel
    be launched just in the same way that a JAR file is
    executed by javaw following a double-click?
    I would appreciate if anyone can help me, or voice
    this problem to Sun. We are all excited about JWS,
    and certainly do not want to have these frustrations.

    What args are you passing to the XMLDecoder
    constructer ?
    You may be getting a security error you are not
    seeing,
    because when running with Java Web Start, your app may
    be running with only sandboxed
    permissions, as opposed to full permissions when run
    from commandline.I jarsigned the jar file and granted full security
    permission to the application. So this is certainly not
    because of security violation. BTW, the behavior is
    odd. My application runs for the first time right after
    downloading or updating, but after I closed the application
    and tried to launch it for the second time, it failed.
    >
    The substantial differences when running under Java
    Web Start that I can think of are:
    1.) a SecurityManager is installed.
    2.) the app runs in a secondary AppContext,
    3.) the classes are loaded by a JNLPClassLoader, and
    4.) top level JFrame(s) are created before your app
    creates one (ie: (Frame.getFrames())[0] may not
    be your window.)
    Thanks for the clarifications. The 2nd, 3rd, and 4th
    points you made here are certainly right, but how can
    I possibly know what triggers which exception?

  • Font size when using HOMESITE 5.5 trial version

    Used homesite 4.0 for many years but now with a new computer with vista, I'm using the trial homesite 5.5. The trial version when using the Browse mode displays the font size larger than what was displayed in homesite 4.0 but the size is normal when using the "view in external browser". Is this normal with the free trial version and will be okay when I download the full Homesite 5.5 version? Or maybe, there is some setting I have done causing this. Any help would be appreciated. Thank you.

    I don't think there's any setting inside HS that can cause this. With HS closed open IE (7 or 8) open the menu bar (Tools > Toolbars > Menu Bar) and from the menu bar (View) check that the Text Size and Zoom settings  are both Medium and 100% respectivley, then open HS and see if the problem is still there.
    I'm not using Vista so if it's specific to that platform I doubt I'll be able to give any more help.

  • Fonts Incorrect when using compressor

    When I encode my .motn file straight from Motion, the fonts show up correctly in the finished quicktime. However, I've got about 62 of these motion files that need to be batch encoded, but when they come out of Compressor, the fonts display incorrectly...as if the font is not on my machine and being substituted.
    I've checked several of the motion files and the fonts they are using are installed on my system. What would cause this to happen?

    Ok, now I'm really stumped. So I took Patrick's suggestion and reinstalled the fonts system-wide. I checked the fonts were working correctly by launching a couple of the motion files, checking the fonts, then saving them.
    I then trashed Compressor's pref files (and FinalCut's pref files just for fun). Then I repaired disk permissions and rebooted. Once back in, I launched Compressor and loaded up two of the Motion projects. After choosing the appropriate encode preset, I double checked in the preview window and the fonts were dispalying correctly. Yay! So I submitted the job and waited. I opened the final quicktime file and the fonts are INCORRECT. What in the world??
    So, to recap: fonts show up correctly in Motion, they show up correctly in the Compressor preview, they even show up correctly in the timeline of FCP. But exporting from Compressor results in the wrong font and exporting my sequence from FCP crashes my system every time. I'm so confused.

  • Multiple weight font selection when using STL file importing...

    I am aware how powerful the manual editor is for DSP4.2, but unfortunately a lot of the editing for my subtitles needs to be done outside of DSP. So I came across a little bit of a problem...
    When using a multiple weight font, like Kozuka Mincho Pro (and many others), there are several weights, and some don't even have a "Bold." As an example Light, Thin, Roman, Heavy, Black, etc.
    So, using the STL method of importing, how does one specify a font AND weight that does not correspond to a "Bold" version? i.e., setting "Helvetica Neue Bold" does not bring that weight up when specifying "Bold = False," and you can't possibly get "Helvetica Neue Black," under any circumstances. I've attempted to get around this, but all I get is a message saying that the font is not found, and that the default font will be used. Is it even possible to do this?
    Hand entering and altering kanji in DSP's manual editor will be a nightmare, if I can't figure a way around this (the STL file is re-loaded dozens of times for placement issues during the project, meaning manual edits would have to be re-done every time).
    Hopefully the next version will allow the user to edit the .rtf document with styles and fonts and import them as styled text the way it appears. Multiple fonts per line, so easy integration of various symbol fonts can be dealt with, etc.

    Nope, using "$FontName = Helvetica Neue Black" does not work. And you can't even do anything close to that with fonts whose weights are specified as W3, W5, W7, etc.
    I found another snippet buried in the new manual that states something to the effect that the name must be spelled exactly as it appears in the "Font Panel." If this is so, then you can only access two weights from any font, just like working with good old-fashioned windows...
    So, unless there is a DSP specific trick for the STL format, I'm going to guess it's not possible.
    And I cannot re-compile fonts with new names and data, since most of the fonts I will be working with, with this issue, are full Kanji Unicode fonts, and we would have to purchase a font-editor that, IIRC costs about a grand. I think the SysAdmin would frown over both aspects of that... ^_^

  • Default Mail Font ignored when using "Mail this webpage" in Safari

    This is not really a problem but more of a puzzling irritant.  I often use the "Mail this webpage" option in Safari (the small envelope icon in the tool bar) which opens a draft email with the then-current webpage's URL already embedded in the text area.  Prior to Mavericks when using this option the draft note triggered by Safari reverted to my default Mail font already selected via Mail's preferences pane.  Just as I would want it.  Ever since Mavericks though, when I click the envelope icon it brings up the draft email with the URL as before, but the text font for that note defaults to Times, not my previously-selected default Mail font (Lucinde Grande just for clarity).  So to stay consistent with my other email styling I have to manually click the draft email's Format button, select Lucinde Grande, and then begin typing.  I can find no place in either Safari's or Mail's preferences or options where I can change the default "send an email triggered in Safari" font. Emails originated in Mail properly use the default Lucinde Grande font.
    Once I go through the above and send the note, if I later repeat the same "mail via Safari" acion, the new note is again defulting to Times and I have to go through all of the above again.
    A companion oddity is that when I go through this and click the Format button once, nothing happens.  I click it a second time and then the font selection options are presented.  This happens consistently on 3 separate installs of Mavericks in our house (two iMacs and a MBP), and it has been this way from OS 10.9.0 through the updates to the current 10.9.2.  Any ideas, or anyone else experiencing this?  Thanks.

    This is very annoying behavior.
    I have a sudo work-around, although it's really just a different set of steps. If you use the new Share button (square with arrow icon) than the resulting email consists of a url at the top and text from the page below that. The first line of the email (empty) and the url are in the default mail font. Now just delete the text that was added from the page.
    I use this method because it seems like if I do it the other way the new message will sometimes go back to Times when I hit Return a couple times.

  • Why JFileChooser doesn´t show when using JWS?

    I have this code where a JFileChooser is shown and the user must choose a directory where JasperReport must be exported to Excel.
    Everything works fine when running locally (the jar file) but when I put in the server and my client runs it using JWS the JFileChooser dialog doesnt show up.
    I am aware that the JNLP must have all-permissions, and it is but still does not show the diago to select the directory. And worse, no exceptions are shown else well.
    final JFileChooser fc = new JFileChooser();
    int choice = 0;
    try {
         fc.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY);
         System.out.println("1"); // DOES NOT REACH THIS LINE
         fc.setDialogTitle("Select Directory to Export");
         System.out.println("2");
         fc.setApproveButtonText("Select");
         System.out.println("3");
         fc.setMultiSelectionEnabled(false);
         System.out.println("4");
         fc.setCurrentDirectory(new File("C:/Kooky/SigGraf"));
         System.out.println("5");
         choice = fc.showOpenDialog(frame);
         System.out.println("6");
    } catch (Exception ex) {
         ex.printStackTrace();
    if (choice == JFileChooser.APPROVE_OPTION) {
         Thread worker = new Thread() {
              @Override
              public void run() {
                   String msg = "";
                   try {
                        File dir = fc.getSelectedFile();
                        String local = dir.getPath();
                        msg = Report.exportarParaExcel(startDate, endDate, local);
                   } catch (Exception ex) {
                        ex.printStackTrace();
                   final String msg2 = msg;
                   SwingUtilities.invokeLater(new Runnable() {
                        public void run() {
                             JOptionPane.showMessageDialog(frame, msg2);
         worker.start();
    } else {
         JOptionPane.showMessageDialog(frame, "You did not select a directory to export the report.");
    }The JNLP file:
         <security>
              <all-permissions/>
         </security>
    All the jars are signed with the same certificate.

    FranzAnthony wrote:
    Amazing your answer, you asked for exactly what I posted, thanks a lot for your help, let it be.Please read the SSCCE link again, as it isn't "exactly" what you posted. It's so much easier to answer questions when a nice compilable and runnable example has been provided by the OP. You are not required to do this of course, but if you do provide one, the odds of getting a quick helpful answer will be greatly increased.
    Or you can post a snarky comment and antagonize all the rest of the forum regulars who otherwise would have helped you. Your call.

  • In Firefox where do I find the setting: "Use LCD font smoothing when available"?

    I know there's a setting for this somewhere, but it's not in the options dialog under any of the tabs. Also, it would be nice to be able to control this via CSS or JavaScript. The issue comes up as FF seems to add a stroke to icon fonts when viewed in OS X machines.

    That in not a setting in Firefox, but in the Windows display (appearance) settings.
    If ClearType is enabled in Windows (and this is the default in Windows 7) then Firefox uses it automatically.
    *Control Panel > Personalization > Window Color and Appearance > Fonts > "Adjust ClearType text"
    *http://www.microsoft.com/typography/cleartypefaq.mspx
    See also:
    *Anti-Aliasing Tuner: https://addons.mozilla.org/firefox/addon/anti-aliasing-tuner/
    If there is a problem then try to disable hardware acceleration in Firefox.
    *Tools > Options > Advanced > General > Browsing: "Use hardware acceleration when available"
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    *https://hacks.mozilla.org/2010/09/hardware-acceleration/
    You can also try to set the gfx.content.azure.enabled pref to false or if this didn't help disable Direct2D by setting the gfx.direct2d.disabled pref to true on the about:config page and leave hardware acceleration otherwise enabled.
    *http://kb.mozillazine.org/about:config

  • Font smoothing whilst using zoom??

    I am a visually impaired person, who has just converted to a Mac! I'm using the built in zoom feature, but am having trouble with blurred fonts whilst using zoom. I have tried adjusting screen contrast, colours, smoothing styles, but can't get a sharp image for fonts when they are magnified. Does anyone have any tips or soluions to help me with this?
    mac mini   Mac OS X (10.4.7)  

    The problem here is that the zoom facility simply magnifies the pixels on the screen.
    For documents such as web pages, try changing the size of the font used first; the Safari shortcut is cmd + (command and plus sign), and the reverse is cmd - (command and minus sign), being careful not to take it down smaller than the starting size when you reduce it again. A judicious combination of that with the screen zoom feature should enable you to deal with most web pages.
    For PDFs, use the zoom built in to Preview (again, the shortcuts are cmd + and cmd -) to get the document to a legible size, then use the screen zoom if necessary.
    For your own documents, pick your fonts carefully—you'll probably find Andale Mono, Geneva, Helvetica, Lucida Grande, Tahoma and Verdana to be the most legible. Then set the default font size to, say, 16 or 18 point to begin with, work on your document making fonts bigger or smaller as needed, zooming in and out as you wish. When you've finished it, select all (cmd A) then reduce the font size uniformly (normally cmd -), perhaps four steps, taking your 16-point down to 12, which will look fine when you print it or fax it. At this point, you no longer need to read the text, so can concentrate on the shape of the layout, moving line and paragraph breaks around as you wish to achieve an aesthetic appearance.
    Similarly, any text documents you are sent that can be opened in a word processor can have their fonts changed or enlarged. Work on a copy if you're worried about overwriting an original.
    Hope this helps,
    Archie

  • Slide transition not smooth when using a continue button

    Hopefully someone can help me with this issue. I'm not new to Captivate, but cannot resolve this one on my own. I'm using CS4.
    I've created a Captivate movie that has a combination of software simulation and simple slides that have a caption on them. The ones with the captions also include a continue button that pauses the movie so the user can read the information and then when they click the continue button, the movie continues. Simple enough. The problem is when I playback the movie, the slides that have a continue button blink when transitioning from one slide to the next. It looks like the background image (same on all slides) is blinking, which it should not. The settings are set not to transition, so it looks smooth.
    The slides that do not have a button transition just fine, looking as if it is one continuous slide. This blinking is quite annoying and distracts from the smooth transition of the rest of the movie. Has anyone else noticed this, and have you found a solution to fix it?
    Thanks in advance,
    Stevie G

    Hi there
    What is the Button programmed to do?
    * Continue
    * Go to next slide
    My thought here is that if it's jumping to the next slide, perhaps try using Continue and configure timing so it may appear without the flash?
    Cheers... Rick
    Click here for Adobe Certified Captivate and RoboHelp HTML Training
    Click here for the SorcerStone Blog
    Click here for RoboHelp and Captivate eBooks

  • HT2509 How can I use Favorite fonts from Font Book when using e-mail?

    How can I add fonts from Font Bood to e-mail fonts?

    You dont use Font Book to change fonts in Mail.
    open Mail > open a  new message > Show Fonts
    click in the text message pane
    click on the font, size and  colour you want to use
    type your text

  • URLClassloader can't find superclass when using JWS

    Using a URLClassLoader to load a class "LocalClass" which is stored locally on disk. "LocalClass" extends "AppClass" which is in a jar file in the application classpath. This works when running the application from the console, but not when running it using Web Start.
    Using Web Start, the class loader fails with a NoClassDefFoundError on _"AppClass"_. I guess it's a security restriction, but I find it strange that it's okay if all the superclasses are loaded through the URLClassLoader, i.e. if "LocalClass" extends Object or if "AppClass" is on the local disk.
    Is this a by-design restriction of the security apparatus or is there a workaround?

    Found the answer at http://forum.java.sun.com/thread.jsp?forum=38&thread=368027
    Solution is not to use the default parent class loader (the system classloader) but AppClass.class.getClassLoader() (the JNLP class loader)
    in the URLClassLoader constructor.

  • Flash Video not smooth when using Firefox tabs

    I'm not sure whether this is a Flash Player problem or a
    Firefox problem, but something in the integration leads to this
    unpleasant experience.
    I like to start a video and listen to it while I browse other
    content. But when other tabs are loading, the sound from the video
    gets some interruptions.
    What is the root of this problem/bug? Is there any way to fix
    it?
    Thanks,
    Julien
    http://blog.monstuff.com

    I am sorry to hear that you are having this problem with Adobe Flash in Firefox. I would be happy to help you get this problem taken care of. First in Firefox go to the [http://get.adobe.com/flashplayer Adobe Flash Player website] . Then instal it, after that close out Firefox just to make sure that it will apply. Then check to see that it is listed in the add-on list.
    This should take care of any problems that you have been having. If not let me know and we will work from there. If it does fix the problem please mark this answer as the solution to the problem.

  • Font smoothing issues

    Hi all. I noticed some others were complaining about font smoothing not seeming to work in Carbon applications (e.g. Camino, Firefox, MS Word and even iTunes). It seems the subpixel font-aliasing system preference (e.g. light) is ignored and, instead, the ugly CRT font smoothing is used.
    I am puzzled this has not received a lot of attention, since it immediately bothered me when I received my Macbook Pro today.
    Is everyone experiencing this font smoothing problem? I used the Migration Assistant to copy all files from my previous (Tiger-installed) Powerbook. Does anyone not having used the Migration Assistant also suffer from the font smoothing issue?
    For more info, see http://discussions.apple.com/thread.jspa?messageID=1829478&#1829478
    Macbook Pro   Mac OS X (10.4.6)  

    TinkerTool didn't make any difference for me. I played around with it and found that there was no improvements using it or disabling font smoothing.
    I have watched DVD's on this LCD being played with my MacBook. I have seen 2MB+ full screen digital pictures. Both the DVD and digital pics look absolutely amazing on it.
    It's only the fonts that appear blurry or in some areas they appear to have a shadown to the right. This happens with any text that appears in every app.
    Keep in mind too, Windows Vista looks perfect on this display, but my prized MacBook looks really sub-par.
    I'm not quite following you on changing the display preferences to change to pixel size to that of the MacBook...

Maybe you are looking for

  • Oracle OSB 11G. Unable to find Oracle Service Bus Configuration Page.

    Hi All, Sorry for the apparent silly question but I am studying and learning the product. I have the OSB 11G installed and running with a proxy service working and routing requests. The Oracle ESB documentation http://download.oracle.com/docs/cd/E217

  • Calling WS from PL/SQL using WS-security

    Hi All, Has anyone experience with calling a Webservice from PL/SQL and use WS-security to encrypt the contents? If not; maybe with java stored procedures in 9i? (in other words: using WS-security without JDeveloper). with regards, Michiel Kuperus

  • Configurator 4 and Photoshop CC 2014

    I am new to Configurator. I followed a tutorial, based on CS 5 or 6, on how to create a custom panel. I followed the directions for downloading and installing Adobe Air first and then Configurator 4. I created a panel and Exported it, placing it in t

  • When I click on tools/add-ons, add-ons will not come up so it cannot be accessed.

    I am trying to uninstall extensions that I think are causing problems with Firefox but I cannot get to add-ons. When I click on tools/add-0ns there is a brief flash and then nothing.

  • Mini Display malfunctioning Macbook Air 2012

    I can only get my mini display port to work if I put in the adapter and then angle the computer so that pressure is put on the adapter/port. I can accomplish this by closing the computer and flipping it upside down or twisting the cable, etc. I have