Results 1 to 2 of 2
Thread: JTextpane
- 04-15-2010, 02:34 PM #1
Member
- Join Date
- Apr 2010
- Posts
- 4
- Rep Power
- 0
JTextpane
Hi All,
I am writing a console which acts as a very simple calculator where the user types a math question (e.g. 7 + 6 ) and the program returns the answer. The console would like some thing as the following:
enter Input: 7 + 6 * 2
Output is: 19
What is the best way to read the input line (i.e 7 + 6 * 2). The expression "7 + 6 * 2" could appear any where in the input line.
Thanks in advance
-
Why are you re-asking this question when your same question asked yesterday was fully answered hours ago?:rolleyes:
Locking this post. Please send me a private message if I'm missing something obvious, for instance that this is not in fact the same question as previous for some reason.
Much luck.
Similar Threads
-
[SOLVED] jTextPane to xml
By er_zhong in forum New To JavaReplies: 9Last Post: 04-15-2009, 04:46 AM -
Clipboard and jTextPane
By Gudradain in forum AWT / SwingReplies: 11Last Post: 01-04-2009, 11:08 PM -
StyledDocument for JTextPane
By nadia in forum AWT / SwingReplies: 2Last Post: 12-28-2008, 02:41 AM -
GetIcon from jTextPane
By Gudradain in forum AWT / SwingReplies: 4Last Post: 11-26-2008, 03:26 AM -
Transparent JTextPane
By Ada in forum AWT / SwingReplies: 1Last Post: 05-31-2007, 09:50 PM


LinkBack URL
About LinkBacks

Bookmarks