The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
144 views

How to manage data flow between UI components?

I have been trying to use classes that implement ActionListener to respond to user input. I'm consistently noticing that for an action listener to communicate the event to other objects, it has to ...
-1
votes
1answer
85 views

What technique to use when trying to drag elements around on a canvas

I want to achieve two things in my java swing application: First, i need a canvas zone where i can drag elements (a rectangle or a circle) from the outside of a pane inside the canvas and place it at ...
1
vote
0answers
54 views

How to pass control between sub-controller to parent controller in Java MVC Design Pattern?

I'm pretty new in Java, but I've done plenty of research and I know what MVC is. However, to implement MVC in Java was a difficult task. I followed this tutorial, which helped me to realise that the ...
0
votes
0answers
124 views

Dynamically add/remove components to/from panel

I'm in a little planning phase of my java/swing project. Here is a picture: It is a main panel containing several sub panels depending on the selected date in the top center. I want to browse those ...
0
votes
0answers
53 views

delegate classes for UI events

When designing a delegate to represent the state of a UI (java swing) what is cleaner: to manipulate the delegate directly from the custom event handlers defined in the UI code, or to register the ...