CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: msl6

Search: Search took 0.01 seconds.

  1. Replies
    10
    Views
    1,375

    Re: Swing code problem

    Figured it out.

    public void jTextArea2_keyTyped(KeyEvent e)
    {

    try{

    int Count = jTextArea2.getLineCount();
    int i1, i2 = 0;
    String expr = "";
  2. Replies
    10
    Views
    1,375

    Re: Swing code problem

    public void jTextArea2_keyTyped(KeyEvent e)
    {

    if (e.getKeyChar() == '\n' || e.getKeyChar() == '\r')
    {
    System.out.print("got a new line");

    ...
  3. Replies
    10
    Views
    1,375

    Re: Swing code problem

    Yes, I understand the logic of what has to happen but I am new to the swing library so I am not sure what the syntax of this code will be. Does anyone know?
  4. Replies
    10
    Views
    1,375

    Re: Swing code problem

    The user will hit enter when he/she is done writing the expression
  5. Replies
    3
    Views
    826

    Re: rule 30 finite automaton

    Hey

    The only part that i need to implement is the actual mapping of the bits. I need to get the pattern to output. Can you show me how you coded it?
  6. Replies
    10
    Views
    1,375

    Re: Swing code problem

    What the program is supposed to do is every time an expression is typed into the text pane it extracts ONLY the expression..

    So say i typed in x+4-2x as my expression

    Then it would extract this...
  7. Replies
    3
    Views
    826

    rule 30 finite automaton

    Hello all,

    This is my finite automaton rule 30. Some reason it is not printing out the correct pattern and I can not figure it out

    public class CA_1D2S
    {
    public CA_1D2S() {
    try {...
  8. Thread: Quick question

    by msl6
    Replies
    1
    Views
    510

    Quick question

    I am doing a normal java program and pretty much what it does is the user types in an expression and the program should parse the expression...

    My problem is I want the program to keep accepting...
  9. Replies
    10
    Views
    1,375

    Swing code problem

    public void jTextArea2_keyTyped(KeyEvent e)
    {

    if (e.getKeyChar() == '\n')
    {
    System.out.print("got a new line");

    }

    int Count =...
Results 1 to 9 of 9


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)