Panel on-top of a JTable

Hi,
I've a JFrame with a JTable and some buttons.
I want to show a panel with a progress bar.
It should be placed on top of the JTable component.
Thanks in advance
Agostino

Thanks, i didn't know ProgressMonitor, it's useful but i'm intrested in something not based on dialogs.
So, the problem is putting a little JPanel with the progress bar on top of a JTable. Sun expects you to use a LayeredPane, but the tutorial is quite complex and i need a suggestion.
Tnx
Agostino
Edited by: agostino75 on Nov 2, 2009 1:52 AM
Edited by: agostino75 on Nov 2, 2009 1:54 AM

Similar Messages

  • My iPhone is split from front panel on top, and back cover of my is swollen too. I am not able to use my phone and I cannot access my data in the phone. Please suggest what could be the cause of this problem?

    My iPhone is split from front panel on top, and back cover of my is swollen too. I am not able to use my phone and I cannot access my data in the phone. Please suggest what could be the cause of this problem?

    It sounds like the battery might have gone bad, and is swelling and causing the symptoms you describe.  Do not attempt to use the phone, but take it to Apple for evaluation.

  • Adding a panel on top of another panel

    Hi all,
    I am using NetBeans and have created a JApplet with a JPanel inside (given the default name of panel), and I want to add another panel on top of that.
    I have another class, MyPanel that extends JPanel, and I have put some simple graphics in and tested this with a JFrame. In the JFrame, the myPanel is showing up with its graphics.
    I tried to add myPanel to panel, but I cannot see myPanel.MyPanel myPanel = new MyPanel();
    panel.add(myPanel);Can somebody please point me in the right direction to get myPanel on top of another panel?
    Thanks,
    Jeff
    Edited by: jeff_cia on Nov 20, 2008 6:54 PM

    You would do well to read the section on the [layout managers|http://java.sun.com/docs/books/tutorial/uiswing/layout/index.html] at the Sun tutorial site.

  • How do I keep the front panel on top of every windows (including non-LabVIEW windows)?

    The question above states it all.  Basically I have a progress bar the tells the user to wait and I want it to remain in front of anything that pops up while it is running.  My program opens up and deploys a VeriStand project and while it is doing that I dont' want the user to be able to do anything in the front panel that launches it.  When VeriStand launches it goes in front of the status window and you can't see it anymore.  I want to prevent this from happening and keep it in front of any VeriStand windows that pop up when I call the executable and the deploy an SDF.  I did take a look at the WINUTIL.llb but it keeps either 1) giving me errors or 2) not keeping it on top of anything but the main front panel.
    Any fixes or alternative solutions would be much appreciated.  Thank you.

    I did read that earlier and I just think I don't know enough of what I'm doing with library calls to make it work.  I kept getting errors and gave up on at the end of the day yesterday.  I'm working on other problems since this isn't a major one and figured I'd post it and see if anyone already had a solution to it.
    Thanks for the help though, it's appreciated.

  • Still can't dock Properties Panel at top in CS5

    While I'm pretty happy with the improvements to Fireworks CS5 what I'm most annoyed with what Adobe didn't fix: Allowing the Properties panel to dock to the top!
    This was something that you could do in CS3 and earlier, but was removed with the CS4 UI redesign, supposedly for suite consistency. I was hoping it would finally come back in CS5 but no luck.
    Seems ridiculous to allow the 900-pixel wide Properties panel to dock to the sides but not the top! Not to mention, most other CS products (except Dreamweaver) have similar Options or Property inspectors at the top...so if they're going for consistency, they should allow the Fireworks Properties panel to dock the top. And, yes, I wish I could I move the Dreamweaver Properties panel to the top as well.
    Thanks for letting me vent...submitting a feature request on this wasn't enough.

    What would be the advantage of docking it at the top? I cant find one myself.
    What kind of answer is that
    What is the advantage of having it docking at the bottom ?? Surely it's a matter of personal preference ? Why have it dock at all if you think it should always be at the bottom ?
    I've been using Fireworks for years and (for reasons I can't remember) have always had the Properties panel docked at the top.
    Now, after paying lots of money to upgrade to CS5, I really can't believe that it won't let me have the panels arranged like I want them !
    This may seem like a trivial issue, and I'm obviously not a normal user, but it's annoying me so much that I don't even want to use FW CS5

  • Child panel in parent panel- strange top value

    Hi!
    I want to write application where I have menu with buttons. Depending on the button pressed the buttons should hide and another design bring on front.
    I don't have any ideas except make that on different panels. I made one parent panel, and a few child panels. When I click button the panel with buttons hides and I'm displaing another panel with width and height equal to parent panel. I can't understand why I have to always have value equal to 30 in top property of child panel. Left property is set o zero and it's displaing OK. When I set 0 to top property the child panel is partially hidden in parent window.
    Why the top property have to be always set to 30 to display exactly panel in panel? I tried to switch on and off titlebar, but it seems taht is no problem. Anyone can explain me that behaviour? Maybe any other ideas to make that kind of application? I don't want to use tabs.

    I'm attaching some pictures so that there's no confusion over what I'm talking about. I'm using the userint/panels.cws, but I modified childPanel1 to be the exact height of the parent panel as you can see in this picture taken from the UI Editor:
    If I don't programmatically set the top of the panel and auto-center vertically is not set to true, then I get this when the panel is loaded. You can see that the panel is being cut off because it loads inside the parent panel using the top value set in the UIEditor.
    If I set the child panel to auto-center vertically it looks like this. You can see that the child panel's title bar is partially obscured due to the auto-centering, and the splitter at the bottom of the child panel is not visible.
    If I then programmatically set the top and left to (0,0) I get this. The frame of the child panel (including the title bar) is hidden, but you can see that everything on the panel is visible:
    If I programmatically set the top to 30 it looks like this. The title bar is visible but you can see that the control at the bottom of the panel is now no longer visible:
    I'm assuming that you're seeing the behavior in the 4th screen shot when you set the top to 0 and something similar to the 5th screen shot when you set the child panel top to 30. I'm guessing that due to the font being used on your machine, the thickness of the child panel title bar is actually 30 so it doesn't stand out quite as much as mine.
    When setting the position of a panel inside another panel, the frame (which includes the titlebar) is ignored, so that (0,0) cooresponds to the very first pixel that is actually visible in the panel. I'm guessing that what you want to do is either:
    A) Disable the titlebar in the child panel and set the frame thickness to 0, or
    B) If you need the titlebar of the child panel to visible, change the height of the of the child panel to be = (height of parent panel - 30).
    Kevin B.
    National Instruments

  • Dreamweaver Panels - Only one panel visible at a time, others get obscured even with Always On Top.

    I have a problem with my Dreamweaver MX, and it is that I can only see one panel at a time, any other open panels get obscured. For example, with the work space maximized, and having the properties and behaviors panels open, I can only see one of the panels at the same time. If I click on any area of the work space each open panel will display and with the next click the other will display. If I make the work space smaller then the whole area of my screen, and move any open panels outside of the Dreamweaver work space, only then they will stay visible. I know this is not normal behavior, because I used to be able to see all the open panels simultaneously, with the work space maximized to use all the screen area. I went to Preferences> Panels> Always On Top, and all the checkmarks are still set, so as to keep all panels on top at all times, but this does no longer be the case. Can someone tell me what happened here, and how I can get back to being able to see all the open panels? BTW, I tried installing older version of Dreamweaver 4, and the same thing happens to both installed versions. This is extremely annoying!
    Thanks. -Al.

    Since I upgraded to Firefox 19 from 18.0.2, on my Windows XP (SP3) laptop, I, too, can no longer open a new window. File-->New Window does nothing; also can no longer tear off a tab and open it in a new window (it stays where it is). Also, if I right-click on a tab and select Move to New Window, nothing happens. All of these worked fine in FF 18.0.2. All of these work fine with FF 19 on Windows 7. Only an issue on my XP laptop.
    After trying to open a new window, and not seeing the new window come up (and yes, I waited a long time), I decided to close my current window, which had multiple tabs open. Instead of just closing, it pops up the message reminding me that I'm about to close all those tabs. If I say close, and then go into the Task Manager, the Firefox application has disappeared (as expected), but the firefox (and plug-in container) processes are still running. So I have to manually kill the Firefox process to get it to quit. it's as if it thinks there is another Window open (the one I tried to open but never appeared). This happens every single time! I've restarted my laptop, and that does not resolve the problem.
    Is there a way to downgrade back to v 18.0.2 until this is fixed?

  • Is it possible to add a jpeg and a layer on top

    Hi,
    I want to add a jpeg image as a background to an applet then i want to add a layer (perhaps a panel) on top of this to draw circles and lines using the Graphics2D class.
    Is it possible to do this??
    If so can you point me in the right direction please.
    Many thanks

    /*  <applet code="AppletBackground" width="400" height="400"></applet>
    *  use: >appletviewer AppletDrawing.java
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.geom.*;
    import java.awt.image.BufferedImage;
    import java.io.*;
    import java.net.*;
    import javax.imageio.ImageIO;
    import javax.swing.*;
    public class AppletBackground extends JApplet
        public void init()
            BackgroundPanel panel = new BackgroundPanel();
            setContentPane(panel);
            getContentPane().setLayout(new BorderLayout());
            getContentPane().add(panel.getUIPanel(), "North");
        public static void main(String[] args)
            JApplet applet = new AppletBackground();
            JFrame f = new JFrame(applet.getClass().getName());
            f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            f.getContentPane().add(applet);
            f.setSize(400,400);
            f.setLocation(200,200);
            applet.init();
            applet.start();
            f.setVisible(true);
    class BackgroundPanel extends JPanel
        BufferedImage image;
        boolean fill;
        public BackgroundPanel()
            loadImage();
            fill = true;
            setOpaque(true);  // for safety (laf variant)
            setBackground(Color.white);
        protected void paintComponent(Graphics g)
            super.paintComponent(g);
            Graphics2D g2 = (Graphics2D)g;
            g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
                                RenderingHints.VALUE_ANTIALIAS_ON);
            int w = getWidth();
            int h = getHeight();
            int side = Math.min(w, h)/4;
            int imageW = image.getWidth();
            int imageH = image.getHeight();
            double xScale = (double)w/imageW;
            double yScale = (double)h/imageH;
            double scale;
            if(fill)
                scale = Math.max(xScale, yScale);
            else
                scale = Math.min(xScale, yScale);
            double x = (w - imageW * scale)/2;
            double y = (h - imageH * scale)/2;
            AffineTransform at = new AffineTransform();
            at.translate(x, y);
            at.scale(scale, scale);
            g2.drawRenderedImage(image, at);
            g2.setPaint(Color.red);
            g2.draw(new Rectangle2D.Double(w/2 - side/2, h/2 - side/2, side, side));
            g2.setPaint(new Color(200,240,240,100));
            g2.fill(new Ellipse2D.Double(w/2 - w*3/8, h/2 - h*3/8, w*3/4, h*3/4));
            g2.setPaint(new Color(180,0,180,40));
            g2.fill(new Ellipse2D.Double(w/2 - w*13/128, h/2 - h*13/128, w*13/64, h*13/64));
        public JPanel getUIPanel()
            final JCheckBox fillCheck = new JCheckBox("fill", true);
            fillCheck.addActionListener(new ActionListener()
                public void actionPerformed(ActionEvent e)
                    fill = fillCheck.isSelected();
                    repaint();
            JPanel panel = new JPanel();
            panel.setOpaque(false);
            panel.add(fillCheck);
            return panel;
        private void loadImage()
            String fileName = "images/timberwolf.jpg";
            try
                URL url = getClass().getResource(fileName);
                image = ImageIO.read(url);
            catch(MalformedURLException mue)
                System.out.println("Bad URL: " + mue.getMessage());
            catch(IOException ioe)
                System.out.println("Read trouble: " + ioe.getMessage());
    }

  • Keep Pallets On Top in CS4

    I've been working to save my CS4 layout so my panels are repositioned as they were in CS3 (which was a better layout in my opinion).
    However, I can't keep the panels on top of my foreground image I'm working. In CS3, when you would move the window of the image your were working on, it would always slide UNDER the panels. Now, in CS4 it's always on top. This makes it vary difficult to grab new tools and edit content in layers when the image your working on is blocking your pallets. I'm constantly having to drag things around.
    Is there any way to configured CS4 to keep all the panels on top, Ala how Windows XP keeps the taskbar on top of all other windows?
    Thanks!

    Several things come to mind:
    1.  Use Tabbed view.  Yes, I understand that people who are used to the old Photoshop greatly prefer windowed view, but try using the Tabbed view instead for a few weeks. It solves the problem you're describing and it actually can grow on you. I know; I was a die-hard windowed view fan and I finally converted, and lo and behold I now like tabbed view a lot.  It just seems to work better.
    2.  Drag the panels out of their docked position so they're floating.  Then they will stay on top of the image edges.  If you have only one monitor, you might consider running Photoshop as "restored" (i.e., windowed and not full screen), and narrowing the main window - so the panels are out over the desktop.  This is similar to what people with multiple monitors often do.
    Hope these suggestions give you some ideas to try.
    -Noel

  • How to control the size/posit​ion of LabVIEW DLL front panel in MFC applicatio​n?

    I would like to make a MFC application which loads a DLL generated by LabVIEW application builder. How can I control the size and position of the front panel in my MFC application? Thanks.

    Did you build the DLL from Labview yourself? If so, you just add another VI to the list. This VI accepts the Title of a front panel and top,left,right,bottom value of the front panel (VI property WindowBond). I'm not familiar with building DLLs using Labview so I really could not help you on how to build the DLL, but I believe it can be done (multiple VIs as multiple functions in a single DLL).
    To get the windows bonds for a vi, you need to use VI server property. Check out the examples under labview directory. There are plenty of them to demostrate how to use this feature.
    Joe

  • How to get the navigation bar on top of the border?

    Hi
    I have captured some captivate files (in Captivate 5.5) which I need to make look similar to the existing ones. I don't have source and am not aware which version of Captivate was it built on.
    Now, the existing ones have the navigation panel on top of the border like this:
    However, in my version I am getting the border on above the border like this:
    Is it possible to get the bar on top? If yes, how?
    Thanks
    Sreekanth

    Hi Sreekanth,
    Please try following step :
    - open project
    - click on project menu
    - Select Skin editor
    - set position to 'TOP'
    Check the image for more information

  • KDE Konfusion: 1 panel needed to be recreated; toolbox non-responsive

    I've been using Arch for about 2 minutes and KDE for about 2 seconds.
    I should say that I'm not confident I understand KDE's terminology yet and the more I read, the more confused I get. I'm somewhat frustrated by KDE's built-in help because it seems only to explain the easy things and never the difficult or detailed ones!
    So I configured my desktop (I think it is a desktop - or is it a "containment" or "plasmoid"?) as follows:
    - 1 panel at top left of screen containing three different launchers (menu, kickoff, lancelot) so I can try them out, knowledge base widget, various application launchers
    - 1 panel at top on right of screen just to left of the desktop toolbox (not sure this is the word - it has a cashew and sometimes the word "desktop" and cannot be moved or altered as far as I can tell) containing other widgets including the system tray, notifications, monitors, clock, navigational stuff (activities, dashboard, show desktop, pager) etc.
    This seemed to work fine until I started up today. The right panel continued to work fine. The left panel responded only to right-clicks. Left-clicking on the leftmost widget changed virtual desktop. Left-clicking on others either did nothing or also changed to the same virtual desktop. The desktop toolbox was entirely unresponsive initially although it now seems to also take me back to the same virtual desktop if I click on it.
    Rebooting did not help.
    I removed the left panel, added it again and reconfigured it. That now seems to be working - at least for now.
    The desktop toolbox remains unresponsive and I cannot, as far as I know, remove and replace this. I have tried various somewhat random configuration changes but nothing seems to have any effect whatsoever.  Right now, left-click on the cashew takes me to the same virtual desktop. Right-click is just like right-click anywhere else on the desktop.
    One thing I've noticed is that the word "desktop" no longer shows up all the time. Also it no longer looks as 3d as it did before. It used to be slightly deeper than my configured panels but now it looks more like just another very small mini panel (which doesn't do much).
    When I shutdown last night, plasma crashed. This seems to occur more frequently than I like (ever since I installed Arch - before I'd made anything really by way of changes to KDE). Every time, it takes me through a process of requesting and gathering bug info and then announces that there's not enough so it isn't worth sending a report to the developers. I don't know if this latest crash is connected to what I'm seeing or not.
    I am not sure what the difference between the "Desktop" and "Desktop Icons" activities are but "Desktop" seems to be the default one and I think I'm just staying in that activity. (I did try switching just to see if it made any difference but it didn't help.) I mention this only because I'm not really clear what activities are and so I'm not sure whether it might be important or not.
    I realise this sounds very confused. That's the result of spending the entire day trying to figure out what is going on with man pages (are there such things for KDE?), help centre, google, arch's forum/wiki search and random trial-and-error. I mention this only because I suspect it will look as though I haven't bothered trying to find the answer which I'm sure must be obvious really. (I'm sure there was a simpler way of rejuvenating my left panel than removing it and making another, as well!)
    Any pointer would be extremely welcome.

    Thanks. ihatethecashew sounds great. RIght now, KDE has randomly decided to not let me install further widgets so although it is built I cannot use it. But I expect it will randomly decide otherwise at some point.
    On reboot today, my left panel was again not usable. So I decided to remove it again and add everything to the right panel. Maybe having more than one is a problem?
    I appreciate the link, too. I think I've found parts of that site when googling for things but not the introductory page which you linked to.
    Also, just after I installed ihatethecashew, the toolbox cashew randomly responded again although it has now refrozen.
    I'm pretty sure there's some logic to this - I just haven't a clue what it is yet!

  • Panel menu title bars disappear

    I have a long standing problem with the panel menus top and scroll bars disappearing. This happened in CS5 and still occurs in CS6 for me. I use a Mac Pro hexacore with three monitors (two video cards). It occurs after placing a document or switching from another app. Resetting prefs does not help. The work around is to reset the workspace or hit the tab key twice to redraw the palettes or click on the finder and back on an ID window. I leave lots of panels open on the right secondary screen with the main interface on the primary screen and misc. on the left screen. No issues like this in other apps.
    Any thoughts?
    Message was edited for clarity

    I would try restoring your InDesign preferences. This posting tells you how to do that:
    http://pfl.com/trb

  • WM/Menu/Panel - Need Help/Suggestions

    At the moment, I'm running KDE 3.5... with OpenBox3 as the window manager. I like the KDE apps, and the OpenBox look and feel. I really, really like Xfce4's panel and right click on desktop menu, and was wondering if it is possible to give up the DE and just have OpenBox with Xfce4's menu and panel. I could still use the KDE apps but I would not use the DE. I do not like the OpenBox menu, even if it is xml/standard. I know the panel is possible, but not so sure about the menu. I don't want to have to download all of Xfce4 though. I don't need Terminal or Thunar or that stuff.
    If anyone has any ideas or suggestions I'd appreciate it.
    Thanks,
    Zack

    If you want to run XFCE and just substitute Openbox as the window manager, you can look here:
    http://icculus.org/openbox/index.php/Help:XFCE/Openbox
    It's also possible to run Openbox, and then launch the XFCE panel on top of it (xfce4-panel).
    I'll also second that the XFCE apps (Thunar and their terminal program) are quite light and fast.  If you don't want them, they shouldn't get in the way. 
    Chris
    Sjoden wrote:At the moment, I'm running KDE 3.5... with OpenBox3 as the window manager. I like the KDE apps, and the OpenBox look and feel. I really, really like Xfce4's panel and right click on desktop menu, and was wondering if it is possible to give up the DE and just have OpenBox with Xfce4's menu and panel. I could still use the KDE apps but I would not use the DE. I do not like the OpenBox menu, even if it is xml/standard. I know the panel is possible, but not so sure about the menu. I don't want to have to download all of Xfce4 though. I don't need Terminal or Thunar or that stuff.

  • Keywords: how to unselect all keywords in Keyword Panel

    I know the answer will be ridiculously simple, but what am I doing wrong here:
    I am in Grid view with the Keyword Panel expanded on the left side of the screen. One of the keywords is highlighted--let's say, as an example, I have "wildflowers" highlighted.
    Let's say I decide I need to search for a slide but don't want to search within that keyword. If I enter my search term in the Find input box, it just looks within the keyword I happen to have selected.
    In order to make the Find search look at all my images regardless of keyword, I have to select ALL the keywords.
    There must be an easier way to unhighlight all keywords in the Keyword Panel. It seems you can move the highlight up and down but you always have one keyword highlighted.
    Help.
    Stan

    >I think I see that the only way to remove the highlight from all Keywords is to go up to the Library bar and select All Photographs.
    Stan, you can also click on any collection or any folder, or Previous Import or Quick Collection. Note that Ctrl-B is the shortcut to display the Quick Collection.
    > In the Library modules left panel, the top sections top item is All Photographs.
    Bob, Judith is trying to avoid that by hopefully using a shortcut key to display All Photographs. But there isn't one.

Maybe you are looking for

  • ITunes will not install on a 64 bit PC Win 7

    iTunes will not install on a 64 bit PC running Windows 7 with all updates. Most answers send you to a "cleaner" of somekind that check for errors in you PC and then wants to charge you to clean it.  My PC is CLEAN. Something is keeping iTunes from in

  • Help required in number get next FM

    Hello all, I want to create a external number for notification number by using FM NUMBER_GET_NEXT but i i am unable to find the proper help to fill parameters nr_range_nr and object. Could any one please help me in this issue. Rregards, Gupta

  • Flash 2D Column not grouping data points

    I am trying to use a Flash column chart to display 3 data columns (Planned, Scheduled, Completed) by Month. It works fine as a stacked bar, but when I try to do it as a bar, expecting to see the 3 columns for each month of my schedule, I have problem

  • How to get available quantity in Inventory levels  for all materials

    Hi..All I am Abap Developer and i have a Requirement that to Print a report that Displays " Inventory levels (available quantity) for all materials" 1) What tables can i use to retrive the data to get the Inventory levels (available quantity) for all

  • Oracle BI Scheduler service

    Hi, To run my iBot i need to start the Oracle BI Scheduler service. When i try to start it i get error.. In the NQScheduler.log..i am having following error.... 2009-02-18 14:14:40 [68008] Scheduler Error: [nQSError: 67042] The Scheduler Configuratio