I'm making a program that is some kind of a room manager,
Every day there are different clients in each room and sometimes one room have two shift in it: morning and evening.
I want to, in days that 2 clients are listed at the same room in different shifts, split the cell (which is a JButton
) into two buttons, both contained in the same cell and to color every client in its own color.
This is a screen shot of my app:
And this is what I wish to accomplish:
Any ideas for how can I split the atom like that?