Re: Help me!!

From: viator (viator_at_rediffmail.com)
Date: 10/20/03

  • Next message: viator: "Re: Help me!!"
    Date: 20 Oct 2003 10:48:18 -0700
    
    

    "xarax" <xarax@email.com> wrote in message news:<NAAkb.3506$S52.2699@newsread4.news.pas.earthlink.net>...
    > "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.

    But this solution separates input area from output area. Which is not
    like a normal console where input and output run together.


  • Next message: viator: "Re: Help me!!"

    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 ... > functionalities like reading a line at a time and writing output is ... Put the JTextArea or JList in a JScrollPane ...
      (comp.lang.java.gui)
    • Re: CallBack function is not not working .............
      ... You didn't mention you were writing a console based application. ... significant because you will not have a Windows message pump. ... Particulalry if you are new to TAPI. ...
      (microsoft.public.win32.programmer.tapi)
    • Starting a console application from parameters
      ... I'm writing a Console Application and I would like to start it only if I pass to it a param: ... myapp.exe --> I write usage reference ...
      (microsoft.public.dotnet.languages.vb)
    • 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)