The Artima Developer Community
Sponsored Link

Java Answers Forum
declaring variable value & output?

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
B.

Posts: 1
Nickname: netgeeq
Registered: Jul, 2003

declaring variable value & output? Posted: Jul 28, 2003 10:48 AM
Reply to this message Reply
Advertisement
My brain is fried...

I need help with two little pieces of code...here is a portion of the beginning of my program. Do you need more of the code to figure out what I'm doing wrong? (the last two comments are about what I'm missing)




public class Capstone extends JApplet implements ActionListener
{


JLabel enterLabel, resultLabel;
JTextField enterField, resultField;
int array[];
JTextArea outputArea = new JTextArea();
// You forgot to declare the variable value.
// You forgot to declare the variable output.

Topic: Please help with string problem Previous Topic   Next Topic Topic: Counting lines in text file

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use