Re: Help me!!

From: xarax (xarax_at_email.com)
Date: 10/19/03

  • Next message: Mike Brown: "Re: newbie qusetion"
    Date: Sun, 19 Oct 2003 18:19:25 GMT
    
    

    "viator" <viator@rediffmail.com> wrote in message
    news:dc828419.0310190914.54b32a0d@posting.google.com...
    > Hello Everybody
    > I am writing an intepreter for a mathematical language. The lexer of
    > the interpreter reads its input from InputStreamReader and therefore,
    > can be connected to the system console. But I want to provide a GUI
    > console for the interpreter that can be invoked from within the GUI
    > interface. I don't want to duplicate a full OS shell but the basic
    > functionalities like reading a line at a time and writing output is
    > required. Can some one suggest how can i implement such a interface
    > using java swing.
    >
    > viator...

    Use a JTextField for input. Use a JTextArea or a JList to
    display the output. Put the JTextArea or JList in a JScrollPane
    so the user can scroll the results.


  • Next message: Mike Brown: "Re: newbie qusetion"

    Relevant Pages

    • Re: Help me!!
      ... >> I am writing an intepreter for a mathematical language. ... >> console for the interpreter that can be invoked from within the GUI ... But this solution separates input area from output area. ...
      (comp.lang.java.gui)
    • Re: Has anyone implemented BASIC in Python?
      ... > interpreter for an unstructured language program. ... thinking thinking about stackless code with IF and GOTO for flow control. ... writing them? ...
      (comp.lang.python)
    • writing an interpreter in lisp
      ... I must write an interpreter for a programming language. ... Yet, I'd like to learn LISP, and writing my interpreter in LISP might ...
      (comp.lang.lisp)
    • Re: Writing spaghetti code for obfuscation/encryption
      ... > I'm considering writing some convoluted and confusing code in order to ... that interpreter during the execution of your code: ... <more x86 instructions> ...
      (comp.lang.asm.x86)
    • JTextAreas
      ... Having looked over the JTextArea api's and by trial and error, ... have had no luck in finding an answer to me question. ... So now I am writing in the hope that someone can help me. ... what I am trying to do is insert a snall image into a ...
      (comp.lang.java.programmer)