Need some work done? Post a Project Today
I am trying to improve the existing java project that supports saving notes(text, image, sketch) on the page and enables it to link it. Due to the code volume (51 .java files), the way it was designed, and poor java skills I need someone to do it for me. It could be hacked for purpose of creating a prototype.
The problem I ma trying to solve has got to do with adding extra parameter (String that is to be inputed into a JTextField by user) to the existing link. I have tried to create the JTextField in the class that creates the link based on the ID and position of two linked objects, but that is not getting saved (and as a result is set to the default), since the link is forced to be removed, created again and redrawn when the UI puts focus to different element.
I have an idea of hacking it, by introducing another array that would save that paramater accordingly to the linked objects. Then it would call a method for displaying a TextField on top of the link (average of obj1.pos and obj2.pos). The following is a draft pseudo code, to my best knowledge of java - but it is not java in fact.
String param = match (obj1.ID, obj2.ID)
obj1.pos, obj2.pos > draw caption
caption.setText = param
the deadline for this is Sunday night.
Will send more info on request.