|
-
Mar 3rd, 2006, 08:09 PM
#1
Thread Starter
<?="Moderator"?>
Window Docking
Hey in c# I used this to dock windows.
Is there a way to docking windows in the same way in Java. I have searched around and have only found information about frameworks which you have to buy.
Any information about how to do this would be great. I know this could be done by re-writting the code above but I would prefer not to.
Thanks
-
Mar 4th, 2006, 03:15 AM
#2
Re: Window Docking
C# uses windows kernel functions
Code:
[DllImport("user32.dll")]
public static extern UInt32 RegisterWindowMessage(
[MarshalAs(UnmanagedType.LPTStr)]
Code:
[DllImport("shell32.dll")]
public static extern UInt32 SHAppBarMessage(
UInt32 dwMessage, // Appbar message value to send.
ref APPBARDATA pData);
On the other hand java can't
"I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
My Blog
-
Mar 4th, 2006, 07:55 AM
#3
Thread Starter
<?="Moderator"?>
Re: Window Docking
I thought you could access windows DLL's from java. Oh well.Anyone know of a way to do this?
-
Mar 4th, 2006, 08:04 AM
#4
Re: Window Docking
It looks like I was wrong
try this link
Load Dlls
Last edited by ComputerJy; Mar 4th, 2006 at 08:06 AM.
Reason: found better page
"I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
My Blog
-
Mar 4th, 2006, 08:33 AM
#5
Thread Starter
<?="Moderator"?>
Re: Window Docking
Cheers will look into it
-
Mar 8th, 2006, 06:28 AM
#6
Frenzied Member
Re: Window Docking
You could used JLayedPanes and then use a little math to position the layeredpane according to the position of the parent frame.
-
Mar 8th, 2006, 08:22 AM
#7
Re: Window Docking
 Originally Posted by System_Error
You could used JLayedPanes and then use a little math to position the layeredpane according to the position of the parent frame.
No
He was talking about external windows not frames
"I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
My Blog
-
Mar 15th, 2006, 06:24 AM
#8
Addicted Member
Re: Window Docking
Research the JDIC project, they might have something that will do it, i know they are making good advances in other native functionality, i.e. browsers, tray icons etc...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|