Menu

#591 replacement for Display_Character_Code.bsh

None
closed
nobody
None
5
2017-03-21
2016-08-25
No

attached. for 5.3.1

1 Attachments

Discussion

  • Jim Michaels

    Jim Michaels - 2016-08-25

    should now display hex, dec, bin, oct. while that may not be necessary, it may be for some. in fact, there really could be a number converter in je somewhere I should think.

     
  • Robert Schwenn

    Robert Schwenn - 2017-03-21
    • status: open --> closed-accepted
    • Group: -->
     
  • Robert Schwenn

    Robert Schwenn - 2017-03-21

    Nice tiny enhancement - committed.

     
  • Dale Anson

    Dale Anson - 2017-03-21
    • status: closed-accepted --> open
     
  • Dale Anson

    Dale Anson - 2017-03-21

    This needs a minor fix, this line:

    Toolkit.getDefaultToolkit().beep();

    should be replaced, the right way to make a beep is to make a call like this:

    javax.swing.UIManager.getLookAndFeel().provideErrorFeedback(null);

    Instead of null, the appropriate component can be passed. Using Toolkit.beep() directly short-circuits the ability of the application look and feel to provide it's own implementation of appropriate error feedback.

    Reference: http://danson.grafidog.com/2015/08/getting-rid-of-java-beep.html

     
  • Dale Anson

    Dale Anson - 2017-03-21
    • status: open --> closed
     
  • Dale Anson

    Dale Anson - 2017-03-21

    I went ahead and did the replacement for the toolkit.beep.

     

Log in to post a comment.