| | |
Copy and paste Components
Please support our Java advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: Oct 2004
Posts: 44
Reputation:
Solved Threads: 0
Well, i searched all through google and stuff...but in vain..i want to add a functionality in my program to copy and paste buttons which are present on the screen.....I got a wonderful article to copy and paste text.but what about some swing components???????how do we copy and paste them?????
[site]http://www.cafeaulait.org/course/week13/[/site]
[site]http://www.cafeaulait.org/course/week13/[/site]
•
•
Join Date: Aug 2005
Posts: 216
Reputation:
Solved Threads: 8
This is a difficult problem. What is your main goal? Are you trying to build a gui editor?
Just shooting from the hip, but I would think that you would want to create your own buttons that extend the normal components and then extend the current java cut and paste utility. Maybe have an interface called Copyable or something like that and then have the new cut and paste utility look for components that are copyable and go from there...
Just shooting from the hip, but I would think that you would want to create your own buttons that extend the normal components and then extend the current java cut and paste utility. Maybe have an interface called Copyable or something like that and then have the new cut and paste utility look for components that are copyable and go from there...
•
•
Join Date: Oct 2004
Posts: 44
Reputation:
Solved Threads: 0
•
•
•
•
Originally Posted by hooknc
This is a difficult problem. What is your main goal? Are you trying to build a gui editor?
•
•
•
•
Just shooting from the hip, but I would think that you would want to create your own buttons that extend the normal components and then extend the current java cut and paste utility. Maybe have an interface called Copyable or something like that and then have the new cut and paste utility look for components that are copyable and go from there...
![]() |
Similar Threads
- Can't Copy & Paste, or drag & drop in Windows (Windows 95 / 98 / Me)
- how to disable Copy/Cut/Paste on a textbox? (Python)
- copy and paste have quit working! (Windows NT / 2000 / XP)
- Takes time to copy,cut,paste or delete (Windows 95 / 98 / Me)
Other Threads in the Java Forum
- Previous Thread: Help with network programming
- Next Thread: Real Newbie Q.
| Thread Tools | Search this Thread |
account android api applet application array arrays automation bidirectional binary birt bluetooth chat class classes client code columns component data database designadrawingapplicationusingjavajslider draw eclipse editor error errors event exception expand fractal game givemetehcodez graphics gui guidancer homework html ide image inetaddress inheritance input integer intellij j2me java javaprojects jlabel jme jni jpanel jtextfield julia linux list loop map method methods midlethttpconnection mobile mobiledevelopmentcreatejar monitoring myaggfun netbeans newbie nullpointerexception open-source plazmic print problem program programming project property recursion ria scanner screen search server set size sms smsspam sort sourcelabs splash sql sqlite static string subclass support swing testautomation threads tree windows






