How can I set a style in favorites?

Tried several times but the process not obvious and help files no help.
Thanks,
Richard

Yes, that was also my thinking, but nothing happens.
Maybe You have an idea :-)
Thx, Hans
Here a part of my code:
  private JPanel createEntry(String label, JTextField jtf, String initJtf, boolean editable) {
    jtf.setColumns(15);
    if (editable) {
      jtf.setEditable(true);
      jtf.setBackground(new Color(191, 191, 255));
    else {
      jtf.setEditable(false);
      jtf.setBackground(SystemColor.control);
    jtf.setText(initJtf);
    jtf.setForeground(Color.black);
    jtf.setBorder(BorderFactory.createLoweredBevelBorder());
    jtf.setMargin(new Insets(50, 20, 50, 40));   // <-  The PROBLEM
    JPanel panel = new JPanel();
    GridLayout gl = new GridLayout(1, 2);
    gl.setHgap(1);
    panel.setLayout(gl);
    panel.add(BxpCdmUtils.Utils.createLabel(label, Color.darkGray, Font.BOLD, 11));
    panel.add(jtf);
    JPanel superpanel = new JPanel();
    superpanel.setLayout(new BoxLayout(superpanel, BoxLayout.X_AXIS));
    superpanel.add(panel);
    superpanel.add(new JLabel(" "));
    return superpanel;
  }

Similar Messages

  • How can i set action on UITaBar and get event from that

    Hi All,
    I m doing one apps in which i have to add three UITabBarItem and this is UITabBarSystemItem.
    Now i cannot understand that how can i set action and get event from the?
    And how can i set various views on three tab bar item.
    I have to use UITabBar means i have to use UINavigationController+UITabBar
    My code id
    tabBar =[[UITabBar alloc] initWithFrame:CGRectMake(0,370,320,50)];
    tabBar.backgroundColor =[UIColor blackColor];
    UITabBarItem *search =[[UITabBarItem alloc] initWithTabBarSystemItem:UITabBarSystemItemSearch tag:0];
    UITabBarItem *recents =[[UITabBarItem alloc] initWithTabBarSystemItem:UITabBarSystemItemRecents tag:1];
    UITabBarItem *favorites =[[UITabBarItem alloc] initWithTabBarSystemItem:UITabBarSystemItemFavorit es tag:2];
    tabBar.items =[[NSArray arrayWithObjects:search,recents,favorites, nil] retain];
    tabBar.selectedItem = search;
    [myView addSubview:tabBar];
    [tabBar release];
    I add a action:
    UITabBarItem *search =[[UITabBarItem alloc] InitWithTabBarSystemItem:UITabBarSystemItemSearch tag:0 action:@selector(select:)];
    So it error: Warning -no'InitWithTabBarSystemItem:tag:action:' method fount
    So any can help me regarding it?

    Thanks RickMaddy very much.
    I read and do with sample at the View Controller Programming Guide . But when run it only view TabBar with title but haven't got any TabBarItem on it. I searched a few example about TabBar and i did, but i want do a form with a button then press on button it view a form with 2 TabBarItem on TabBar and press each TabBarItem will show correlative form page 1, page 2.
    UITabBarController *tabBarControl = [[[UITabBarController alloc] initWithNibName:nil bundle:nil] autorelease];
    tabBarControl.title = @"Tab bar";
    ViewControl1 *view1 = [[[ViewControl1 alloc] initWithNibName:@"ViewControl1" bundle:nil] autorelease];
    ViewControl1 *view2 = [[[ViewControl1 alloc] initWithNibName:@"ViewControl2" bundle:nil] autorelease];
    tabBarControl.viewControllers = [NSArray arrayWithObjects:view1,view2,nil];
    [self.navigationController pushViewController:tabBarControl animated:YES];

  • How can I set up a RAID 1 disc set

    How can I set up a RAID 1 disc set using my existing Time Machine backup disk plus another HDD without loosing my backup?
    Thanks

    TM is the worst, most cantankerous Backup App I've ever encountered... I'd pride myself if I could come up with a worse one!
    Get carbon copy cloner to make an exact copy of your old HD to the New one...
    http://www.bombich.com/software/ccc.html
    Or SuperDuper...
    http://www.shirt-pocket.com/SuperDuper/
    Or the most expensive one & my favorite, Tri-Backup...
    http://www.tri-edre.com/english/tribackup.html

  • How can I set up firefox home on my iPhone without a desktop

    How can I set up the Firefox Home App on my iPhone without using a desktop computer and without having to sync it, too?
    My home computers are not functioning right now, but Firefox is my favorite browser.
    Can someone help me get it working on my iPhone?

    Actually, there is no version of Firefox for the iPhone. Firefox Home is a helper app to sync certain data to your iPhone.
    More info on Apple vs. third party browsers: [https://support.mozilla.org/en-US/questions/925084 Why isn't Mozilla Firefox available on the MOST SELLED and MOST WISHED tablet on the market? The iPad! I mean, Firefox home is not even an universal app.]

  • How can I change the style of a row in tableview?

    Hi,
    How can I change the style of a row in tableview, for example ,I have 10 items in table view, and I'd like to change row 1,4,10 background-color:red; font-family:Arial ,Font-Weight:BOLD.
    Any suggestion?

    Yes, I knew how can I change the style using cell factory. there is a lot of work to do if it has so many columns in table view. we need to implement every cell factory, Do we have a simple way to change the whole row style , just like fabsav said, I 'd like to set the special row like this line:
    tableview.getItems().get(i).setStyle("myRowstyle"); And I found a bug if I implement my functionality with cell factory way, I can't change the cell style after rendering cell.
    protected void updateItem(Object object, boolean empty) {
          super.updateItem(object, empty);
    }updateItem() was only triggered while cell is being rendering, there is no way if I'd like to change the cell style after rendering event.
    Hi fabsav, How can I apply a CSS class to a specific row? Can you please provide a short example?
    Edited by: imtoocute on Aug 28, 2012 10:31 AM

  • I forgot the administrator password for my mac and cant set a new one without it how can i set a new one

    i forgot the administrator password for my mac and cant set a new one without it how can i set a new one

    Reset Password 10.7, 10.8...
    http://reviews.cnet.com/8301-13727_7-20087723-263/how-to-run-the-password-reset- utility-in-os-x-10.7-lion/

  • How can I set an event to repeat on a week day rather than a numerical day of each month?

    How can I set an event to repeat on a week day rather than a numerical day of each month? I see an option at the bottom of the repeat window .... but I cannot use it. Actually, when I try it freezes up my Calendar.
    Lorrene Baum Davis

    These scrrenshots are from Snow Leopard - I would think that Lion wouldn't be too much different.

  • How can I set my WebI filters to Null and not Null

    Folks,
    I have created a report in WebI and now I am to set up some filters as Null and some Not Null.
    How can I set my WebI filters to Null and not Null?
    Regards,
    Bashir Awan

    Hi,
    As you said you could do it at the report level and also at the universe level.
    One more way is to create the filters in the universe levele and add them in thequery filter.
    Ex: in the filter you need to write :
    Column1 is null and and column 2 is not null etc.
    Hope this will help.
    If this did't  solve your problem then please explain it in detail.
    Cheers,
    Ravichandra K

  • How can I set up Cinema Display as a main screen and leave my macbook pro as a second screen instead?

    How can I set up Cinema Display as a main screen and leave my macbook pro as a second screen instead?

    I learned that the Dock is positioned at the chosen edge of whatever Display is positioned farthest to that side.  E.g. for the Dock to be positioned on the right side of the Cinema Display (instead of the right side of the MacBook), the Cinema Display must be oriented (by dragging) to the right of the MacBook monitor on the "Arrangement" tab of the Displays Preference Panel.

  • I do not see where to enter IP addresses in the Open VPN setup. Also, how can I set it up so that I can choose different servers in the same way as I can currently choose them with my VPN app but for PPTP?

    I think I have it working on my iPhone 5. But, I do not see how I can control the exit point that I would like for the VPN. Are all the exit points shown in the VPN setting now going to work with Open VPN, or do they remain PPTP? If I am reading correctly, they look like they remain PPTP. If I cannot control the exit point for open VPN, which exit point is the default in the profile you provided me?I note that Open VPN Connect does not work with any of the new 64 bit devices like the iPhone 5S, the iPad Air, and the new iPad MIni. Is there any chance that you guys will come up with an update for your app so that open VPN can be made to work on all iOS devices? That would be nice, particularly if the Open VPN Connect app does not give me a choice of exit points.Thanks,
    I do not see where to enter IP addresses in the Open VPN setup. Also, how can I set it up so that I can choose different servers in the same way as I can currently choose them with my VPN app but for PPTP?
    Just a quick note to tell you that Open VPN has updated their app so that it is compatible with 64 bit ARM devices like the iPhone 5S, the iPad Air, and the iPad Mini Retina.That does not resolve the problem of how to easily choose among the various possibilities for the exit server. We need to find an easy way to choose.

    Thank you for trying the new Firefox. I'm sorry that you’re unhappy with the new design.
    I understand your frustration and surprise at the removal of these features but I can't undo these changes. I'm just a support volunteer and I do not work for Mozilla. But you can send any feedback about these changes to http://input.mozilla.org/feedback. Firefox developers collect data submitted through there then present it at the weekly Firefox meeting
    I recommend you try to adjust to 29 and see if you can't make it work for you before you downgrade to a less secure and soon outdated version of Firefox.
    Here are a few suggestions for restoring the old design. I hope you’ll find one that works for you:
    *Use the [https://addons.mozilla.org/en-US/firefox/addon/classicthemerestorer/ Classic Theme Restorer] to bring back the old design. Learn more here: [[How to make the new Firefox look like the old Firefox]]
    *Use the [https://addons.mozilla.org/en-US/firefox/addon/the-addon-bar/ Add-on Bar Restored] to bring back the add-on bar. Learn more here: [[What happened to the Add-on Bar?]]

  • I have an iPad with IMAP email accounts set up but I can find no "inbox, drafts, trash" folders anywhere, either on my ipad or desktop Mac.  How can I set them up?  They do not show on my MacMail preferences either and I can find no way to add them.

    I have an iPad with IMAP email accounts set up but can find no "inbox, drafts, trash" folders for each email account anywhere on my iPad or in Mac Mail.   How can I set them up? I can't find anyway to set them up anywhere.  Thanks

    Hello blu monkey,
    I found some resources that I think might help with the visibility of your IMAP email folders on your iPad and Mac.
    On your iPad, you may need to follow the steps in this article to make sure your folders are visible:
    iOS: If IMAP Mail folders are not visible
    http://support.apple.com/kb/HT1393
    On your Mac, I am not sure if you have the sidebar enabled, but you can enable it using the steps in the article below.  When this is showing, you should see your email account listed near the bottom with a triangle next to it.  When the triangle is pointing down, it should show your folders:
    Mail (Mountain Lion): Show or hide the sidebar
    http://support.apple.com/kb/PH11763
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • How can I set BPEL server enviorment and create BPEL domain?

    Without use the http console, how can I set BPEL server enviorment and create BPEL domain?
    When I try to use API like below
    import com.oracle.bpel.client.Server;
    Server s = new Server(ServerAuthFactory.authenticate("oracle","localhost"));
    But I always got four exceptions and one warning like below:
    java.io.FileNotFoundException: C:\Workspace\WOSEDISystem\BPEL_Domain_Creation\config\security.properties (The system cannot find the path specified)
    java.io.FileNotFoundException: C:\Workspace\WOSEDISystem\BPEL_Domain_Creation\config\ejb.properties (The system cannot find the path specified)
    Warning: unable to read transaction.interoperability config property
    java.io.FileNotFoundException: C:\Workspace\WOSEDISystem\BPEL_Domain_Creation\config\security.properties (The system cannot find the path specified)
    java.lang.Exception: Failed to create "ejb/collaxa/system/ServerBean" bean; exception reported is: "javax.naming.CommunicationException: Can't find SerialContextProvider
    Is it right to use com.oracle.bpel.client.Server like this, please help me.
    Best regards,
    Vita

    Anyone can help me? Because I need deploy BPEL process on production server, so I need the Java funtion to create domain. Thank you very much if you can tell me the correct method of using com.oracle.bpel.client.Server API.

  • I would like to know how can I set songs in iTunes to play at different times automatically during the day. i.e. one song at 10am the other at 10:30am etc..

    I would like to know how can I set songs in iTunes to play at different times automatically during the day. i.e. one song at 10am the other at 10:30am etc..

  • My daughter and i share same itunes account but we want to separate and have our own. if i change "our" account to "her" account how can i set up a new "for me only" account and retrieve all my contacts and apps

    my daughter and i share the same i tunes account but want to have our own now. how can i set up a new account just for me and still move or transfer my existing apps, contacts etc?

    Yes, with the credentials of the account that the media/content was purchased with.
    Content is permanently tied to the account it is purchased with and cannot be merged, moved, or transferred to another account.

  • How can i set the alternating colors for a table rows

    Dear All,
    Please any one help me how can i set the Alternating colors for Table Rows.
    i created a theam there i set the background alternating color to brown and i set the table design properity to alternating. but it is not reflecting.

    Hi,
    The design property in Table properties should work for your requirement. Select "alternating" value for design.
    Please see the API below:
    design
    Determines the appearance of the table. The property design can take the following values and is represented by enumeration type WDTableDesign.
    alternating - The table rows are displayed alternately in a different color.
    standard - The table background has one color. The individual table rows are displayed with grid net lines.
    transparent - The table background is transparent. The individual table rows are displayed without grid net lines.
    Check whether you have changed the right property or not? Also table should contain more than one rows to test this scenario.
    Regards,
    Jaya.
    Edited by: VJR on Jun 17, 2009 6:43 PM

Maybe you are looking for