How to highlight some menuitem with colors ?

I want some of menuitem to be highlighted with background colors ?
Currently I can highlight all the menuitem with background color but not some of them ...
Thanks in Adavance !

I havent done much with that component before but can you not just specify a itemRenderer for the menuitem and then make the dynamic highlighting done in the custom renderer
**update**
the menubar has a property menuBarItemRenderer that you could use

Similar Messages

  • How to fill a symbol with color

    How to fill a symbol with color?

    Good day!
    What do you mean by »symbol« in this case?
    Is this on a Layer of its own or is it part of a photograph?
    Could you please post a screenshot with the Layers Panel visible?
    Regards,
    Pfaffenbichler

  • How to highlight word(s) with different colors?

    I have Mail, Version 3.2 (919/919.2)
    Re: color
    I see that it is possible to change the color of text and to change the color of the entire field background, but I want to be able to HIGHLIGHT certain words with light colors like yellow, not just change the color of the text.
    Is it possible to HIGHLIGHT word(s) in Mail?
    If so, how? I looked at all the options and read the Help etc.
    Lorna in Southern California
    web.mac.com/lorna6

    OK, outgoing messages. For some reason I thought you wanted to flag stuff in received mail. Mail Tags is certainly not what you want.
    Can you recall what keys or key combinations you used in Tiger? I presume it did more than simply change text to bold?
    If you have selected Rich Text in Mail's Preferences/Composing you can colour the text. Use Format/Show Colors to bring up the floating colour window (if you need it a alot have it up all the time) and when you select some text and click on one of the colours it will be changed to that colour - but not highlighted.
    AK

  • How to highlight Tree node with a diff color

    I have created tree node and want to highlight Selected node with a different background color. Any Ideas how can we achieve that? -R

    It's an item on page 4 of the application that the blog example is taken from. The tree query:
    SELECT EMPLOYEE_ID AS ID
         , MANAGER_ID  AS PID
         , CASE
             WHEN EMPLOYEE_ID = :P4_EMPLOYEE_ID THEN
                 '<span style="color:white;background-color:blue;">'||
                 LAST_NAME||
                 '</span>'
             ELSE
                 LAST_NAME
           END AS NAME
         , 'f?p=&APP_ID.:4:'||:SESSION||'::NO::P4_EMPLOYEE_ID:'||EMPLOYEE_ID AS LINK
         , NULL        AS A1
         , NULL        AS A2
      FROM #OWNER#.EMPLOYEESgenerates leaf nodes that link to page 4, setting the value of P4_EMPLOYEE_ID. When page 4 is rendered, P4_EMPLOYEE_ID contains the ID of the clicked node, the page displays details of the employee with this ID, and the case expression in the tree query causes the corresponding display value to be highlighted.
    See the sections Managing Session State Values and Using f?p Syntax to Link Pages in the documentation to understand how to set session state values using URLs.
    http://download.oracle.com/docs/cd/E14373_01/appdev.32/e11838/concept.htm

  • How to export table data with coloring of cell according to value.

    Hi all,
    I am using jdeveloper 11.1.1.6
    i want to export table data with lot of formatting. like with coloring of cell according to value and so many.How to do that?

    Hi,
    like with coloring of cell according to value and so many.How to do that?
    Answer is, you can't
    Frank

  • Need some help with color on a column.

    Hello
    I need some help on how I can set the color on either column header or the whole column.
    I have a report with where the first row display a total sum. The rows under that are htmldb_item.text where the user may input some values.
    The sum of these textboxes should match the the total column on top. If it does not match then the header or column should be marked red.
    I have one pl/sql prosess where i check this, and i return a message for that column, can I in this prosess set the column color for the report?
    report looks like this
    total1----total2----total3....
    box1-----box2-----box3....
    box1-----box2-----box3....
    box1-----box2-----box3....
    box1-----box2-----box3....
    so if the sum of all the box1s do not match total1 then column or header is red.
    thanks,
    Anders

    Hi Anders,
    have a look at Carls example: http://htmldb.oracle.com/pls/otn/f?p=11933:7:3740381051529350
    It works with row template, but maybe you can change it for working with column templates.
    chrissy

  • How to highlight the table cell color in respective colors as needed per the requirements??

    var aData = [
        {notificationNo: "10000000", description: "Maintenance for boiler", location: "G001-STG-UTLR-BLR", equipmentNo: "100000053", orderStatus: "ordered"},
        {notificationNo: "10000010", description: "Genreal Maintenance for boiler", location: "G001-STG-UTLR-BLR", equipmentNo: "100000053", orderStatus: "notordered"},
        {notificationNo: "10000011", description: "boiler Maintenance", location: "G001-STG-UTLR-BLR", equipmentNo: "100000053", orderStatus: "ordered"},
        {notificationNo: "10000012", description: "Pump breakdown", location: "G001-STG-UTLR-BLR", equipmentNo: "100000053", orderStatus: "ordered"},
        {notificationNo: "10000013", description: "External service boiler", location: "G001-STG-UTLR-BLR", equipmentNo: "100000053", orderStatus: "notordered"},
    jQuery.sap.require("sap.ui.model.json.JSONModel");
    var oEnterpriseAsset_NotificationConsole;
    sap.ui.model.json.JSONModel.extend("EAM_Notification_Console", {
        CreateNotificationConsole:function(){
            oEnterpriseAsset_NotificationConsole = this;
                var oTable = new sap.ui.table.Table({
                //title: "Table Example",
                visibleRowCount: 7,
                firstVisibleRow: 3,
                selectionMode: sap.ui.table.SelectionMode.Single,
            /*    toolbar: new sap.ui.commons.Toolbar({items: [
                    new sap.ui.commons.Button({text: "Button in the Toolbar", press: function() { alert("Button pressed!"); }})
                extension: [
                    new sap.ui.commons.Button({text: "Button in the Extension Area", press: function() { alert("Button pressed!"); }})
            }).addStyleClass("tableform");;
            oTable.addColumn(new sap.ui.table.Column({
            label: new sap.ui.commons.Label({text: "Notification"}),
            template: new sap.ui.commons.Link().bindProperty("text", "notificationNo").bindProperty("href", "href",
                    function(aValue)
            //    sortProperty: "notificationNo",
                //filterProperty: "notificationNo",
                width: "200px"
            oTable.addColumn(new sap.ui.table.Column({
                label: new sap.ui.commons.Label({text: "Description"}),
                template: new sap.ui.commons.Link().bindProperty("text", "description").bindProperty("href", "href"),
                //sortProperty: "notificationNo",
                //filterProperty: "notificationNo",
                //width: "200px"
            var oModel = new sap.ui.model.json.JSONModel();
            oModel.setData({modelData: aData});
            oTable.setModel(oModel);
            oTable.bindRows("/modelData");
        var idForTable= "DimTable"
            //alert("id of tbale " + idForTable);
            var htmlOutput = '<table id=' + idForTable + ' name="DimTab" style="border: 1px solid black;margin-left:15px;" cellpadding=6 cellspacing=0><tr style="background-color:#E5E5E5"><td><b>Dimension</b></td><td><b>Value</b></td></tr>';
            for(var i=0;i<aData.length;i++)
             alert(aData[i].notificationNo);
            htmlOutput += '<tr style="display:none;"><td style="border-right:1px solid #e5e5e5;">Contract No</td><td>'+ aData[i].notificationNo+'</td></tr>';
            htmlOutput += '<tr style="display:none;"><td  style="border-right:1px solid #e5e5e5;">Unit No</td><td>'+ aData[i].description+'</td></tr>';
            htmlOutput += '</table>';   
             var html2 = new sap.ui.core.HTML({
                 // static content
                 //content : "<div style='position:relative;background-color:white;'>Weather</div><script src='//www.gmodules.com/ig/ifr?url=http://www.google.com/ig/modules/builtin_weather.xml&synd=open&w=320&h=200&title=__MSG_weather_title__&lang=en&country=ALL&border=http%3A%2F%2Fwww.gmodules.com%2Fig%2Fimages%2F&output=js'></script>",
            content : htmlOutput,
                  //2 wrkng sydney content : '<div id="cont_Mzc0NjN8NXwxfDF8NHxlZGY1ZjV8M3xGRkZGRkZ8Y3wx"><div id="spa_Mzc0NjN8NXwxfDF8NHxlZGY1ZjV8M3xGRkZGRkZ8Y3wx"><a id="a_Mzc0NjN8NXwxfDF8NHxlZGY1ZjV8M3xGRkZGRkZ8Y3wx" href="http://www.weather-wherever.co.uk/australia/sydney_v37463/" target="_blank" style="color:#333;text-decoration:none;">Weather forecast</a> © weather</div><script type="text/javascript" src="http://widget.weather-wherever.co.uk/js/Mzc0NjN8NXwxfDF8NHxlZGY1ZjV8M3xGRkZGRkZ8Y3wx"></script></div>',
                  //content : '<div style="margin-left:-10px;margin-top:10px;width:100%;"><LINK rel="StyleSheet" href="http://weatherandtime.net/new_wid/w_5/style.css" type="text/css" media="screen"><div class="ww_5" id="ww_5_2119"><div class="l_b"></div><div class="c_b"><div class="day" id="d_0"><span class="den"></span><br><span class="date"></span><br><span class="temp"></span><div class="pict"></div><span class="press"></span><br><span class="hum"></span><br><span class="vet"></span><br></div><div class="day" id="d_1"><span class="den"></span><br><span class="date"></span><br><span class="temp"></span><div class="pict"></div><span class="press"></span><br><span class="hum"></span><br><span class="vet"></span><br></div><div class="day" id="d_2"><span class="den"></span><br><span class="date"></span><br><span class="temp"></span><div class="pict"></div><span class="press"></span><br><span class="hum"></span><br><span class="vet"></span><br></div><div class="cl"></div><div class="links"><a target="_blank" title="Pune Weather forecast" href="http://weatherandtime.net/en/Asia/India/Pune-weather.html">Pune Weather forecast</a><br><a style="font-size:12px !important;color:#12A0D7 !important;text-decoration:none !important;" href="http://weatherandtime.net/en/widgets-gallery.html" title="weather"></a></div></div><div class="r_b"></div></div><script type="text/javascript" src="http://weatherandtime.net/w_5.js?city=2119&lang=en&type=2&day=3"></script></div>',
              // initially behaves the same as Sample 1
                 preferDOM : false,
                 // use the afterRendering event for 2 purposes
        return     oTable;
    /* In the screen shot as u can see.. I have to highlight the table cell in green color and red color for ordered and unordered status(which is binded to a json data) respectively....anyone please help??

    Hi Abhi,
                   Check this link it may helpHow I made highlight of specific values in Table

  • How to highlighting cisco sintax with notepad++

    hello everyon
    I tried to highlight the cisco sintax with this help:
    http://www.linickx.com/875/cisco-asa-syntax-highlighting-with-notepad
    But it doesn't work, someone has another option?
    Thanks.

    Hi Vikrant,
    Hoping you are doing well.
    Firstly thank you fo contacting Cisco Support Community. Below is a brief sumamry on the query:
    The Cisco Jabber for Android is designed in order to work with Cisco Call manager and Cisco Unity Connection.
    CIsco Jabber for Andoid includes following limitations and restrictions. Below is the resource link:
    http://www.cisco.com/en/US/partner/docs/voice_ip_comm/cumc/cisco_jabber/Android/86/Cisco_Jabber_Android_8.6.x_Admin_Guide.html#wp808617
    As per the above link:
    Telephone integration with call manager versions 6.1.5, 7.1.5, 8.0.3, 8.5, and 8.6 ONLY
    Hope the above was informative. Please let me know if you have any further queries and we will be more than happy in assisting further on the same.
    Thanks and Regards
    Prashanthi Velpula

  • How to highlight the entire folder with the tag color, as before?

    I've always highlighted important folders with colors, so that they stand out among others in a list for quicker access. Now in Mavericks list view, there is only a small color dot to the right of the folder's name (sometimes very far from the folder's name if the column is large). As a result, it is much harder to pick important folders. Is there any way to apply the tag color to the whole folder, as it used to be in all previous systems? Or at the very least, to move the dot to the left of the folder name within lists, as in Icon view? I really hope Apple did not remove this feature simply for the sake of design. Thanks.

    mistersquid, S. G. is actually referring to the new Tags feature in Mavericks. This replaces entirely the Labels feature in previous versions of the OS, as far as I can tell.
    Labels would let you apply a color highlight to a folder. It would appear as a color behind the entire row.
    With Mavericks, however, Labels are gone and are replaced with Tags, which just puts a small colored dot off to the right of the folder name (and it's always like this, not just when you click on the folder), and some of these aren't distinct enough from one another (i.e. purple and gray look almost identical if you're scrolling through a series of "gray" folders pretty quickly—you may miss that one purple dot). Also, like S. G. mentioned, these can be pretty far off in your periphery if you've got long folder names, so this just adds another level of "hard-to-see-ness" (it's a technical term ).
    I'm a graphic designer and I have been using Labels to colorize my job folders according to their current status. For example:
    No label = job is open/in progress.
    The next color schemes were more of a "stop light" effect, going from red to green:
    Red = job is approved. Prep final files and send to printer/client.
    Yellow = job is done. Prepare job ticket/calculate time for billing.
    Green = job is done and job ticket is ready to go (hence the green color) to my co-worker for billing/invoicing.
    Gray = job is finished/billed/closed (i.e., I've "grayed it out").
    Purple = job transferred to another co-worker (i.e., I got too busy and they're working on it now). This one is a rarer color, and with Tags it's a bit difficult to discern one or two purple (more like a light lavender) dots in a sea of gray ones.
    I agree with S. G. and would love to see a stronger means of identifying the status of a project at a glance reappear—perhaps as a selectable alternative to Tags in the Finder preferences (because I can definitely see how the two means of colorizing a folder could compete with one another), like a checkbox to the effect of "Use Labels instead of Tags," similar to the "Open folders in tabs instead of new windows" option.
    Feedback submitted. Thanks, yodathejedi, for the link.
    Message was edited by: Xiebinrui -- oops, duplicated word. Fixed!

  • How to highlight days in IWDDateNavigator

    Dear Web Dynpro Java experts,
    I try to highlight vacation days dynamically in a DateNavigator element.
    I didn't understand the UI elements guide and I'm desperately looking for an example how to
    assign a Datenavigator legend to a datenavigator and how to highlight some days dynamically.
    What I don't understand is how to assign a marking to a legend and how to assign a special date to a marking/legend.
    IWDView thisView = (IWDView) wdControllerAPI;
    IWDDateNavigator DateNavigator = (IWDDateNavigator) thisView.getElement("DateNavigator");
    DateNavigator.setFirstSelectedDate(Date.valueOf("2009-03-24"));
    DateNavigator.setLastSelectedDate(Date.valueOf("2009-04-21"));
    IWDDateNavigatorLegend DateNavigatorLegend = (IWDDateNavigatorLegend) thisView.createElement(IWDDateNavigatorLegend.class, "DateNavigatorLegend" );
    DateNavigatorLegend.setText("test");
    IWDDateNavigatorMarking DateNavigatorMark = (IWDDateNavigatorMarking) thisView.createElement(IWDDateNavigatorMarking.class, "DateNavigatorMark" );
    DateNavigatorMark.setCategory(WDDateMarkingCategory.ONE);
    DateNavigator.setLegend(DateNavigatorLegend);
    DateNavigator.setMarking(DateNavigatorMark);
    Edited by: Daniel Wetzler on Apr 16, 2009 7:25 PM

    Okay, it's not too difficult if you know where to search...
    But since I searched for a long time for a manual to solve this problem I don't want to keep secret my findings :
    I will describe what I've done since I wasn't able to find an example here in a forum or the other docmentation :
    (I used Netweaver 2004.)
    Prerequisite is an Context Node with 3 Attributes in my case :
    Node "Data" with 3 attributes
    category (type : type     com.sap.ide.webdynpro.uielementdefinitions.DateMarkingCategory)
    date (type: date)
    tooltip (type : string)
    First I created the Datenavigator using the View Designer.  After selecting the DateNavigator element I could click using the right mouse button on the DataNavigator in the Outline.
    I chosed "Insert Legend" and "Insert Markup" to create the DateNavigatorLegend and DateNavigatorMarkup instances and bind them to the DateNavigator.
    The Tree view showed the Legend and the markup object.
    By clicking onto these objects and editing the properties window for them I could assign the node I described above as data source for the Legend and the Marking. I also filled the fields for tooltip, category and so on with the suiting parts of my structure.
    For example :
    Legend :
    category = Data.category
    datasource = Data
    text = Data.tooltip
    Marking
    category = Data.category
    datasource = Data
    tooltip = Data.tooltip
    date = Data.date
    The only thing I had to do now was to fill my node with the data to display
    marked days (in my example I did it in the wdDoInit of my view):
    java.util.Date mydate;
    mydate = Date.valueOf("2009-04-21");     
    IWDNodeElement Dataele = wdContext.nodeData().createElement();
    Dataele.setAttributeValue("category", WDDateMarkingCategory.ONE );
    Dataele.setAttributeValue("date", mydate );
    Dataele.setAttributeValue("tooltip", "Date" );
    wdContext.nodeProjectData().addElement(Dataele);
    To display marks of another Category I only had to add another elements to my node.
    Of course it is much better to create an extra node for Legend data.

  • How to highlight Icon with mouse click ?

    This program will open up a JFileChooser, Select one or more than one images from your computer. It will display them as Icons.
    I am trying to highlight any icon with mouseclick from the program below but I am not able to do it. Please help. Thanks in advance.
    import java.awt.BorderLayout;
    import java.awt.Color;
    import java.awt.Component;
    import java.awt.Dimension;
    import java.awt.Graphics2D;
    import java.awt.Image;
    import java.awt.RenderingHints;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import java.awt.event.MouseEvent;
    import java.awt.event.MouseListener;
    import java.awt.image.BufferedImage;
    import java.io.File;
    import javax.swing.*;
    import javax.swing.border.Border;
    public class IconIllustrate extends JFrame implements ActionListener, MouseListener
    JLabel[] lblimage = new JLabel[10];
    JPanel panAttachment = new JPanel();
    JPanel panButton = new JPanel();
    JButton bAdd = new JButton("Add");
    Component comp = null;
    Component c = null;
    boolean bolVal = false;
    public IconIllustrate()
    // TODO Auto-generated constructor stub
    panButton.add(bAdd);
    bAdd.addActionListener(this);
    this.getContentPane().setLayout(new BorderLayout());
    this.getContentPane().add(panAttachment, BorderLayout.CENTER);
    this.getContentPane().add(panButton, BorderLayout.SOUTH);
    * @param args
    public static void main(String[] s)
    // TODO Auto-generated method stub
    IconIllustrate ii = new IconIllustrate();
    ii.setLocation(300, 200);
    ii.setTitle("Testing Highlight Icon");
    ii.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    ii.setSize(400, 300);
    ii.setVisible(true);
    public void actionPerformed(ActionEvent ae)
    // TODO Auto-generated method stub
    if(ae.getSource().equals(bAdd))
    JFileChooser chooser = new JFileChooser();
    chooser.setMultiSelectionEnabled(true);
    int answer = chooser.showOpenDialog(this);
    File[] file = null;
    String[] fileName = new String[10];
    if(answer == JFileChooser.OPEN_DIALOG)
    file = chooser.getSelectedFiles();
    ImageIcon icon;
    try
    for(int i = 0; i < file.length; i++)
    icon = new ImageIcon(file.toString());
    ImageIcon thumbnailIcon = new ImageIcon(getScaledImage(icon.getImage(), 50, 40));
    lblimage = new JLabel[10];
    lblimage[i] = new JLabel();
    lblimage[i].addMouseListener(this);
    lblimage[i].setName("" + i);
    lblimage[i].setBorder(BorderFactory.createEmptyBorder());
    lblimage[i].setVerticalTextPosition(JLabel.BOTTOM);
    lblimage[i].setHorizontalTextPosition(JLabel.CENTER);
    lblimage[i].setHorizontalAlignment(JLabel.CENTER);
    lblimage[i].setIcon(thumbnailIcon);
    panAttachment.add(lblimage[i]);
    panAttachment.revalidate();
    catch(Exception ex )
    ex.printStackTrace();
    private Image getScaledImage(Image srcImg, int w, int h)
    BufferedImage resizedImg = new BufferedImage(w, h, BufferedImage.TYPE_INT_RGB);
    Graphics2D g2 = resizedImg.createGraphics();
    g2.setRenderingHint(RenderingHints.KEY_INTERPOLATION,
    RenderingHints.VALUE_INTERPOLATION_BILINEAR);
    g2.drawImage(srcImg, 0, 0, w, h, null);
    g2.dispose();
    return resizedImg;
    public void mouseClicked(MouseEvent me)
    // TODO Auto-generated method stub
    int clickCount = me.getClickCount();
    if(clickCount == 1 || clickCount == 2)
    Component comp = me.getComponent();
    Component c = comp.getComponentAt(me.getX(), me.getY());
    // c.setPreferredSize(new Dimension(100, 100));
    c.setBackground(Color.CYAN);
    System.out.println("clickCount");
    repaint();
    this.panAttachment.revalidate();
    public void mouseEntered(MouseEvent arg0)
    // TODO Auto-generated method stub
    public void mouseExited(MouseEvent arg0)
    // TODO Auto-generated method stub
    public void mousePressed(MouseEvent arg0)
    // TODO Auto-generated method stub
    public void mouseReleased(MouseEvent arg0)
    // TODO Auto-generated method stub

    Hi,
    phungho2000 wrote:
    Thank you for the Code. Now I am able to set the label border. I need to figure out how keep track of the last selected component so that I can reset the border.**g**
    No, you have still fundamental misunderstood how listeners are working. You add a listener to a component. From this time on, this listener is watching this component. It listens if something occurs with this component therefor it is competent. If so, then it will pay attention to this. So the listener always knows the components it is in charge of. There is no need for you to "keep track of the last selected component" because the listener is doing this for you already.
    import java.awt.BorderLayout;
    import java.awt.Color;
    import java.awt.Component;
    import java.awt.GridLayout;
    import java.awt.event.MouseEvent;
    import java.awt.event.MouseListener;
    import java.awt.event.FocusEvent;
    import java.awt.event.FocusListener;
    import javax.swing.*;
    public class FocusTesting extends JFrame implements FocusListener, MouseListener
      // There is no need for JLabel fields here.
      //JLabel labelA = new JLabel("Label A");
      //JLabel labelB = new JLabel("Label B");
      public FocusTesting()
        super("FocusTesting");
        JPanel paneFirst = new JPanel();
        JPanel paneSecond = new JPanel();
        paneSecond.setBackground(Color.gray);
        //use simply FlowLayout for testing this
        //paneFirst.setLayout(new BorderLayout());
        paneFirst.setBorder(BorderFactory.createBevelBorder(2));
        // pane.setBackground(Color.blue);
        JLabel labelA = new JLabel("Label A");
        // give the labelA a name only to show you, that the listener knows about the compontent it ist added to
        labelA.setName(labelA.getText());
        labelA.addMouseListener(this);
        labelA.addFocusListener(this);
        labelA.setFocusable(true);
        JLabel labelB = new JLabel("Label B");
        // give the labelB a name only to show you, that the listener knows about the compontent it ist added to
        labelB.setName(labelB.getText());
        labelB.addMouseListener(this);
        labelB.addFocusListener(this);
        labelB.setFocusable(true);
        paneFirst.add(labelA);
        paneFirst.add(labelB);
        this.getContentPane().setLayout(new GridLayout(2, 1));
        this.getContentPane().add(paneFirst);
        this.getContentPane().add(paneSecond);
      public static void main(String[] s)
        //separate the initial thread form the event dispatch thread
        SwingUtilities.invokeLater(new Runnable() {
          public void run() {
            FocusTesting ft = new FocusTesting();
            ft.setLocation(300, 200);
            ft.setSize(300, 200);
            ft.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            ft.setVisible(true);
      public void focusGained(FocusEvent fe)
        // TODO Auto-generated method stub
        JComponent jcomp = (JComponent)fe.getComponent();
        jcomp.setBorder(BorderFactory.createLineBorder(Color.GREEN, 5));
        System.out.println("focusGained " + jcomp.getName());
      public void focusLost(FocusEvent fe) 
        // TODO Auto-generated method stub
        JComponent jcomp = (JComponent)fe.getComponent();
        jcomp.setBorder(BorderFactory.createEmptyBorder());
        System.out.println("focusLost " + jcomp.getName());
      public void mouseClicked(MouseEvent me)
        Component comp = me.getComponent();
        comp.requestFocusInWindow();
        System.out.println("mouseClicked " + comp.getName());
      public void mouseEntered(MouseEvent arg0)
        // TODO Auto-generated method stub
      public void mouseExited(MouseEvent arg0)
        // TODO Auto-generated method stub
      public void mousePressed(MouseEvent arg0)
        // TODO Auto-generated method stub
      public void mouseReleased(MouseEvent arg0)
        // TODO Auto-generated method stub
    } You also should read again the Java Tutorial about Concurrency in Swing. Especially why and how to separate the initial thread form the event dispatch thread. [http://java.sun.com/docs/books/tutorial/uiswing/concurrency/initial.html]
    Also have a look on [http://java.sun.com/docs/books/tutorial/uiswing/misc/focus.html], especially [http://java.sun.com/docs/books/tutorial/uiswing/misc/focus.html#focusable] for why use the MouseListener too.
    And if you have understood that all, then you may think about in what way it would be much easier to use JButton's instead of JLabel's for your clickable and focusable thumbnails.
    best regards
    Axel

  • How to get the itunes with those 3 colored buttons on top left corner ????ner ???

    Please help [humble request] ----
    I have 3 problems can u please help me out --
    1) How to get the itunes with the 3 colored buttons (i'm new to apple ,just 8 days so i dont know much stuff) on top left corner ,i've downloaded thrice from apple's site directly i everytime got the same sort of itunes with 'File' ,'Edit' ,'View' ,'Controls' ,'Store' ,'Adanced' ,'Help' on the top ,and also whenever i open the itunes store (in this itunes) only the app store opens ,now music albums ,movies ,tv shows nothing !!
    2) I dont know how to import video files from the computer to itunes
    3)i bought an app [fifa 11] ,n downloaded another 1 [contract killer] {ive deleted them and downloaded them thrice ,and they dont sync to my itouch it shows error (0xE800004C)
    Please please please help me im getting worried and frustrated
    please help me out with this

    but illaass
    i asked 2 of my frnds both of them have windows n not mac ,both of them are sayin dat they have the coloured buttons one , and i asked them dat how to access the itunes music store they said that when they kliked d itunes store option in the left side a screen appears where 6 -7 categories are there which are music store ,app store ,podcasts ,movies ,tv shows etc . bt when i open it it only shows d app store ,and on the bar only 4 options are ther the home icon , app store , podcasts and itunes u ,and when i klik movies ,tv shows on the left side ,there is an option "browse for movies in the itunes store" i klik it and only the app store opens and nothing else .
    and thanks now i know how to import videos
    and sigma 1337 ,
    ive downloaded the apps 4 -5 times now , still d same error mssg it comes like dis :-
    " Some of the apps in your iTunes library were not installed on the ipod "Shomik's ipod" because one or more errors occurred "
    please help me  im gettin frustrated

  • Q: How do I Mask/Layer a color photo with a black and white photo?

    This is what I want to do. I've done it before but cannot remember for the life of me how to do it again. I want to put a color photo under (its own) black and white photo and then erase or remove or something (I can't remember the tool to do it) but I want to be able to see some of the color photo in my black and white photo. For example, say I have a pic of the Disneyland Castle. I want to make the pic black and white and then with a layer or mask (whichever one) have the exact colors of the picture underneith it show up after I have used the paint brush to remove the black and white...is anyone understanding me? When I did it before I know I did it in only a few steps, it wasn't super complicated, and I'm probably stupid for not knowing how to do it now. Thanks!
    Lindsey Henry

    Lindsey,
    First, look at the Channels in the B/W. Probably, you can use one of those as a Selection and then as a Layer Mask. If not perfect, then you can likely get close. If you need to, you might want to Blend more than one of those Channels.
    If you have an issue "collecting" the Channels, just get your B/W into a separate Image, and then drag individual Channels back to your composite image, and use them, as is necessary.
    Hope that some of those ideas are useful,
    Hunt
    BTW - turn OFF the color for Channels, so that you can see them as B/W, as that will help you see their makeup.

  • HT204216 Used to highlight just the portion of an article that I wanted to print and press print selection only.  How do you do that with a MAC?

    Used to highlight just the portion of an article that I wanted to print and press print selection only.  How do you do that with a MAC?

    Depends to some extent what application you're printing from, and what printer you're using, but here's the dialogue box for ⌘P in Firefox -
    Note the option to print selection only.
    Haven't looked before, but I can't find anything similar in Pages print options.
    It does appear in Word though.
    Message was edited by: noondaywitch

  • How to make the picker highlight some particular row when the Picker View appears on the screen ?

    Hi,
          I am using a UIPickerView to implement a picker with a list of names. Now when the Picker View loads and when the picker is displayed on the screen, the picker normally highlights the starting row. But I want it to highlight some other row apart from the one which loads by default. How do I do this. Lets say for example I have a picker populated with the names Monday, Tuesday, Wednesday & Thursday. Now when the picker appears on the screen it would have normally highlighted Monday since its the first element in the picker. But I want it to highlight Thursday. How do I customize my picker to do just this.
    Thanks
    bnas.

    For each characteristics in the query designer, right-click and go to properties....
    then in the 'Display of Results' section in the 'Suppress Result Rows' option, select: "Always".
    This will suppress the result rows.
    Good luck,
    AT

Maybe you are looking for

  • Operation can't be completed because the item "Database.sqlite3" is in use?

    "The operation can't be completed because the item "Database.sqlite3" is in use." Every so often when I go to empty my trash I get this pop-up message from the Finder - any clues as to where this file is being generated? I can't figure out where this

  • What is the cause of the XPath error in concat expression

    Hi, In a BPEL process I am working on I am building a list as follows - <copy> <from expression="concat(bpws:getVariableData('FMSNumbersList'),' | ',bpws:getVariableData('Invoke_1_GetFmsHeadersSelect_OutputVariable','FmsWaveAssignCollection','/ns5:Fm

  • Ideas on adding licenses to a 8.X Communications Manager cluster before upgrade to v10.

    Hi, hope is all well. This is something I started working with my global Cisco reseller but it takes sometime I wanted to make sure I see different options if possible to present. My company has deployments of collaboration products mainly on v8.x (a

  • Error While Creating Custom IDOC Segment using WE31

    Could anyone please help me resolve this issue. I am getting following error when trying to create a custom IDOC segment type using WE31. "Name range violation: Name Z1WOHDR not permitted in SAP system" Segment type trying to create: Z1WOHDR Regards

  • JSP Characters Displaying Problem

    Hi All, I have JSP pages "encoding is UTF-8" not displaying the Arabic characters properly, this happens when retrieving to retreive data "Oracle 8i (Character set UTF-8)". It is happens when I run this page under Linux AS 2.1 before it was fine unde