[72cat] [GUI Builder] Change Font Size Exception

  • From: Mark Wilmoth < >
  • To: netcat netbeans < >
  • Subject: [72cat] [GUI Builder] Change Font Size Exception
  • Date: Tue, 29 May 2012 15:36:27 -0700 (PDT)
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=att.net; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Subject:To:MIME-Version:Content-Type; b=oNlkHgq/+nghFVnpVBPGWSgtMQ71fu476NihUm/55HDLSt0Or5UK/+liy33Lupedl+YijjcFyg1JXmG8gCWj3hTBskSxLNNPe3EOtSe9fdCKXKmFoudMj8lIBIjj0N/ouDO6EVEtD6O6FTvN5O9dly7I1WDXNjQ3E0etaaUb5Co=;

When changing Font Size on a component, like a JButton, if I enter xx for font size, there is caused: java.lang.NumberFormatException: For input string: "xx". I see an exception dialog flash on the screen and then go away. The Exception is recorded in messages.log.

Shouldn't this be handled so there is no Exception message?

Mark


[72cat] [GUI Builder] Change Font Size Exception

Mark Wilmoth 05/29/2012

[72cat] Re: [GUI Builder] Change Font Size Exception

Hermien Pellissier 05/30/2012

[72cat] Re: [GUI Builder] Change Font Size Exception

Mark Wilmoth 05/30/2012

Project Features

About this Project

www was started in November 2009, is owned by jpirek, and has 21 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20140418.2d69abc). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close