How to add an icon in the title bar,next to the maximize and minimize icons

I need to add an icon ( help icon; ?) in the JInternalFrame� title bar. Anyone could help me????
Thanks

have you get the answer ?? on how you add an icon to the title bar?? ...
if you do please inform me..
thanks

Similar Messages

  • Getting icon on the top bar next to the time and date

    When I sync my external Hard-drive an icon used to appear (time machine icon maybe?) on the top bar next to the airport, sound, date, time... and now its gone. How do I get that icon to reappear there? The icon would allow me to enter the time-machine.

    Time Machine System Prefs->check the "Show Time Machine status in menu bar."
    Note that most of Apple's status menu items are enabled this way.

  • After installing a new APP and open it, the title "NEW" next to the app name won't disappear

    Hello,
    Two days ago, I just made a clean Windows 8.1 installation.
    Since yesterday evening I have encountered this kind of issue where the title "NEW" next to the app name will just not dissapear after clicking on it.
    How can I solve this problem?
    Thank you for any solutions!

    Hi,
    Based on my research, it may be caused by the registry key corrupted.
    I suggest we try the following command to check if it works.
    1.Open an elevated command prompt: press Win+X, then click Command Prompt(Admin),and press Enter.
    2.At the command prompt, type the following command, and then press ENTER:
    Dism /Online /Cleanup-Image /RestoreHealth
    Meanwhile, please try the following troubleshooter tool to test it.
    Try App troubleshooter:
    http://download.microsoft.com/download/F/2/4/F24D0C03-4181-4E5B-A23B-5C3A6B5974E3/apps.diagcab
    Regards,
    Kelvin hsu
    TechNet Community Support

  • Complied chm file displays 'HTML help' on the title bar instead of the window name

    Complied chm file displays 'HTML help' on the title bar instead of the window name.
    I tried several ways like:
    1. Changed File>Project settings name and also set the language to English (US).
    2. Checked the Title name in .hhp file
    3. Used the window while compling.
    4. Robohelp language settings.
    5. Also uninstalled and reinstalled robophelp.
    But nothing helped
    The title name is displayed correctly if the same project is compiled on another machine.

    When the code in the HHP and the regional settings on a PC match, the correct title is displayed. Or other way around is also true the help title is displayed in the language specified in the help project IF (and only if) the regional settings of the PC match that language. Otherwise, "HTML Help" is displayed.
    Hope this help.
    Thanks and Regards,
    Rahul Karn

  • How to add a Button in JFrame title Bar ?

    Hi Folks,
    I want to add a button near to JFrame's Minimize Button(On the title bar). How can i do it ? Should i extend RootPaneUI and add custom button ? Any other easy ways to do this ?
    If anyone provides me Sample Code how to do it, It is much Appreciated.
    Thanks,

    There's no easy way to achieve this. You'll have to provide a RootPaneUI delegate with a custom title pane implementation. There, you'll have to provide a custom layout to position your button. In addition, this approach will not work on look-and-feels that do not support decorated mode (such as Windows or GTK) since under such LAFs the title pane always comes from the OS.

  • How to customize the title bar on my own Look And Feel?

    Hi all!
    I am creating my own Look and Feel which extends from NimbusLookAndFeel. What I'm doing is overwriting UIDefaults values??, referring to the Painters. For example:
    +uiDefault.put ("Button [Enabled]", new ButtonEnabledPainter());+
    But now I need is to customize the title bar of the JFrame's, but I do not see this option in Painter's values ??can be overwritten by Nimbus (http://docs.oracle.com/javase/tutorial/uiswing/lookandfeel/_nimbusDefaults . html).
    You know as possible? I have to overwrite an existing UI component? The idea is I want to make the look and feel like SeaGlass, but the code seems a bit complex to know where to begin.
    I hope you can guide me on this issue.
    Thank you very much for everything! And excuse my English!.
    Greetings!

    very simple example, with direct methods
    import java.awt.*;
    import java.awt.event.*;
    import java.util.LinkedList;
    import java.util.Queue;
    import javax.swing.*;
    public class NimbusBorderPainterDemo extends JFrame {
        private static final long serialVersionUID = 1L;
        private JFrame frame = new JFrame();
        private JPanel fatherPanel = new JPanel();
        private JPanel contentPanel = new JPanel();
        private GradientPanel titlePanel = new GradientPanel(Color.BLACK);
        private JLabel buttonPanel = new JLabel();
        private Queue<Icon> iconQueue = new LinkedList<Icon>();
        public NimbusBorderPainterDemo() {
            iconQueue.add(UIManager.getIcon("OptionPane.errorIcon"));
            iconQueue.add(UIManager.getIcon("OptionPane.informationIcon"));
            iconQueue.add(UIManager.getIcon("OptionPane.warningIcon"));
            iconQueue.add(UIManager.getIcon("OptionPane.questionIcon"));
            JButton button0 = createButton();
            button0.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    frame.setExtendedState(ICONIFIED);
            JButton button1 = createButton();
            button1.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    frame.setExtendedState(MAXIMIZED_BOTH | NORMAL);
                }//quick implemented, not correct you have to override both methods
            JButton button2 = createButton();
            button2.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    int confirm = JOptionPane.showOptionDialog(frame,
                            "Are You Sure to Close Application?", "Exit Confirmation",
                            JOptionPane.YES_NO_OPTION, JOptionPane.QUESTION_MESSAGE,
                            null, null, null);
                    if (confirm == JOptionPane.YES_OPTION) {
                        System.exit(1);
            buttonPanel.setLayout(new GridLayout(0, 3, 5, 0));
            buttonPanel.setPreferredSize(new Dimension(160, 30));
            buttonPanel.add(button0);// JLabel is best and cross_platform JComponents
            buttonPanel.add(button1);// not possible put there witouth set Dimmnesion
            buttonPanel.add(button2);// and LayoutManager, work in all cases better
            titlePanel.setLayout(new BorderLayout());//than JPanel or JCompoenent
            titlePanel.add(new JLabel(nextIcon()), BorderLayout.WEST);
            titlePanel.add(new JLabel("My Frame"), BorderLayout.CENTER);
            titlePanel.setBorder(BorderFactory.createLineBorder(Color.GRAY));
            titlePanel.add(buttonPanel, BorderLayout.EAST);
            JTextField field = new JTextField(50);
            JButton btn = new JButton("Close Me");
            btn.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    System.exit(1);
            contentPanel.add(field);
            contentPanel.add(btn);
            fatherPanel.setLayout(new BorderLayout());
            fatherPanel.add(titlePanel, BorderLayout.NORTH);
            fatherPanel.add(contentPanel, BorderLayout.CENTER);
            frame.setUndecorated(true);
            frame.add(fatherPanel);
            frame.setLocation(50, 50);
            frame.pack();
            frame.setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE);
            frame.setVisible(true);
            ComponentMover cm = new ComponentMover(frame, titlePanel);
            //by camickr http://tips4java.wordpress.com/2009/06/14/moving-windows/
        private JButton createButton() {
            JButton button = new JButton();
            button.setBorderPainted(false);
            button.setBorder(null);
            button.setFocusable(false);
            button.setMargin(new Insets(0, 0, 0, 0));
            button.setContentAreaFilled(false);
            button.setIcon(nextIcon());
            button.setRolloverIcon(nextIcon());
            button.setPressedIcon(nextIcon());
            button.setDisabledIcon(nextIcon());
            nextIcon();
            return button;
        private Icon nextIcon() {
            Icon icon = iconQueue.peek();
            iconQueue.add(iconQueue.remove());
            return icon;
        private class GradientPanel extends JPanel {
            private static final long serialVersionUID = 1L;
            public GradientPanel(Color background) {
                setBackground(background);
            @Override
            public void paintComponent(Graphics g) {
                super.paintComponent(g);
                if (isOpaque()) {
                    Color background = new Color(168, 210, 241);
                    Color controlColor = new Color(230, 240, 230);
                    int width = getWidth();
                    int height = getHeight();
                    Graphics2D g2 = (Graphics2D) g;
                    Paint oldPaint = g2.getPaint();
                    g2.setPaint(new GradientPaint(0, 0, background, width, 0, controlColor));
                    g2.fillRect(0, 0, width, height);
                    g2.setPaint(oldPaint);
        public static void main(String[] args) {
            SwingUtilities.invokeLater(new Runnable() {
                @Override
                public void run() {
                    try {
                        UIManager.setLookAndFeel("com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel");
                    } catch (Exception fail) {
                    UIManager.getLookAndFeelDefaults().put("nimbusFocus", Color.RED);
                    NimbusBorderPainterDemo nimbusBorderPainterDemo = new NimbusBorderPainterDemo();
    }

  • Tabs are not in the title bar even when the window is maximized on Windows

    if I'm right since FFX 4b9 tabs should be located in title bar when the ffx window is maximised on Windows OS. [[https://bugzilla.mozilla.org/show_bug.cgi?id=572160]]
    I'm on XP Pros
    This works fine on minefield for me.
    But under FFX 4b9 and 4b10... tabs are still under Firefox logo...

    Hello,
    I have same kind of issue, but for me it works only with maximized windows. On normal windows the tabs tags are still under firefox button. Like you can see on the images I uploaded.
    Is there any way to make it appear always like when maximized to fill the gap?
    Thank for your help

  • What does the E mean on the top bar next to the network provider

    hi i have an E next to the network provider - what does it mean

    O2 does have an EDGE network but I believe its not big yet. They are supposed to be expanding it rapidly.
    If you are seeing an E on the device then you are already subscribed to EDGE. I'm picking it up on my non-iPhone device here in the UK on O2.

  • To retain the title bar as in the page when we scroll down the report.

    Hi,
    I want to retain the Report name in the page when i scroll down to access the report columns. i don't want the report name to disappear when we scroll down the report.
    Is that possible??
    if yes...how??
    Thanks.

    Hi,
    Try to configure Freeze Panes in OBIEE11g it will resovle your issue (obiee11g version obiee11.1.1.6.0 and above)
    http://oraclebisolutions.blogspot.com/2012/12/freeze-column-headers-in-obiee-11g111160.html
    http://ebs2obiee.wordpress.com/2012/05/08/freeze-panes-in-obiee11g-working-solution/
    Thanks
    Deva

  • Firefox used to have an option on the navigation bar next to the back/forward buttons that showed navigation history - I could go back ten screens w/o hitting the back button ten times. Does the new version have this feature? If so, how do I enable it?

    It was a triangle button that provided a drop-down menu of my most recent navigation history within a site. Very convenient, esp for slide shows if I wanted to return to a slide that was 10-12 slides back.

    Firefox still has this feature, you just click and hold the back button or the forward button, depending on whether you want to go back or forward.

  • How do you make the title bar display different text than the page title?

    I'm looking for a way for the title bar display of my web page to be different than the text in the actual nav bar created by iWeb. For instance, I'd like the nav bar to just say Home for my main page, but in the title bar in the browser say "blah blah blah."
    I know there has to be a way to do this. iWeb has actually done it on one page already, but I can't figure out how. I think it picked up the title bar text from the first text box in the page. For instance, the page name in the navigation bar is "blahs for today" but the browser title bar when you open that page says "blah blah," which happens to be the first line of text on the page. The page title in iWeb.app, though, is "blahs for today." But if I look at the source code it lists title as "blah blah."
    I'm guessing I might be able to work around by making an invisible text box with the text that I want in the title bar as the very first thing on the page, and hope iWeb makes that the title bar text. I'd rather have a more correct way of doing it.
    Is there a way of doing this in the source code without having to change a lot of stuff?
    Thanks for any help.

    Richard Kirkman1 wrote:
    I think it picked up the title bar text from the first text box in the page. (...) I'm guessing I might be able to work around by making an invisible text box with the text that I want in the title bar...
    Richard ~ The key is the default Title box that iWeb creates for every new page — it's that which you need to edit, not another text box you've created. And to make the text in that Title box invisible, see here.

  • After installing FF4 on 2 computers (both Win7Ultimate), one places tabs in the title bar, the other below it; how can I get both to place tabs in the title bar?

    I have the same options selected on each computer, both have "Tabs on top" selected.
    The one I am using now has a double-height title bar, with the Firefox botton on the top left, and tabs below it also on the left.
    The right side of the title bar is blank (semitransparent) space.

    Found the problem - on one computer, I run Firefox maximised, and Tabs go into the title bar.
    On the other, Firefox runs in an unmaximised window, and tabs sit below the title bar.
    This seems very silly.
    Hey, developers, how about keeping the tabs in the title bar all the time? This is a good feature spoilt by this quirk.
    How about changing it for the next update?

  • Odd action using the icon in the title bar of image in psCS5--???????

    i use imac, lion.
    by accident, i discovered that, clicking on and dragging the icon at the left of the title bar (actually within the title bar to left of file name),  i can sometimes open the
    image in ACR,  as hosted by BRIDGE (which is not running. i do not use bridge).
    sometimes the image will be duplicated following this dragging of icon, the new duplicate lying atop the image of the background layer, in the same window, and shows the diagonal bars awaiting resizing. if i just click the ("checkmark")  in the options bar to accept this new layer,  or, if i  press enter, i am looking at a new layer, which is a duplicate of the background layer. this new layer is a "SMART OBJECT", and functions as such.
    this happens only with JPG and TIF files, not with RAW.  i have ACR prefs set to open all supported jpg and tif files.
    i should note that none of this occurs if the image has been edited in any way. in fact, after any edit the icon in the title bar is not movable.
    i am having some difficulty describing a simple and quick process. i don't know if this is a bug, a feature, or the result of too much RED BULL!  i Just reread post and it does seem delusional.
    can anyone help?

    it seems to work with or without the shift key.
    I work with OS 10.6.8 and you are right that it works without shift, too.
    My surmise is that the title bar’s icon of non-dirty files (files that have no History steps save the Open-step or have just been saved) behaves like the file’s icon in the Finder as the behaviour seems to be exactly like a drag-and-drop from the Finder (as a Smart Object if set in the Photoshop > Preferences > General > Place or Drag Raster Images as Smart Objects, not if set otherwise) and works across files, too.
    I don’t think I had noticed that previously, but that behaviour may well be fully intentional.

  • How can I move files using the title bar

    I am using Mountain Lion, latest release (10.8.4) and am wondering if there is some secret options which would allow me to move files by clicking on the title bar (of e.g. preview) and moving it to a directory.
    Unfortunately, I can only either create a link or copy the file. Moving seems to be deactivated, though I have learned from other forums posts that this was working under Tiger.
    Any advise would be greatly appreciated.
    Thanks,
    equi

    Depends on the application. iCloud-aware applications (Preview, Pages, etc) have the behavior you describe, and you can't move a file by dragging the thumbnail icon, but there is a small popup triangle to the right of the filename which contains the option "Move To" - you can then select your destination. It's not as seamless and dragging and dropping, though, I agree.
    Non-iCloud-aware apps, like Office 2011, still allow drag-to-move from the titlebar icon.
    Matt

  • How can I get back the title bar in Thunderbird 38?

    The title bar can be turned on and off in Firefox. In the current version of Thunderbird (31), the title bar is present by default and there is no option to turn it off. In the beta version (38), there is no title bar by default… but I can't believe that there's no way to get it back. So, where is this setting? I can't find it.

    I sure agree that the setting isn't easily discoverable, but that's too late for the 38.0 release given that string freezes went in effect already (the reason being that localizers have to translate all UI elements for their respective language).
    The respective [https://bugzilla.mozilla.org/show_bug.cgi?id=814571 bug report] has been up for more than two years, but thus far not much progress in terms of a solution acceptable by the developers. I don't know if the extension proposed in the last comment was ever developed and posted.

Maybe you are looking for

  • Scheduling Agreement - Priority for GR Processing Time

    Dear Forum Members, While defining Scheduling agreement for a material we can define the GR processing time and Planned Delivery time,likewise we define in the material master also. 1.While running MRP which one has the higher priority? 2.After runni

  • RE: Video Output to TV Monitor

    Hi people. Im using logic express 7, mostly for audio only but now I need to edit the audio of a short film. I have a canopus advc 100, but could not find where in song settings is the option to play the video to it. So I was wondering if logic expre

  • POSSIBLE SOLUTION to no start-up

    Hi all, For the past 48 hours, I had been working with a Mac Mini that would not start after I shut it down to move it to a different location. I did all of the help topics from Apple and from this discussion forum (thanks to all who tried to help!)

  • Best way to implement 100% discount in Pricing Prod  based on Customer

    What would be the simplest way to implement 100% discount based on customer. I was thinking to do it via Customer Hierarchy... Suggestions are appreciated.. Message was edited by:         Robert Robbin

  • How to solve partially inactive keyboard shortcuts

    Hello, I'm running Illustrator cs5 in Windows 7 64bit. My issue is that I will do something such as select some items, and then I will attempt to use a keyboard shortcut, such as group, copy or paste (or wireframe, which I use a lot) and it wont trig