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?????
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...
This is a difficult problem. What is your main goal? Are you trying to build a gui editor?
Oh yes its something like a GUI editor
Quote ...
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...
From all that's written here, i have created my buttons and can drag and drop them too..........and frankly the explanation u gave seemed a bit of greek to me.....I'll be grateful to u if u culd explain it in a bit simpler way.......Thanks..........
No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.