Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Creating User Interface

 
Gurpreet Saini
Ranch Hand
Posts: 295
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi reader,
What does this mean :
"Your user interface should be designed with the expectation of future functionality enhancements, and it should establish a control scheme that will support this with minimal disruption to the users when this occurs."
what is this control scheme that will support this with minimal disruption to the users when this occurs ?. What is going to occur ?.
Thank you,
 
Ian B Anderson
Ranch Hand
Posts: 275
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Gurpreet,
All this means is basically adhere to the MVC architecture. Then you can put in your write up that you allowed for future enhancements by seperating Data, GUI and Control logic.
Good luck
Ian
 
Gurpreet Saini
Ranch Hand
Posts: 295
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi reader,
I would be using MVC for my JTable component. But I didn't understand the meaning of your last line which says "you allowed for future enhancements by seperating data, GUI and control logic ". Secondly, I dont want to use JTabbedPane for my GUI application Is this OK ?. I am much more interested in using independent windows which will interact with user only for specified reasons.
For my knowledge I write you about MVC architecture. If I am wrong then please do correct me. M stands for Model which I would be using as AbstractTableModel. This class will handle the contents of my JTable. V stands for View . This is what we see data encapsulated in JTable. Thirdly, Controller are the methods in Model which actually control the view of the component. Is that OK.
Is there any problem If I use different windows in lieu for searching and retrieval of database records and these records get hightened on JTable component which resides on another Main user application interface. I have this idea to implement on my GUI. Please correct me If I am wrong.
Thank you,
:roll:
 
Qusay Jaafar
Ranch Hand
Posts: 127
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
It is recommended that one frame for each task.
I don't think so there is something wrong with your code by using MVC
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic