|
Hi, The instantiation of the CelsiusConverter class shows the methods to display the window: converterFrame.pack() and converterFrame.setVisible(true). When the actionPerformed() method is called, the text in the JLabel fahrenheitLabel changes, and the width of the JLabel and the JFrame celsiusConverter doesn't fit anymore. Shouldn't the method converterFrame.pack() be called once again in the actionPerformed() method? --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/javaprogrammingwithpassion?hl=en -~----------~----~----~----~------~----~------~--~--- |
