Note that there are some explanatory texts on larger screens.

plurals
  1. POWhat is the best Java GUI methodology for ease of maintenance and enhancement?
    text
    copied!<p>I need advice on how to rewrite a java GUI. Ultimate goal is easier to maintain &amp; enhance. </p> <p>What I have built is a Java Applet Client interface that acts and behave similar to Eclipse. developer can design their data entry forms without using a single line of code (drag and drop), and define its attribute. This part is pretty well iron out. however, i am left with more than 40,000 lines of codes that is very difficult to maintain. </p> <p>Each time a bug is occur or a new enhancement, i normally cant program in a more direct way. more than half the time, i need to workaround the problem and that adds up the lines of code.</p> <p>Consideration: </p> <p>-Java Web Applet (because it runs on any browser with J2RE installed)</p> <p>-runs on slow machine</p> <p>-deployment of around 200 nodes and growing</p> <p>Problems that i currently have:</p> <p>-Listeners are all over the place. sometimes is inside the element.AddListener(new listener..). Sometimes is outside of the class, could be in another package that contain all the rest of listener. Question: is it always good idea to put all listener in another package? if that is that case, i cant use "this." to get the reference i need.</p> <p>-JTable this is a killer to me :( the problem i had on <a href="https://stackoverflow.com/questions/6264119/cannot-access-the-jtable-column-data-after-set-invisible">Cannot access the Jtable column data after set invisible</a> still persist. Imagine i have JTable with 3 column. First column is a dropDown, second and third column is a textfield. Whenever a value choose from dropdown, i need to base on the selected value, and update to the second column and third column. the problem is, if the user click and it click on other row very fast, it will update to a column that is in the wrong row.</p> <p>-Currently the program is coded in the sense of it is single thread. whenever the user does a http connection to the server side, reading a file, writing a file and etc, i need to make it as asynchronous process so it doenst feel like "program hang". what is the best way to do this?</p> <p>Really appreciate help here! Thanks!</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload