Hi Andy, the joys of user interface development :-) Difficult to say what is wrong with your code. I assume you need to add the button to either the contentPane of the JFrame or to the verticalBox that is there. - I find working with Boxes the most straightforward way to build up a user interface... No need to have too many panels most of the time...
Andreas On Sun, Dec 20, 2009 at 7:50 PM, Andy Lu <[email protected]> wrote: > Hi, I have a simple question. > I tried to add a button to the JMol program opened through biojava. I added > a Button Panel and JMol Panel to the JFrame. > But the Button only shows up when my mouse is hovered over it. > Is there a way that I can make it visible all the time? > Thank you! > _______________________________________________ > Biojava-l mailing list - [email protected] > http://lists.open-bio.org/mailman/listinfo/biojava-l > _______________________________________________ Biojava-l mailing list - [email protected] http://lists.open-bio.org/mailman/listinfo/biojava-l
