I do contract work for a small Wireless ISP in my rural area and am creating a desktop app to keep track of jobs and scheduling.
The main part of my app visually is a calendar and in each visible day there will be lists as containers for jobs belonging to that day, also there will be a job que window with a list containing jobs not scheduled, and I can drag and drop from list to list, etc.
A job is just a data class I created to represent each job and I was wondering how I would display a job on the screen, it seems that if I add "extends JButton" to my Job class, I just add it anywhere you can add a JButton, and it displays as a button with width/height dictated by the contstructor, etc.
My question: Is this a proper use of class extension to make my data object a renderable component for the UI?
If not, what would be the proper method?