Option / Menu items render smaller 12 points in Chinese font problem

Doesn't anyone experience when JVM SWING render Chinese Font smaller than
12 points (say 9 points) very ugly in label, ...etc. Just not similar to Windows' one.
How to config it to work properly?
I find that menu items / option items both are rendered ugly in Star office
application / OpenOffice.

Hi,
unfortunatly you cannot change the properties of Action object as you would do with JavaBeans. Instead you have to use the 'put' method.
eg.:
myAction.put(Action.SMALL_ICON, new ImageIcon(...));IMHO this was a bad decision, because it's not like the JavaBeans standard and you loose static type information. :-/
-Puce
Message was edited by:
Puce

Similar Messages

  • Where are all the other "Options" menu items?

    ff mobile has a minuscule number of options on the "Preferences" menu - where are the rest? F.I. the link colors options.

    Type about:config in the address bar an filter on color. You will need to provide the color you want in the hexadecimal color code. http://www.webmonkey.com/2010/02/color_charts/

  • Can't render small section of sequence, wierd problem...

    Hola,
    I've been trying to no avail to render a two minute section of a long letterboxed anamorphic sequence. There's nothing fancy about the section (i.e. there are no filters applied). and it does play in preview mode. I get an "insufficient disk space" error when i try to render it, but i still have about 75 gigs of space on my scratch disk. Other sections of about the same size with more filters on them took up about 1 gig each.
    Any suggestions?

    You may have a corrupt clip. What's in the section where it won't render? Graphics/Stills/video?
    Whatever it is go and try to open it in the finder using QT/preview or whatever the appropriate program is. If you have a corrupt clip then you will find out when you try to open it.

  • I would love it if this was in the options menu....

    I'm sorry if this isnt the right place to say this but I would love it if the Permissions Manager was in the Options menu, i wrote a bug a couple of weeks ago for this to be added and it isnt going so well, overall it has been a pain to try to get this in as i have posted on Mozilla Input multiple times for a couple of months. If anyone could provide a person I could propose this idea to it would be all cool.
    https://bugzilla.mozilla.org/show_bug.cgi?id=875493

    How about creating a '''bookmark''' for '''''about:permissions'''''? <br />
    Or maybe a bookmark for '''''about:about'''''? - ''The gateway to all of "about:".''
    At this time, with Australis coming to Firefox 25 in October, it may not be the best time to propose new menu items; the developers are very busy ruining Firefox for everyone but ''noobs'' and mobile device users. Plus, Mozilla is continuing the process of reducing the number of (or eliminating) modal dialog boxes in favor of displaying "Firefox information" in "tabs", so IMO it would make more sense to access "information" like that thru the "about" interface.
    If you play around in '''about:preferences''' a bit, you'll see all the Options modal dialog windows converted to "tabs", just waiting for the possibility of the elimination of the Options menu item at some point in the future.

  • Missing Menu Item: Settings- General- Date & Time- Automatically Set Time Z

    I'm running F/W 1.1.4 on my iPhone (German TMobile contract). The Date&Time settings menu is lacking the menu item for the automatic adjustment of the Timezone. The Apple Genius Bar recommended to reset the phone, which I did with no success. Same my second iPhone with TMobile contract. All other iPhones with identical F/W build numbers which I looked at at the (US) Apple stores showed that menu item.
    Does anybody see the same problem? Any idea to resolve this?
    Many thanks, Hans-Uwe

    Page 151 iPhone5 user guide....does this help?
    Set whether iPhone updates the date and time automatically
    Go to Settings > General > Date & Time, then turn Set Automatically on or off.
    If iPhone is set to update the time automatically, it gets the correct time over the cellular network and updates it for the time zone you’re in.
    Some carriers don’t support network time in all areas. If you’re traveling, iPhone may not be able to automatically set the local time.
    Set the date and time manually
    Go to Settings > General > Date & Time, then turn Set Automatically off. Tap Time Zone to set your time zone. Tap the Date & Time button, then tap Set Date & Time and enter the date and time.

  • Rotated ASCII characters overlap in Text Layout Framework with specific Japanese/Chinese fonts

    I am trying to layout rotated text with Text Layout Framework. Mostly okay, but when it comes to specific Japanese/Chinese fonts, problem happens - "hankaku" alphanumeric characters(in other words, ASCII characters) overlap in those fonts. (Full-width "zenkaku" characters have no problem, though)
    When "HG丸ゴシックM-PRO" or "HG正楷書体-PRO" are specified as fontFamily(both come with Office - common fonts in Japanese Windows environment), characters are wholly overlapped.
    When "SimSun", "NSimSun" or "SimHei" are specified as fontFamily(Chinese fonts, all come with Japanese Windows XP), characters are slightly overlapped.
    If anyone knows a solution or a workaround to this, please let me know.
    Sample code:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="initapp();">
        <mx:Script>
            <![CDATA[
                import flashx.textLayout.container.ContainerController;
                import flashx.textLayout.elements.ParagraphElement;
                import flashx.textLayout.elements.SpanElement;
                import flashx.textLayout.elements.TextFlow;
                import flash.text.engine.TextRotation;
                import mx.core.UIComponent;
                private function initapp():void
                    var container:UIComponent           = new UIComponent();
                    var textflow:TextFlow               = new TextFlow();
                    var controller:ContainerController  = new ContainerController(container);
                    var paragraph:ParagraphElement      = new ParagraphElement();
                    var span:SpanElement                = new SpanElement();
                    textflow.fontFamily          = "HG丸ゴシックM-PRO";
                    textflow.textRotation        = TextRotation.ROTATE_270;
                    textflow.fontSize            = 72;
                    textflow.color               = 0;
                    span.text                    = "abcdefg";
                    controller.setCompositionSize(this.unscaledWidth, this.unscaledHeight);
                    paragraph.addChild(span);
                    textflow.addChild(paragraph);
                    textflow.flowComposer.addController(controller);
                    textflow.flowComposer.updateAllControllers();
                    this.addChild(container);
            ]]>
        </mx:Script>
    </mx:WindowedApplication>
    Warm regards,
    Yuushima

    malachite00 wrote:
    > Thanks David. So is there any way around having to embed
    the font when
    > rotating text?
    Not that I know of. Your problem is that you're loading the
    content
    dynamically, so you have no idea what it will contain.
    There's normally
    no need to embed Japanese fonts for a Japanese audience,
    because they
    already have the main fonts, such as Mincho, Gothic, or Osaka
    on their
    machine. Perhaps you'll just have to give up the idea of
    rotation.
    David Powers
    Adobe Community Expert
    Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
    http://foundationphp.com/

  • Is it possible to add a single Entry Point menu item to a LabVIEW OI menu?

    Using the "TestStand - Insert Commands in Menu (Application Manager).vi" library VI, I can add all Configure menu items to a menu with the "CommandKind_ConfigurationEntryPoints_Set" option for the "Commands" input.  But the VI is missing an "Index" input to specify a single item from the collection.  (UnlikeThe "AplicationMgr.ConnectCommand()" function, which allows you to specify a single item with an index.)
    The issue is the same for Execution Entry Points and Tools as it is for Configuration Entry Point--I can create a menu containing the entire collection, but not a single item.  I tried to delve into the VI to change it to allow specification of individual commands using an index using the Commands.Insert() function instead of the Commands.InsertKind() function, but without success.
    As an aside, even when I add all Tools to a menu (using CommandKind_Tools_Set), TestStand exits with a warning that 12 "RunTimeMenuItem" objects were not released.  I'm wondering if I should be using the Engine.GetRunTimeToolMenuItems interface instead.  But if that's the case, I think I have to build the menu myself and can't use the TestStand library VIs to automatically run commands when their corresponding menu items are selected.  Maybe this is just a bug in the TestStand VIs?
    I am using TestStand 2010 SP1 with LabVIEW 2014.
    Any advice would be appreciated.  Thanks.
    -Jeff

    I am closing the TestStand Engine, VI Refnum, Quit Application event, and Event Callback, just like in the example.  I get the TestStand unreleased reference error only if I call that VI to include the Tools menu.  The fact that the unreleased objects are "RunTimeMenuItem" objects also implies to me that the problem is specific to the Tools menu items.  Since Tools menus seem to have their own API (which involves RunTimeMenuItems), it seems to me that the VI (or the TestStand Engine?) is doing something with RunTimeMenuItems that I can't see, and is somehow losing track of them (because that VI gives me no visibility to any RunTimeMenuItem objects).  Is it possible that one should explicitly use RunTimeMenuItem objects instead of the menu VI when dealing with Tools menus?  (Maybe the error is due to my using TestStand 2010 SP1 on Windows 8.1, for which TestStand 2010 SP1 is not officially supported?)

  • Why don't I see the option Generate under menu item File in Photoshop CC?

    Hi,
    Why don't I see the option >Generate under menu item >File in Photoshop CC?
    I want to be able to generate a edge reflow project.
    /Thors

    Please confirm if you are updated to the latest version of Photoshop CC. Go to Photoshop>About Photoshop on Mac, For Win, go to Help>About Photoshop.
    We recently released a new update. Here is teh link for more info:http://forums.adobe.com/message/5674936#5674936
    Regards
    Pragya

  • In iTunes I'm having problems changing the "Media Kind" with a number of playlists in the OPTIONS menu from "music" to "audiobook". After going through the steps, the next time I check the items have reverted back to "music". What step am I missing?

    In iTunes I'm having problems changing the "Media Kind" in the OPTIONS menu from "Music" to "Audiobook". After going through the steps, the next time I check, the items have reverted back to "Music". What must I do to save it as an "Audiobook"?

    After more digging in the Support section here and some Google work, I turned off iTunes Match and lo and behold!  I can change the media kind to Audiobook!  So, it looks like iTunes Match locked the files up somehow and for some reason.
    I went into iTunes Store > iTunes Match > "No, Thanks" to disable it on the local PC.

  • Rid of "Show All Menu Items" option

    How to get rid of "Show All Menu Items" option from Application menu and keep always open all menu items?

    You should be able to reset Your menus under Edit > Menus by choosing Set: Basic.

  • Test Stand File menu item entry point execution in VC++ code

    Hi,
    Can you please suggest me, how to execute a file menu item entry point pragmatically in a VC++ code.
    My process model seq inserts an item called "Select Model" into TS file menu.
    i have to programmatically execute this entrypoint from an Operator interface developed in VC++.
    Request your suggestion in this concern.

    Couln't you just use the PerformClick Method?  So basically you'll have a reference to your menu somewhere in the code.  Get the node of the item you want and then use the PerformClick method.
    From MSDN: http://msdn.microsoft.com/en-us/library/system.win​dows.forms.menuitem.performclick%28v=vs.71%29.aspx
    I recommend that vs going through the TestStand API.  It will be a lot cleaner.
    jigg
    CTA, CLA
    teststandhelp.com
    ~Will work for kudos and/or BBQ~

  • Render menu item conditionaly in contextMenu

    Hi,
    I am having a tree with contextmenu facet. Also, I have a "Actions" drop-down with the similar set of menu items in my toolbar. I use the same jsff for both the menus like this:
    1) for tree context-sensitive menu:
    <f:facet name="contextMenu">
    <af:popup id="popContextMenu"
    rendered="#{userCanEdit}"
    contentDelivery="lazyUncached">
    <f:subview id="contextView">
    <jsp:include page="/oracle/communications/brm/pdc/ui/fragments/changeset/changeSetContextMenu.jsff"/>
    </f:subview>
    </af:popup>
    </f:facet>
    2) For Actions dropdown:
    <af:menuBar id="mb1" rendered="#{userCanEdit}">
    <f:subview id="csMenuBar"
    binding="#{viewScope.workspaceBean.csMenuBar}">
    <jsp:include page="/oracle/communications/brm/pdc/ui/fragments/changeset/changeSetContextMenu.jsff"/>
    </f:subview>
    </af:menuBar>
    My use case is, I need to show "Create" menu item if menu is accessed using Actions drop-down. However, if user right clicks the tree node "Create" should not be displayed in context-sensitive menu. Any idea how can I distinguish the source of event, what should be the EL in "render" property of commandmenuitem?
    Regards,
    Afroz

    Hi John,
    I tried following:
    <f:subview id="csMenuBar" binding="#{viewScope.workspaceBean.csMenuBar}">
        <jsp:include page="/oracle/communications/brm/pdc/ui/fragments/changeset/changeSetContextMenu.jsff" flush="true">
                         <jsp:param name="isAction" value="true"/>
         </jsp:include>
      </f:subview>And in the included page I try to read this parameter using El : *#{param.isAction}*
    However, #{param.isAction} always returns blank. Looks like the parameter is not passed to the included page. Is there any other way to read this parameter?
    Regards,
    Afroz

  • I have set Firefox to never remember history, and 'Stop private browsing' is accordingly greyed out in the options menu, but Firefox still remembers history items even after restart -- why?

    I have just downloaded Firefox after reformatting my hard drive so I was not upgrading -- I wonder if I am missing a file which would have been there if I was upgrading from an earlier version.
    Not much else to say: I ticked the relevant boxes.

    If you set "Firefox will: Never remember history" then you enter Private Browsing mode immediately.
    You can see a grayed "Tools > Stop Private Browsing" to confirm that.
    This doesn't affect already stored History, but Firefox won't add new visited links to the History.
    If you want to remove sites from the History then you need to do that yourself.
    You can (temporarily) set the pref [http://kb.mozillazine.org/browser.sessionstore.max_tabs_undo browser.sessionstore.max_tabs_undo] to ''0'' to clear the ''Recently Closed Tabs'' list.
    Use the ''Reset'' context menu item to re-enable ''Undo Closed Tabs'' with the default value if you want to re-use that feature.
    You can temporarily set the pref browser.sessionstore.max_windows_undo to 0 to reset the Recently Closed Windows list,
    However there appears to be always one window left that is only removed if you close and restart Firefox.
    You can avoid that by closing all tabs before closing the window with only an empty tab left.
    Set the pref '''browser.tabs.closeWindowWithLastTab''' to ''false'' on the about:config page to prevent closing the last tab from closing the browser.
    See http://kb.mozillazine.org/about:config

  • Adjust permission settings - Option Menu ?

    hi,
    I'm trying to test a wordpress site via the browserlab - DW cs5,  i can view the un-styled content but it does not render the attched style-sheet ?
    I understand the instructions below - but i can't find the Options Menu described below ?
    To allow permissions
    To allow permissions for the network locations associated with a particular file and its dependencies, initiate a preview of the file in BrowserLab, and then click the Allow button in the dialog box that appears.
    Note: If you click the Deny button in the dialog box, any resources in the specified locations will not be uploaded to BrowserLab, and will therefore not appear in the preview.
    To set or adjust permissions manually
    To set or adjust permissions manually, follow the instructions below.
    Choose Permission Settings from the Options Menu in the upper-right corner of the BrowserLab panel.
    In the Adobe BrowserLab Permission Settings dialog box, click the plus (+) button.
    In the URL dialog box, enter the path to the folder for which you want to allow permissions, and click OK.
    Note: The URL you enter is the top-most URL. Anything in directories below that URL will be accessible to BrowserLab.
    (Optional) Adjust permission settings as necessary. To do so, select a location in the Adobe BrowserLab Permission Settings dialog box, and select the Deny option if you want to deny permission for that location, or the Allow option if you want to allow permissions for that location.
    To delete a location, select it and click the minus (-) button.
    Many thanks

    Hi Wayne,
    In the upper right corner of the BrowserLab panel should be a small list icon with a dropdown arrow. If you click on that, it should open the menu. The menu should have the following items: Permission Settings..., BrowserLab Help, About BrowserLab, Close, & Close Tab Group.
    If you open that menu and you don't see Permission Settings, then you will need to update your DW CS5 to the latest version. You can do that by going to Help -> Updates, and in the Adobe Application Manager that opens, make sure Dreamweaver is checked, and clicking the Update button.
    Let me know if you find it and get this working or not,
    Mark

  • Missing preferences, tool bars, menu items after receiving CS3 file while I have CS2

    I have Indesign CS2. I rec'd a CS3 file not knowing it was CS3. A message appeared as follows:
    Cannot Open. Please upgrade your plugins to the latest versions, or upgrade to the latest edition of Indesign.
    I went into HELP, Configure plugins. Chose "all" and "required" plugins. I then clicked ok and it said "All plugins available when you restart application" and it still wouldn't open. Then I was sent an exchange version of the same file and it still wouldn't open. I received this message:
    Cannot open. InDesign may not support the file format, a plug-in that supports the file format may be missing or the file may be open in another application.
    After this I wasn't able to get my CS2 screen back the way it was before. There's no introduction when I open the program, my tool bars aren't present, and the menu items aren't as extensive as they were before.
    It was then suggested I reinstall Cs2. I logged in under the administrator. CS2 was different than the way I had it before but the tool bars were present. I then logged in under my name and there are still problems;no tool bars, missing menu items, no intro, etc.
    I then tried rebuilding my preferences using these instructions;
    The fastest way to do this for InDesign CS2 (and any CS2 program) is to quit the program, then hold down Command-Option-Shift-Control immediately after starting it up again, and keep those keys held down. (On Windows, hold down Control-Alt-Shift.)
    If you mashed on those keys quickly enough, youll get an alert when the splash screen appears offering to Delete InDesign Preferences File?. Click Yes, but dont release the modifier keys while you do so, because youre going to get a second alert to which you should also click Yes.
    Now you can release the keys and InDesign will complete the boot-up process with fresh, clean Preferences.
    Nothing happened so my program is still missing preferences, menu items and toolbars. Any help would be greatly appreciated.
    Thanks
    Operating System Windows XP Professional
    Dell Precision 360

    First, you need to realize that resetting preferences will put them back to ground zero, not the way they were the last time you were happy.
    You can try the key combination again and see if you are any faster (we're talking near instantaneous) or you can open your user profile, show hidden files and folders and navigate to C:\Documents and Settings\Administrator\Application Data\Adobe\InDesign\Version 4.0 and rename the two files InDesign Defaults and InDesign SavedData.
    In your case, a better first option, I think, would be to try System Restore which you'll find in System Tools under the Programs > Accessories heading on the start menu. Go back to the first restore point before you tried to open the file, if you can.
    In any case, for you to open a CS3 .inx file you will need to be fully patched the the last CS2 update, and you should expect to see some text reflow issues, as well as missing any CS3 features that the author used which aren't supported in CS2.
    Peter

Maybe you are looking for

  • LoadFromDatasource with more than one table

    Hi, I want to fill a matrix with the items. I need the columns itemcode, itemdescription and Manufacturer. It is no problem to initalize a recordset, do a query with a joining between the tables OITM (items) and OMRC (manufacturers) and fill the matr

  • Mac Mini (not Thunderbolt) to Thunderbolt display

    Dear apple friends, I jumped into the Apple world a few months ago now, with a lot of pleasure. Still, I have some pending problems: I have a Thunderbolt display and a Mac Mini (old generation, old square-ish display port) + a Windows PC (tower) I ha

  • Spacing between letters

    HI friends, we are currently involving in scripts upgradation from 4.6c to Ecc 6.0. we are facing a small problem that there is a spacing between letters , when we upgrade the document in Ecc6.0. could u pls help me how to overcome this problem. Hope

  • Javascript: display region

    Hi, is it possible to hide / show a region with javascript? I know there are functions for items, but I have a whole region, that I want to display depending on a select list. I know I could do this with a select list with redirect and then create a

  • EInsight web service client-server tutorial

    Hi, I downloaded and installed JCAPS version 5.1.0.. I have a problem. I am unable to import the Web Services client/server project. I get an error when I try to import from the zip file that I downloaded from the repository. What is the reason for t