Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Generic GUI

 
Mark O' Sullivan
Ranch Hand
Posts: 160
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Just wondering in general were people who did the scjd project able to make this gui code generic and what were they able to make generic? Would like to do this, but finding difficult to spot opportunities for this with swing.
Thanks.
 
Roel De Nijs
Sheriff
Posts: 10662
144
AngularJS Chrome Eclipse IDE Hibernate Java jQuery MySQL Database Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Mark,

What do you mean with making your GUI generic? Is it like just applying generics, so something like MyPanel<Room> for example (I didn't have such code in my gui classes)? Or do you mean something else?

Kind regards,
Roel
 
Roberto Perillo
Bartender
Posts: 2271
3
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think he means, something like making an abstract class, and having other classes extend it. Something related to reusability, I guess...
 
Matheus Mendes
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,

Its important to wonder about the project scope, sometimes the task to make it reusable could cost you a lot of work and produce a lot of code that isn't necessary to this project.

[]s
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic