Dockable Window Problem

I know that there can be floating JToolBars but does Swing also support dockable windows? (Like those that you see in many MS Windows programs.)

The swing does not support Dockable windows.
This has to be done programmatically . Search for such toolbars. Long back I got a code for doing that.\
RGDS

Similar Messages

  • Sliding panel / Dockable window

    I am looking for sample code for implementing a sliding panel or dockable window. IntelliJ IDE has label on left "Project" which when clicked slides-in a panel (or something) which has project elements in a tree. I am looking for a similar effect for a swing based application.
    I tried using scrollpane and try setting its "setDividerLocation" property incrementally but it does not give the same effect. It "jumps" the last position, no matter how much I try repainting/updateUI etc.
    If you have any sample / hint for code please let me know.
    Thanks
    Prakash

    Perhaps using a jsplitpane with continuouslayout as true might solve your problem when you are incrementing the divider location. With continuousLayout you shouldn't get the jumping effect.
    JSplitPane sp = new JSplitPane();
    sp.setContinuousLayout(true);

  • Computer will not boot up on usb cd rom to repair windows problem (corrupt file) what should i do

    computer will not boot up on usb cd rom to repair windows problem (corrupt file) what should i do

    Which computer? Which Windows?
    What are you trying to do?
    -Jerry

  • Error: BG: saplpd_open_dc failed, msg = 808 SAPLPD:Windows Problem

    Dear Friends,
    We are giving print from Citrix. BUt the print iis giving me following problem.
    Please suggest on the same.
    (6:14:29 PM) Number of processors: 2
    (6:14:29 PM) Icon DLL loaded.
    (6:14:29 PM)
    (6:14:29 PM) Network Communication via SAP-NiLib
    (6:14:29 PM) Hostname: THMUMGDCCTX02
    (6:14:29 PM) IP Address: 16348016.2673954.2011564330.1225156
    (6:14:29 PM)
    (6:14:29 PM) SAPLPD Version 6.29 for Windows/NT (OPT) is listening
    (6:14:29 PM) OS-Info: version = 5.2, build = 0/3790, text = Service Pack 2
    (6:14:29 PM) Copyright © 1992-2001 SAP AG
    (6:14:29 PM)
    (6:14:39 PM)
    (6:14:39 PM) Receive job for printer BKC_7thFlr_HPColor3800 on THMUMGDCPS01 (from BKCDT (Berkeley LPD protocol / RFC1179)
    (6:14:39 PM) send_status called
    (6:14:39 PM) send_status called
    (6:14:39 PM) send_status called
    (6:14:39 PM) send_status called
    (6:14:40 PM) send_status called
    (6:14:40 PM) Job 000001723200001.PRD for user ATINJ queued.
    (6:14:40 PM) Start printing job 000001723200001.PRD on printer BKC_7THFLR_HPCOLOR3800 ON THMUMGDCPS01 (FROM BKCDT
    (6:14:40 PM) Error: Cannot create Printer Context, text = Overlapped I/O operation is in progress.
    (6:14:40 PM) Error: The printer BKC_7THFLR_HPCOLOR3800 ON THMUMGDCPS01 (FROM BKCDT is unknown to Windows Print Manager.
    (6:14:40 PM) The following printers are currently defined:
    (6:14:40 PM) Printer = BKC_7THFLR_HPCOLOR3800 ON THMUMGDCPS01 (FROM BKCDT1017) IN SESSION 11
    (6:14:40 PM) Warning: Printer name contains spaces.
    (6:14:40 PM) Please rename printer, before using it from R/3 or UNIX!
    (6:14:40 PM) Printer = MICROSOFT XPS DOCUMENT WRITER (FROM BKCDT1017) IN SESSION 11
    (6:14:40 PM) Warning: Printer name contains spaces.
    (6:14:40 PM) Please rename printer, before using it from R/3 or UNIX!
    (6:14:40 PM) Printer = MICROSOFT OFFICE DOCUMENT IMAGE WRITER
    (6:14:40 PM) Warning: Printer name contains spaces.
    (6:14:40 PM) Please rename printer, before using it from R/3 or UNIX!
    (6:14:40 PM) Error: BG: saplpd_open_dc failed, msg = 808 SAPLPD:Windows Problem, siehe SAPLPD Protokoll
    regards
    Jiggi

    Hi,
    You are getting the error because the printer name is greater than 40 characters.
    The SAPLPD can only recognize printer names with 40 characters or less.
    From the log, i believe you are using the printer BKC_7THFLR_HPCOLOR3800 ON THMUMGDCPS01 (FROM BKCDT1017) IN SESSION 11
    but the SAPLPD is recognizing only till BKC_7thFlr_HPColor3800 on THMUMGDCPS01.
    Try to change the printer name .. it will work

  • Error: BG: printfile failed, msg = 808 SAPLPD:Windows Problem, siehe SAPLPD Protokoll

    (12:58:18 PM) Number of processors: 4
    (12:58:18 PM) Icon DLL loaded.
    (12:58:18 PM)
    (12:58:18 PM) Network Communication via SAP-NiLib
    (12:58:18 PM) Hostname: WLRERW092
    (12:58:18 PM) IP Address: 33405096.2097184.8388736.1616984
    (12:58:18 PM)
    (12:58:18 PM) SAPLPD Version 6.28 for Windows/NT (OPT) is listening
    (12:58:18 PM) OS-Info: version = 6.1, build = 0/7601, text = Service Pack 1
    (12:58:18 PM) Copyright © 1992-2001 SAP AG
    (12:58:18 PM)
    (12:58:29 PM)
    (12:58:29 PM) Receive job for printer \\192.168.207.56\ULR_ZM400_HFW05 (Berkeley LPD protocol / RFC1179)
    (12:58:29 PM) send_status called
    (12:58:29 PM) send_status called
    (12:58:31 PM) send_status called
    (12:58:31 PM) send_status called
    (12:58:32 PM) send_status called
    (12:58:33 PM) Job 000NJJ3Z.WBP for user LR70343 queued.
    (12:58:33 PM) Job 000NJJ3Z.WBP (raw) started on printer \\192.168.207.56\ULR_ZM400_HFW05
    (12:58:46 PM) Error: The printer \\192.168.207.56\ULR_ZM400_HFW05 is unknown to Windows Print Manager.
    (12:58:46 PM) The following printers are currently defined:
    (12:58:46 PM) Printer = SEND TO ONENOTE 2010
    (12:58:46 PM) Warning: Printer name contains spaces.
    (12:58:46 PM) Please rename printer, before using it from R/3 or UNIX!
    (12:58:46 PM) Printer = PDF COMPLETE
    (12:58:46 PM) Warning: Printer name contains spaces.
    (12:58:46 PM) Please rename printer, before using it from R/3 or UNIX!
    (12:58:46 PM) Printer = MICROSOFT XPS DOCUMENT WRITER
    (12:58:46 PM) Warning: Printer name contains spaces.
    (12:58:46 PM) Please rename printer, before using it from R/3 or UNIX!
    (12:58:46 PM) Printer = HP EPRINT
    (12:58:46 PM) Warning: Printer name contains spaces.
    (12:58:46 PM) Please rename printer, before using it from R/3 or UNIX!
    (12:58:46 PM) Printer = FAX
    (12:58:46 PM) Printer = ADOBE PDF
    (12:58:46 PM) Warning: Printer name contains spaces.
    (12:58:46 PM) Please rename printer, before using it from R/3 or UNIX!
    (12:58:46 PM) Printer = \\192.168.207.21\SHARP MX-4111N PCL6
    (12:58:46 PM) Warning: Printer name contains spaces.
    (12:58:47 PM) Please rename printer, before using it from R/3 or UNIX!
    (12:58:47 PM) Printer = \\192.168.208.21\SHARP MX-4111N WELSPUN 2
    (12:58:47 PM) Warning: Printer name contains spaces.
    (12:58:47 PM) Please rename printer, before using it from R/3 or UNIX!
    (12:58:47 PM) Printer = \\192.168.207.21\ULR_ZM400_HFW05
    (12:58:47 PM) Printer = \\192.168.207.21\ULR_ZM400_HFW06
    (12:58:47 PM) Cannot do OpenPrinter \\192.168.207.56\ULR_ZM400_HFW05. Text = The operation completed successfully.(12:58:47 PM) Error: BG: printfile failed, msg = 808 SAPLPD:Windows Problem, siehe SAPLPD Protokoll
    please help
    Regards
    selvakumar

    Apparently our Sandbox system didn't have a Spool server configured. That's why the error. It works perfectly in other systems.
    The output device's Host Printer must be defined on the spool server for saplpd to recognize. Otherwise you see an error.

  • Dockable windows for a website?

    Does anyone know if it's possible to create dockable windows
    for a website?

    The browser runs in a window. Popups can be positioned on the
    display but
    they are not dockable in the sense I think your wondering
    about. The closest
    implementation to "dockable" is achieved using ASP.NET
    WebParts that can be
    dragged around within the browser and docked within a
    specific zone.
    <%= Clinton Gallagher
    NET csgallagher AT metromilwaukee.com
    URL
    http://www.metromilwaukee.com/clintongallagher/
    "Amy R" <[email protected]> wrote in message
    news:ebcpfd$dk8$[email protected]..
    > Does anyone know if it's possible to create dockable
    windows for a
    > website?

  • Nested Window Problem

    Hopefully someone out there can help solve this one.
    How do you get a child window to automatically resize within a parent
    window?
    On their own both the child window and the parent window behave as
    expected but once we attempt to load the child window into the parent
    window the child window is sized to some unknown but excessively large
    size.
    Can this be solved with some creative use of parent size relationships
    or do we have to programmatically size the child window?
    Any help/comments/suggestions would be greatly appreciated.
    Sincerely,
    Sean G. Germain

    Glen,
    Thank you for the prompt reply.
    We have already done what you suggested (My explanation was not very
    clear ... sorry) to no avail.
    Any more takers and/or ideas anyone?
    Thanks,
    Sean
    -----Original Message-----
    From: Glen A. Whitbeck [SMTP:[email protected]]
    Sent: Monday, January 26, 1998 2:47 PM
    To: GERMAIN Sean
    Cc: 'Forte Users Group'
    Subject: Re: Nested Window Problem
    You may need to dynamically tell the child window what its parent is (such
    as a named grid that exists on the parent window). Setting the child
    window to size to its parent should work once the child window knows who
    its parent is. You should be able to put your window into that grid at
    specified row and column coordinates. To reset the parent and position a
    widget in a grid, you do something like the following:
    <Widget>.Parent = NIL;
    <Widget>.Row = 1;
    <Widget>.Column = 1;
    <Widget>.Parent = <TargetGrid>;
    I believe that you should be able to do the same thing for a window, too
    (using "Self.Window" instead of "<Widget>").
    Glen
    GERMAIN Sean wrote:
    Hopefully someone out there can help solve this one.
    How do you get a child window to automatically resize within a parent
    window?
    On their own both the child window and the parent window behave as
    expected but once we attempt to load the child window into the parent
    window the child window is sized to some unknown but excessively large
    size.
    Can this be solved with some creative use of parent size relationships
    or do we have to programmatically size the child window?
    Any help/comments/suggestions would be greatly appreciated.
    Sincerely,
    Sean G. Germain<< File: vcard.vcf >>

  • EA3/EA2 - Log dockable window and update flagging

    I really like the log dockable window, but I have noticed an issue (in my opinion) with how it handles updates (ie log messages being logged) when the dockable window is minimised.
    When the window is minimised, I have the Log tag at the bottom of my screen and there is no visible notification when messages are logged to one of the sub-tabs on the dockable window. If I open up the Log window, then the sub-tab that has been logged to is highlighted. However, this means that with the Log window minimised, I don't know when messages I am not expecting to be logged actually get logged.
    Is is possible to have the Log tag that is visible when the window is minimised to notify that there has been messages logged?
    theFurryOne

    I don't minimize my log window just resize it to only show the tabs, so I see the highlighted tabs. However, as you point out this does not occur for a minimized window. I have logged bug 6982272
    Sue

  • Dockable window

    Hi,
    We are gona to do the dockable window. Please give us any idea how to do that and how complicated to do it. Thanks!
    Jerry

    Dockable to what?
    If you are talking about using JInternalFrames, you have a couple options I can think of. The first is to use a jsplitpane on which the left size would hold the 'docked' frame and the right side contains a JDesktopPane in which all the other JInternalFrames 'float'. This would eliminate keeping track of all the other frames
    The second is to put the 'docked' frame inside the JDesktoppane, and add listeners to the movable frames which don't allow them to be dragged (or maximized) over the 'docked' frame.
    If you are talking about 'docked' to the entire screen, this is probably outside the scope of java. You might be able to call some windows DLL through JNI to accomplish this, but it won't work on any other platform. (and you have the JNI learning curve)

  • Running Worldcraft with Wine (or OpenGL in child window problem)

    Hi!, I'm trying to run Worldcraft (the Half life map editing tool) with wine (version 0.9.30), everything works fine except when I choose to display a 3D view on one of the viewports  (3D views uses OpenGL to render the scene), when I do this, the whole window turns black, and flickers (showing some portion of the original window) when I hit the mouse button of move the window.
    This seems to be the Opengl in child window problem that was supposedly fixed in wine 0.9.28, but, well.. it happens    This happens also with Lightwave 8.0.
    Can anyone try and see if this happens to you as well?  or.. well. does anybody knows how to fix it?
    thanks a lot!
    silencer

    Thanks Nephastos, but I'm trying to run Worldcraft, not Warcraft Worldcraft is a world editing tool for Half-Life.
    I uploaded it to my server if anyone would like to try and see if it works for you (as it is an issue that should be solved by now, I think),  you can download it from http://www.darkdesigns.com.ar/worldcraft3.exe
    Thanks a lot
    silencer

  • Failure to search - query window problem

    Hello again,
    Have anyone of you came across a problem with SAP search mechanism in query window attached to document field? I've created a simple query of "Select acctcode,acctname from OACT where acctcode like '2%' and postable='Y' order by acctcode" and attached it to one of document fields (doesn't matter which one). When I run this query a usual window poped up with a search field on the top, but when I typed "2" in it, selection bar moved right into first 231 account ignoring any of the lesser numbers. There is more - when I changed query to search for '5%' like accounts, I gained the same result - accounts less than 530 were ignored even if I typed "50" or "51". BUT - when I changed query sort order to "desc", all account became "findable".
    I got this problem in one database only which is SAP 8.8 PL10 version upgraded recently from 2007A one. I've checked with a newly created 8.8 and such problem hasn't occured.

    Hello Thomasz,
    I might be off base here, what happens when you use this??? 
    Do you get the same types of query window problem???
    Select
    acctcode,
    acctname,
    segment_0
    from OACT
    where Segment_0 like '2%'
    order by acctcode
    for browse
    Regards,
    Zal

  • [iPhoto] Assertion failure/Modal window problem

    I've been trying to order prints through iPhoto (6.0.6) but when I hit the "Order prints" button nothing happens. I get the following error in the Console log. It seems as though iPhoto is trying to spawn a new window (which makes sense) and can't.
    I've reinstalled iPhoto, rebooted, etc. but keep getting same problem.
    2007-10-08 22:07:27.616 iPhoto[589] * Assertion failure in -[ExtendedApplication _commonBeginModalSessionForWindow:relativeToWindow:modalDelegate:didEndSelector :contextInfo:], AppKit.subproj/NSApplication.m:3057
    2007-10-08 22:07:27.617 iPhoto[589] Modal session requires modal window

    I found this discussion. I could not access the discussion link. Under the instructions, I didn't understand what "rm files and directories" means ... perhaps "remove"????
    Help
    "After a ran steps to fix the problem of Safari giving "localized string not found" messages, the "modal session requires modal window" problem went away.
    Here is a link to the post.
    http://discussions.info.apple.com/[email protected]
    The instructions are to:
    1. Download lastest version of Safari
    2. rm files and directories in /System/Library/Frameworks/WebKit.frameworks
    3. Install Safari again
    4. Run permissions repair in Disk Utility"

  • My playlist has dissapeared itune issue or windows problem?

    My playlist has dissapeared from libraray itunes issue or windows problem?

    Hi,
    It's pointless to use that ammount of ram under Win9x/Me as it will be slower then if you use only 256MB witch is the optimal ammount for these OS'ses.
    So you better take 256 out or move to Win2000/XP....

  • Server 2008 R2, XP SP3/7 64bit client remoteapp dragging window problem

    I'm running a small remoteapp server farm in 2008 R2 and am experiencing difficulties with some applications when dragging windows about.
    The problem happens when moving windows around by left click and dragging, they seem to get 'undropped' even though the mouse click is still applied (happening on multiple users) This is usually within the application where 2 documents are open. Moving dockable
    toolbars around is also a problem
    I've tried remote desktop connection onto both the servers and it appears to work with no problems.
    Environment:
    Server 2008 R2 (2 of configured as an RDP farm) 
    XP SP3 clients
    7 Pro 64 Bit
    Photoshop CS5
    Anyone have any ideas/links to hotfix which addresses this?

    Hi,
    Thank you for your reply.
    As the other build-in Windows application is working fine, it seems to be a compatibility issue. Please consider using the “RDS Application
    Compatibility Analyze” below to test the application if meets the requirement of RemoteApp.
    How to detect RDS-specific application compatibility issues by using the RDS Application Compatibility Analyzer
    http://blogs.msdn.com/b/rds/archive/2010/01/19/how-to-detect-rds-specific-application-compatibility-issues-by-using-the-rds-application-compatibility-analyzer.aspx
    Thanks.

  • Closing previous windows problem

    i have one desktop gui application..when I compile my application,then i can see searchform1 form,then when i click DELETE button in searchform1.form then I do see Delete.form and i can the remove the file from the list that i selected.The problem is when i click delete button i can see deleteform again BUT I could not close the previous windows like searchform1.java window and previous delete.java window(or form) which I have seen before .I wanna close previous window when i click delete.form..I meant i wanna close searchform1.form or the previous windows (forms) when i see delete.form or when I click delete button. I do believe that because of that problem , I had seen " Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space " after I saw a couple of forms.
    Thank you so much for your helps..

    altayli wrote:
    This is my codeThat is not an SSCCE. Please read [this link|http://sscce.org].
    But judging from that snippet, you're creating a new "noresult" (which I assume is a JWindow or JFrame?), then immediately disposing of it, without even displaying it. This is NOT closing any previously-opened noresult instances, which I am starting to think is what you want to do. You need a reference to a previous noresult if you want to close it.
    Also, you shouldn't be calling DesktopApplication2.main(), this is very bad practice. You likely want to call DesktopApplication2's constructor if it is a JFrame/JDialog subclass, and setVisible(true) the result; if it's not a JFrame or JDialog, you want to create whatever main window it does create, and display that.
    What if DesktopApplication2 calls System.exit() somewhere? Your application would go down with it.

Maybe you are looking for