Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / GUI / December 2004

Tip: Looking for answers? Try searching our database.

Resizable, movable and draggable rectangle widget?

Thread view: 
fahruz@hotmail.com - 15 Dec 2004 07:56 GMT
Hi,

Can anybody tell me where I can find an easy-to-integrate Java2D
rectangular component with draggable handles for resizing at its edges
and which can be moved around on a JPanel?
Uh, free stuff only please.

Thanks.

F.
Andrei Kouznetsov - 19 Dec 2004 10:24 GMT
> Can anybody tell me where I can find an easy-to-integrate Java2D
> rectangular component with draggable handles for resizing at its edges
> and which can be moved around on a JPanel?

JGUI contains ready to use handler for creating such components.
you take some component for example JPanel add Border to it,
then you add DragHandler and ResizeHandler (both are MouseInputListener).

"Snap to grid" and "magnetic" components also supported.

more info at
http://jgui.imagero.com/doc/com/imagero/gui/flowin/util/package-summary.html
download jgui at http://jgui.imagero.com/download/

> Uh, free stuff only please.
you can use JGUI under GPL or buy  commercial license.

Signature

Andrei Kouznetsov
http://uio.dev.java.net Unified I/O for Java
http://reader.imagero.com Java image reader
http://jgui.imagero.com Java GUI components and utilities

Andrei Kouznetsov - 20 Dec 2004 02:27 GMT
>> Can anybody tell me where I can find an easy-to-integrate Java2D
>> rectangular component with draggable handles for resizing at its edges
>> and which can be moved around on a JPanel?
>
> JGUI contains ready to use handler for creating such components.

you can find example (with source code) here
http://jgui.imagero.com/examples/DragAndResize/

Signature

Andrei Kouznetsov
http://uio.dev.java.net Unified I/O for Java
http://reader.imagero.com Java image reader
http://jgui.imagero.com Java GUI components and utilities

fahruz@hotmail.com - 20 Dec 2004 02:59 GMT
Thanks! Looks nice. I have also found some pretty nifty library named
jgraph (www.jgraph.com) which you probably know.

> >> Can anybody tell me where I can find an easy-to-integrate Java2D
> >> rectangular component with draggable handles for resizing at its edges
[quoted text clipped - 10 lines]
> http://reader.imagero.com Java image reader
> http://jgui.imagero.com Java GUI components and utilities


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.