Want to create some button like font color button in MS Word?

hi all
i am writing a editor like MS Word, but small version with some basic functions: font family, font size, bold, italic... and font color.
so i need some UI for font color similar to the one in MS Word.
now i created a panel with two button; one shows the current color, and another show up JColorChooser when it is clicked; called JColorButton.
now the problem i am having now is i created the icon similar to the down-arrow in JComboBox. but the size of that arrow changes depending on Look & feel and i could not able to make it similar to it for my own created button.
any suggestion? ideas? i really appreciate it.
currently,i am trying to get the image of down-arrow from JComboBox on the fly. but no luck yet.

hi there,
thanks a lot for reply.
i checked BasicArrowButton. I replaced it with my JColorButton as second one, like in MS Word or Back button in Internet Explorer. but the size of arrow is smaller than the one in JComboBox beside it because the size of that button is smaller than JComboBox's size. so it still did not solve the problem yet.
i wonder if there is any button which function the same as Font color button in MS word or Back button in Internet Explorer.
or is there any way i can get the information about L&F about arrow of JComboBox?
and also i make JToolBar to be rollover, so the border of button show only when the mouse is over. but how can i do this same affect on my JColorButton, which is a panel with two buttons in it.
thanks a lot. i really appreciate it.

Similar Messages

  • HT1351 My fifth generation nano will no longer sync my address book from my Mac. It gives me an error message that "You have no contacts" and asks me if I want to create some.  My address book is full of contacts. Sync works for everything else.

    My 5th generation nano will no longer Sync my address book from my Mac.  It gives me a message that I have no "Contacts", and asks if I want to create some.  My address book is full of contacts, but for some reason it thinks it is empty.  All the other sync operations work fine including iCal.  My Mac is running OS X 10.7.4.

    It sounds like all of your contacts on your Mac running Lion are actually stored up in iCloud. 
    Several users running Mac OS X Lion and now ML (and iCloud) have no longer been able to "sync" contacts over to their older iPods models.
    A work around is to export all of your contacts out of Address Book as vCards and them copy these vCards into your iPod's Contacts folder.  You'll need to have the Enable Disk Use option ticked from under the iPod's Summary tab in order to browse out to the iPod's Contacts folder via the Finder.
    Using your iPod as a storage drive
    That's the only "solution" I have been able to use to get contacts to sync/appear on my 5G iPod Video.
    B-rock

  • Constant what has this got to do with readingHow to create some thing like

    Q]     IN  the statement
    SABC_ACT_READ(4)               VALUE 'READ',
    Taken from
    http://help.sap.com/saphelp_46c/helpdata/en/fc/eb3d5c358411d1829f0000e829fbfe/content.htm
    SABC_ACT_READ(4) is a of type C , & has a value “4” –what has this got to do with reading   pls explain.
    Q]     How to create some thing like this (event) of our own like say read all alphabets that have “s”  in their string?

    In order to Use the Function Module 'AUTHORITY_CHECK_DATASET' , you need to Pass the Exporting  Parameter ACTIVITY  with a value like given below.
    ACTIVITY
    Access type, with the following possible values:
    - READ: Read file
    - WRITE: Change file
    - READ_WITH_FILTER: Read file using filter functions
    - WRITE_WITH_FILTER: Change file using filter functions
    - DELETE: Delete file
    These values are defined as constants and one such constant is SABC_ACT_READ with a type char and length 4 with a Value of 'READ' .
    The constant is being used in that Function module to check the READ Authorization of the user for the file specified.
    Hope this helps.
    Vinodh Balakrishnan

  • I had used Iphone4 to update to ios 7.0.4(11B554a) but after update whenever I want to create new contact, I can't type in the word because the keypad don't appear, what should I do? Can I uninstall the update of ios 7.0.4?

    I had used Iphone4 to update to ios 7.0.4(11B554a) but after update whenever I want to create new contact, I can't type in the word because the keypad don't appear, what should I do? Can I uninstall the update of ios 7.0.4?

    You cannot uninstall the update. Apple does not support downgrading. What troubleshooting have you done? Start with a reset. Hold the sleep/wake and home buttons together until you see the Apple logo and then release. The phone will reboot. Are you syncing contacts with iCloud?

  • Create PDF from webpage font color turns white

    While using Create PDF from a web page the text in the final PDF is colored white so I cannot see it.  Italicized text remains black and is find.  However, the font color of standard text is turned white.  I know the text is there because I can use the text editing tool to copy the text out into notepad.  This problem occurs with Adobe Acrobat X and XI.  However, when I use Adobe Acrobat VIII there is not problem.  Furthermore, with the website I am converting to PDF the problem only happens if I try to convert the entire site, which is about 1,100 pages.  If I stop the job half way, the font color remains fine.
    Any ideas?

    Under the Settings... button in the Create PDF from web page dialog, do you have the checkbox selected for "Force These Settings for All Pages"?

  • CMYK settings for font color keep changing in Word

    I am trying to match a particular color of blue in Word.
    I set the CYMK percentages using the either the sliders or %age boxes in Word, hit OK and then when I open the color setting box, the numbers have changed.
    Anyone got an idea of what I'm doing that could be wrong - am using PMS CYMK numbers - C 100 - Y 75 - M 0 - K 0 - in theory it should work but it's not.

    The only thing I think is wrong is Word.

  • I want to make some checks before calling CreateInsert button

    I have data control I added the CreateInsert button
    but I need before calling the create comment button action to do some java checks and if this checking return true then the commit will be done but if it return false no save will be done
    Edited by: belal on 13/09/2011 04:38 ص

    have an actionlistener for you comkti button.. that binds to the maanged bean
    <af:commandbutton actionlistener="#{Bean.doCheckAndCommit}">
    public void doCheckAndCommit(ActionEvent actionEvent){
    if(check){ // if check passed the n commit the code
    BindingContainer bc = BindingContext.getCurrent().getCurrentBindingsEntry();
            OperationBinding op = bc.getOperationBinding("Commit");
            op.execute();
    }

  • Hi every on.......i am new to jsf.....i want to create a page like this ...

    header [static for all the page]
    |
    |
    Menu button |
    | this side only i want load all the page .....after
    link | clicking the link.....help me pls...
    |
    |
    |
    |
    |
    |
    |

    hi acca kuddy ! are you ready for the interview?

  • I want to create Menu Bar like

    I like the menu bar in http://www.twofold.com/
    Do I need to do Photoshop for design the menu text? or just typing in Dreamweaver?
    Do I do need javascript programming?
    How can I make it so text is on the background, can see through background?
    Thanks

    DeafEagle wrote:
    I like the menu bar in http://www.twofold.com/
    Do I need to do Photoshop for design the menu text? or just typing in Dreamweaver?
    Do I do need javascript programming?
    How can I make it so text is on the background, can see through background?
    Thanks
    The easiest way when using DW3+ is to use the SpryMenuBar as you have already done here http://forums.adobe.com/thread/870090?tstart=0
    Gramps

  • How to draw a button like the Close Button ?

    Hello,
    I'm using a JFrame as an undecorated Frame.
    Now I'm trying to add a JButton to close the frame.and I want a button that looks like the current system frame CloseButton.
    How Can I get the specified UI to draw my JButton?
    Or does exist a way to add the system buttons (minimize, maximmize, close) ?
    Thanks

    horfee wrote:
    I said I'm using undecorated frame : it implies i'm already using setUndecorated(true);
    So I'm not kidding... Right !NO KIDDING, but what you are now asking for is a decorated frame, so setUndecorated(false) will give you what you want.
    But if it's just 3 independent buttons you want, then just capture the image and make the buttons and place them where you want them. It's really as simple as that.

  • Why are all of the toolbar buttons (like the photo button) grayed out in my project?

    How can I get to the pictures in my iphoto library if this button doesn't work? imovie11 9.0.8

    I'm assuming you are working on a Trailer in iMovie (not a standard project). Unfortunately, the templates accept video only - not photos or stills. That's why the Photo Browser is greyed out when you are working with Trailers.
    A way around this is to convert the Trailer to a standard project. Then you will be able to add photos/stills, and perform other edits as desired.
    To convert the Trailer, select "File > Convert to Project" from the menu. Before doing this, it's best to duplicate the Trailer so that all your original edits are intact in the Trailer format. To duplicate, while in Project Library view, click on the Trailer name then select "File > Duplicate Project" from the menu. Use the duplicate to do the conversion.
    Duplicating won't use up much extra space on the hard drive. Projects reference the clips in the associated Event (or Events) - the clips are not copied. The project file also keeps track of titles, transitions, effects, voiceovers, music, edits you've made and so forth - these are text based and use little space.
    John

  • How to create a button like the one pictured here

    How would I create a button like the print button below?
    I was thinking actually make it two separate buttons placed next to each other. The print button obviously would just be a modified boolean, that's easy. But the drop down is a bit harder. I figure I could customize a drop down but because I haven't been able to play around with it in LabVIEW (don't have it at home) I'm not sure if you can modify the alignment of the box that actually drops down etc. Is the drop down box location and look something you can modify within the control editor?
    I'm guessing I could also use .net correct? But I am trying to keep it all with just control modification in LabVIEW if possible. Thanks.
    CLA, LabVIEW Versions 2010-2013
    Solved!
    Go to Solution.
    Attachments:
    buttonexample.PNG ‏6 KB

    for(imstuck),
    I'd use a multicolumn listbox and toggle it's visibility when the user clicks on the button.  I've attached an example:
    ~Simon
    Attachments:
    8-2-2010 2-04-25 PM.png ‏24 KB
    Print Drop Down Snippet.png ‏55 KB
    Print Drop Down.vi ‏29 KB

  • How can I create a textbox-like field?

    I am writing a After Effect Plug-in.
    I want to create a textbox-like for user, when click om plugin in after effect cs4 popup textbox
    So, if there is any example to create that UI for me?
    Thanks a lot.

    i'll try to give you a wider picture.
    AE has no "text" parameter you can add to a plug-in.
    you have to either create on using a custon UI, or open a window and use an OS control to allow the user to enter text.
    if you're just beginning developing you should probably avoid custom UI. it's a pain.
    the simples way to trigger an OS window is using javascript.
    yes, just as you would in a regular AE javascript.
    there are a few scripts that ship with AE that show how to open a window and even get text input.
    the link i added to the previous post show EXACTLY how to implement java from within an effect.
    all you have to do is change the java script to one you need.
    copy/paste. the rest is ready to use as it is in that link.
    how do you know when to launch that window?
    there are a few ways to tell.
    the most versatile would be a custom UI, but as i said, it's not easy to do.
    the second method would be to use "param supervision".
    it will tell you when the user clicked on a specific param, so you can launch the window.
    relatively simple to pull off.
    look at the "supervisor" sample to see how it's implemented.
    the third method is the simplest, and i would recommend it for a beginner.
    as many effects that require some window to open do, you can use the "options" button to launch the window.
    you can even change the name of that button using PF_SetOptionsButtonName().
    look at the "checkout" sample.
    it has it all.
    it changes the name of the "options" to "whatever i want!".
    it even has a function called PopDialog() that... pops up a message window when clicking on the options button.
    all you'll need to do, is replace the content of the PopDialog() function with your window code.
    that should get you up and running.

  • How to create a MenuButton-like control (skin)?

    Hi,
    I want to create a MenuButton-like control.
    But instead of popping up a ContextMenu, I want my own popup in that place. (I want the user to chose from a set of icons, which are displayed in a TilePane).
    Unfortunately I am stuck with the basic button skin.
    If I derive from MenuButton and override fire(), this method isn't called (unlike if I derive from Button).
    If I derive from Control and set a skin, I don't know, what to do, so that the skin looks like a MenuButton. If I derive the skin from MenuButton, I again don't get the ActionEvent.
    I also copied the style from class "button" from caspian.css and renamed it to my control name. It loads the skin, but e.g. the background-color is not applied.
    Any advise?

    Sure it can be done in AI, so what is actually your question?
    Mylenium

  • Can I change different background and font color on each records?

    Hi,
    I had a Data_Block which contains some records, I had a field name 'currency' which contains value such as (HKD, JPY, CNY, CND, USD etc..)
    Let there there are 5 Records contain in that Data_Block and I wanted to change the background and font color depend on the Currency value.
    I were using Set_Item_Property and change the Visual_Attributes that I had define. Well I guess that doesn't work since uisng the Set_Item_Property
    it will actually getting the last value and use that last value and changed to all the same color to that.
    I wonder is there a way to do that in Oracle you can change the field different color?
    Thanks
    David Willis

    Thanks You so much.
    Actually I were trying to look for that function at the User Manual but I couldn't find it because I remembered I had seem it some where.
    I guess I am looking at the Form4.5 user manual instead of the Oracle 9i Forms Developer.
    Thanks
    David

Maybe you are looking for

  • HT201250 how do i add external hard drive to my time machine back up

    how do i add external hard drive to my time machine back up so that I may view the files independently on apple tv please?

  • How can I store an output, i.e C from the attatchmen​t in an array?

    How can I store an output, i.e C from the attatchment in an array? Attachments: Testing.vi ‏18 KB

  • Running forms without ias

    Hi, what has to be done to run forms (9i) without installing the whole ias. I'd like to have a simple install. Is it possible to run it just with oc4j. How can I do that. It does not matter if it is not supported! Thanks Günther

  • D20 raid

    hello all and happy holidays, a few questions - perhaps someone can help me I have a D20 w/ three segate 15k 300 gig drives in raid 0 on the marvell sas controller, i just bought 2 new samsung 850 pro's that I want to use as the boot drives- I just f

  • Passing parameters from AdfFacesContext to EBS applications.

    Hi: I have a requirement where I need to pass some parameters from a .jspx page and need to access these parameters from EBS controller classes. We have tried to instantiate WebAppsContext passing .dbc parameter file and by validating the login in th