Trying to put a ribbon in the open source project TN5250J which can be located
at http://tn5250j.sourceforge.net/. When I try to extend TN5250J JFrame with
your JRibbonFrame, I get null pointer exceptions in the layoutContainer. While
debugging the code I found a null pointer that is being returned from
ribbon.getSelectedTask() which causes For (JRibbonBand ribbonBand :
selectedTask.getBands()) to fail.
TN5250 is a rather large app, I can try and whittle down. You may just want to
bring the source down and extend the TN5250jFrame.java class. I took your
basiccheckribbon example and made it a class and changed JFRAME to my class in
If you have other ideas, I would be open to discuss. I thought that maybe I
could put your components on a JPanel, but looks like you require a jframe?