Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.gui > #2238

JSpinner in hex

From "Roedy Green" <roedy.green@THRWHITE.remove-dii-this>
Subject JSpinner in hex
Message-ID <8el5c31o7dge63q2n5kkdhcmr5c9vtpbrs@4ax.com> (permalink)
Newsgroups comp.lang.java.gui
Date 2011-04-27 15:37 +0000
Organization TDS.net

Show all headers | View raw


  To: comp.lang.java.gui
I have written a HexFormat derived from java.text.Format that behaves
like a simplified DecimalFormat, however I don't see a simple way to
hook it up to a JSpinner to display values in hex. Is there a trick,
or must I write my own NumberEditor cloning a lot of code?

-- 
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

Back to comp.lang.java.gui | Previous | NextNext in thread | Find similar | Unroll thread


Thread

JSpinner in hex "Roedy Green" <roedy.green@THRWHITE.remove-dii-this> - 2011-04-27 15:37 +0000
  Re: JSpinner in hex "Thomas Fritsch" <thomas.fritsch@THRWHITE.remove-dii-this> - 2011-04-27 15:38 +0000
    Re: JSpinner in hex "Roedy Green" <roedy.green@THRWHITE.remove-dii-this> - 2011-04-27 15:38 +0000
    Re: JSpinner in hex "Roedy Green" <roedy.green@THRWHITE.remove-dii-this> - 2011-04-27 15:38 +0000

csiph-web