It doesn’t matter how careful you are. It doesn’t matter if you bag each piece as you remove it. You can take all the pictures you want. You’ll still wind up with one or two screws left over.
Some things are just there to aggravate you. I deployed my new webapp, hit the page, and I got an error. No problem, I popped open the Glass Fish admin console and brought up the log. What do you mean no records found?
CardLayout works great as long as the “cards” are all about the same size. However, when a panel using CardLayout contains a very large component and a very small component, there can be some unpleasant behaviors.
When added to a JScrollPane, the the scroll bars work very well when displaying the large JTable. But, a small component (ex: a single button) is also displayed with scroll bars. Even worse, if there is enough difference in size, it is possible to entirely scroll the smaller content off screen.
JComboBox works great when you need to offer a choice of “Thing one” or “Thing two”.
But what do you do when you need to offer a choice of:
“My super, fantastic, amazingly awesome, awesomely cool gadget” or
“My super, fantastic, amazingly awesome, awesomely cool widget“?