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)
Similar Messages
-
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? -
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?
theFurryOneI 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 -
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
PrakashPerhaps 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); -
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 -
Dear Friends,
1) i have created an air application (Ticker) please tel me
how can i create the dockable screen. my ticker screen is dragging
fine. if i drag the ticker screen near the top of the desktop
screen, it should go and stick on the top of the screen. if i move
the ticker screen near the right corner of the screen, ticker (my
air screen) should go and stick on the right corner of teh desktop.
2) i need to create the system tray option, in down system
tray my application should be visible. if the user click on it it
should open my application.
i tried the following links it is not working giving errors
only...
http://www.adobe.com/devnet/air/flex/quickstart/stopwatch_dock_system_tray.html
http://livedocs.adobe.com/flex/3/langref/flash/display/Screen.html#includeExamplesSummary
anybody can help me. i got structup. all other options are
working fine. i need to create the dockable and sytem tray option.
Looking for your help...
Thanks and Regards,
Rahimhaji.The code for snackr is available at
http://code.google.com/p/snackr/source/checkout
You'll have to use svn to check it out.
Otherwise, you can browse through the code:
http://code.google.com/p/snackr/source/browse/trunk/Snackr/src/Snackr.mxml
Regarding multiple windows:
In AIR, windows are of type NativeWindow or Window. Both
these classes have a close() method which you can call to close the
window. -
Dockable Windows: New Features Guide for SAP PowerBuilder 12.6
I copied the example in the SAP document: PowerBuilder-NewFeatures.pdf at page 21.
4.2.7
Opening Docked Windows and Tabbed Document Windows
Sample code for opening docked windows and tabbed documents.
Context
Procedure
1. Create a window w_sheet_any as a main!window type.
2. In the open event of w_sheet_any, add this code:
string ls_i
ls_i = Message.stringparm
if not isnull(ls_i) and ls_i <> "" then
this.title = ls_i
end if
3. Create an MDIDock window w_mdidock_dockstate and set any menu in it.
4. In the open event of w_mdidock_dockstate, add this code:
window win[]
OpenSheetWithParmDocked(win[1], "1", "w_sheet_any", this, WindowDockLeft!, "")
OpenSheetWithParmInTabGroup(win[2], "2", "w_sheet_any", this, "") <<<<<<<<========
OpensheetWithParmInTabGroup(win[3], "3", "w_sheet_any", win[1], "")
OpenSheetWithParmAsDocument(win[4], "4", "w_sheet_any", this, "")
OpenSheetWithParmAsDocument(win[5], "5", "w_sheet_any", win[4], "")
OpenSheetWithParmAsDocument(win[6], "6", "w_sheet_any", this, "", false)
OpenSheetWithParmAsDocument(win[7], "7", "w_sheet_any", win[5], "")
OpenSheetWithParmAsDocument(win[8], "8", "w_sheet_any", win[6], "")
5. Run the application.
You will see windows 1 and 3 as a tabbed group, with the tabs at the bottom. Sheets 4, 5, and 7 appear as
tabbed doc
WHY THE SECOND OPEN DOES NOT WORK ?Hi.
Even in beta the example provided needed some corrections. But instead of using the example on the pdf, why don't you take a look at the MDIDockingDemo Project included in the code examples? (See the screenshot... It's not PB.NET )
Andreas. -
Dear Friends,
1) i have created an air application (Ticker) please tel me
how can i create the dockable screen. my ticker screen is dragging
fine. if i drag the ticker screen near the top of the desktop
screen, it should go and stick on the top of the screen. if i move
the ticker screen near the right corner of the screen, ticker (my
air screen) should go and stick on the right corner of teh desktop.
2) i need to create the system tray option, in down system
tray my application should be visible. if the user click on it it
should open my application.
anybody can help me. i got structup. all other options are
working fine. i need to create the dockable and sytem tray option.
Looking for your help...
Thanks and Regards,
Rahimhaji.Please see
http://www.adobe.com/devnet/air/flex/quickstart/stopwatch_dock_system_tray.html
for an example of using the system tray and dock icons.
And see the example at the end of this page:
http://livedocs.adobe.com/flex/3/langref/flash/display/Screen.html#includeExamplesSummary
for an example of docking an application to the sides of the screen
(although this example uses the keyboard, not the mouse). -
NativeWindow & Dockable Window
Hi Friends,
I have created an AIR application with native window. when i
click on a button native window will be visible on the screen. in
the same time it shows the name and icon of the window on the
status bar. I want to show the window on the screen but i want to
hide the name and icon on the status bar, then i can use the window
as messaging window.
i got struck up.. pls help me.
Thanks and Regards,
RahimHajiHi friends,
i found the solution, the solution is make the
nativeWindowType as LIGHTWEIGHT or UTILITY.
Thanks and Regards,
RahimHaji -
Display on Asus screen under windows distorted
Hi there,
I have just bought an Asus VW222U screen and connected it to my MacBook Pro. On the Macbook I am running Mac and Windows. On the Mac platform the picture on the Asus is fine but not on the Windows platform. Everything displayed on the Asus screen is distorted. I have spoken to Apple, Microsoft and Asus and they all say it's an apple thing yet apple said it's a Microsoft problem...I am lost...can anyone help?Nigel,
I've investigated this issue further, and talked to some of our
development staff.
There are three known issues here:
1. regular menus are not right justified if the client is
in the window to the right of the deafult monitor.
2. Dockable windows cannot be freely positioned
3. Context menus sometimes appear on the wrong monitor.
issue #1 is fixed in 1.3.1_04
isses #2 and #3 are not JDK related, and are now fixed in the 9.0.3
builds.
Unfortunately, we do not certify upgrading the JDK to 1.3.1_04 - there
are some other display-related issues that this drop causes, and we can't
risk product destabilization at this stage.
However, I do have a workaround for you for #1.
The issue only occurs if the secondary monitor is placed to the right
of the primary monitor. If you use the windows control panel (right click settings on
desktop) and change the primary monitor, then the problem goes away.
Hope this satisfactorily resolves your dual-head problems.
Karl -
JDeveloper JDEV9i_902 menus do not appear correctly on multi-screen under Windows 200
Using JDeveloper on Windows 2000 via extended desktop with Matrox dual-head support and Windows extended multi-screen support menus in JD are displayed biased towards the primary desktop screen, this behaviour makes using the product quite difficult in this environment.
Nigel,
I've investigated this issue further, and talked to some of our
development staff.
There are three known issues here:
1. regular menus are not right justified if the client is
in the window to the right of the deafult monitor.
2. Dockable windows cannot be freely positioned
3. Context menus sometimes appear on the wrong monitor.
issue #1 is fixed in 1.3.1_04
isses #2 and #3 are not JDK related, and are now fixed in the 9.0.3
builds.
Unfortunately, we do not certify upgrading the JDK to 1.3.1_04 - there
are some other display-related issues that this drop causes, and we can't
risk product destabilization at this stage.
However, I do have a workaround for you for #1.
The issue only occurs if the secondary monitor is placed to the right
of the primary monitor. If you use the windows control panel (right click settings on
desktop) and change the primary monitor, then the problem goes away.
Hope this satisfactorily resolves your dual-head problems.
Karl -
Hi All,
I am working on a project which requires docking and pinnable window in rich internet application. I found that it mentioned that ADF supports docking window but I couldn't find any demo or application which is using same kind of runtime customization or personalization. Please share information if anyone have prior knowledge or idea of working on it.
Thanks in advance,
AmitI think this is node possible.
In some documents describe about Dockeable Window.
But that is decription about Jdev IDE related Dockeable Window.
Please see this document to get clear idea.
http://download.oracle.com/docs/cd/E21764_01/user.1111/e21420/adfsg_work.htm (See section : 3.5.3 How to Customize Dockable Windows in the ADF Skin Editor)
http://download.oracle.com/otn_hosted_doc/jdeveloper/1012/adfdt_javadocs/oracle/adf/dt/dbpanel/DataBindingDockeableWindow.html -
Initial thoughts on Jdev 10.1.3 3673 build
Much better guys...
Lets be honest 10.1.12 was only going to convince someone who has been locked in a room on a very remote island, and been exposed to nothing but Oracle technologies, that Oracle was serious... but I actually quite like this...
A little bit about my background:
Up to very recently I was a IT contractor based in the UK who in recent years has worked with IBM RSA (Eclipse 3 based), stand-alone Eclipse, NetBeans and IntelliJ (which is still by far the best Jave IDE but unfortunately few companies like paying for IDE's these days....). As a contractor I am sure most of you can imagine that although I am not the one who has signed the cheques, I have often been the one who has made the decision on which technology a lot of companies have adopted. (God I am exposing myself to a lot of abuse here!!). I've now "joined the enemy" and gone permie.
I am pretty new to JDeveloper, although I have toyed around with it in the past; I have usually got so infuriated by its pi$$ poor integration with external tools such as Ant and CVS, and incredibly annoying bugs that I have dismissed it out of hand. However, it is pleasing to see that a lot of the integration issues have been addressed in this issue, and someone in Oracle has finally realised that Java developers refactor Java classes and packages frequently (especially in the early stages of a development), and we would prefer it if doing so did not completely bollox up the project files... Infact - how about actually doing what it says on the tin??
Well, this version almost does... It still has bugs refactoring models at package level, and I am not completely comfortable with the CVS integration, although it is certainly as good as RSA.
The benefits to JDeveloper - the ADF BC integration is really good when you get used to it... Oracle should focus on this and help with integrating with it - especially with ADF rich client development, and stop pretending that vendor neutral houses writing thin client web apps might adopt it... Look, we are using Oracle DB, we want Oracle ADF BC, so tell us how to use it efficiently with online help. I have masses of web development experience, and I know how to do that... What I want to do is write a rich ADF JClient/ Swing app with Jdeveloper - Infact, I have got quite a way into doing it now, with not much thanks to the in built help!
And how about releasing the Dockable window manager you guys use for JDeveloper?? I am currently using JIDE as a dockable window manager, and I would like some alternatives. Obviously I am aware that a lot of the development world is using Eclipse/ SWT for this, and I don't like it per se, but I can live with its annoyances.
And why have you shipped JDeveoper with JGoodies 1.0.4 when 1.0.5 has been out for ages? (ndeed 1.0.6 is out on the same day as production JDeveloper, but I would n't expect you to have that. ;-))
I hope this post stimulates some thought and interesting comments.
Cheers......DeanDave,
These are some of the things I have noticed about the CVS integration with that are a bit "unusual".
1) Importing a module - It did not successfully check out the module afterwards... Yet I quit JDeveloper (10.1.3), and then go back in and I could then check out the module.
2) The update facilty does not always seem to "update" the repository if a file has been recently checked in? However, if I click on the CVS Navigator and expand my repository, and then back to the Application view it then seems to have refreshed my view of CVS, and it will then work. I wondered if this was caused by conflicts with my project files, as JDeveloper does have the nastly habit of updating them frequently... However, 2 other developers have also noticed this, and we have now switched back to updating whole mobules using Tortoise as it just seems more reliable.
How often does it pole the CVS server??
On the plus side- I like the revision comparison tab panel. ;-) It is better than most IDE inbuilt CVS diff tools I have seen - not as good as Beyond Compare though.
About my CVS configuration :-
Server is on Windows 2003, using CVSNT (latest version - 2.5.03 I think I installed).
Client - I changed my CVS executable to be the one shipped with Tortoise CVS, as I have it installed, and I wanted the ability to view my repository from the CVS navigator (I don't think the one shipped with Oracle 10g lets you do this). Client version is 2.5.02 I think... I would have to check that as I writing this from home.
Oh, and I have a CVSROOT environment viarable set, which lets JDev setup my CVS connection automatically.
I hope this info helps.
Cheers.....Dean -
Java Components and Look and Feel
Can anyone suggest a free look and feel that does not resemble the standard stuff that comes with the JDK?
Also, Swing seems to be missing some important components like dockable windows, and toolbars. Can anyone suggest some resource that offers interesting swing components?Can someone suggest a good API for doing this stuff?
I would really like to consider using Java for some
e real world application, but the swing interface
makes applications look at least 15 years old.Really? My applications look like native windows applications (when run under Windows, at least). Try setting the native look and feel. Search the forum if you don't know how. -
Editing and Compling a Database Package from a file
Hi,
I'd like to know if there is a way to open and edit a database specification and body source code file from the filesystem, and also be able to compile this is SQL Developer.
Currently I am able to open the .pks and .pkb files and I get 'Compile' and 'Compile for Debug' icons. However, when I hit these buttons they appear to do nothing. No messages are displayed to say if the package is compiled successfully or unsuccessfully. What I have noticed though is that the code is executed and the package is created on the database but there is no feedback. If I 'complile' a package that I know is invalid, the package becomes invalid in the database and vice versa. But I have no way of knowing this until I check the package on the database.
If I am doing something wrong or there is another way to do this, then please let me know. I really want to be able to work on these files from the filesystem rather than the database.
SQL Developer 1.5.1 on Windows 2000.
Cheers,
Jon.Jon,
The current SQL Dev support for file based development in this area isn't wonderful. However, the output of "compiling" a PL/SQL file with the compile button (ie running as script) is shown in the Script Output tab of the Log dockable window. If you have the window docked and the Script Output tab selected, then it will normally display the following where the package body is invalid:
Warning: execution completed with warning
PACKAGE BODY MY_PACKAGE_PKG Compiled.
To show the errors there, you will need to use something like after the CREATE OR REPLACE PACKAGE BODY statement:
SHOW ERRORS PACKAGE BODY MY_PACKAGE_PKG
The output doesn't always appear and the treatment of compilation errors is nowhere near as good as when compiling directly in the database where you can jump to the error location with a double click.
theFurryOne
Maybe you are looking for
-
My husband and I share a new PC. We have different music tastes and each have an iphone. How can we both use our one computer and one itunes program with separate music libraries and separate iphones?
-
There is a split invoice indicator in the condition details in the PO Conditions tab. Does anyone know what this is used for?
-
Hey I have installed i tunes in windows 7 and I am unable to see the menu titles, can any one tell me the sollution
-
Auto replace missing fonts durring script place
I have a script that runs on startup that places a word document in a new indesign document. The problem is that if there are fonts in the word document that indesign can't find, then we get a message saying there are missing fonts and a series of ja
-
Can we install python 2.6 or 2.7 tool on exadata (x4-2) machine?
can we install python 2.6 or 2.7 tool on exadata (x4-2) machine?