Forum: Java Sep 19th, 2006 |
| Replies: 1 Views: 1,193 the text script type="text/javascript" should hopefully give you a hint that your code is actually JavaScript and not Java. I would recommend asking your question in the HTML, CSS and JavaScript... |
Forum: Java Sep 19th, 2006 |
| Replies: 7 Views: 2,428 Do you have two class files or do you have only one class file? |
Forum: Java Sep 19th, 2006 |
| Replies: 2 Views: 1,206 |
Forum: Java Sep 17th, 2006 |
| Replies: 1 Views: 926 How are you creating your thread that communicates to the internet? |
Forum: Java Sep 14th, 2006 |
| Replies: 4 Views: 1,909 Finally figured it out. It took a while...
bExitButton is being declaired in the class twice.
Changed
JButton bExitButton = new JButton("Exit");
to
bExitButton = new JButton("Exit");
... |
Forum: Java Sep 13th, 2006 |
| Replies: 4 Views: 1,909 could you post more of your code please. there doens't even seem to be a complete class there. :)
Also, do a System.out.println(bExitButton) right after the bExitButton is created and then do a... |
Forum: Java Sep 12th, 2006 |
| Replies: 2 Views: 1,014 You might want to ask this question over in the HTML, CSS and JavaScript (http://www.daniweb.com/techtalkforums/forum143.html) forum. |
Forum: Java Sep 12th, 2006 |
| Replies: 6 Views: 1,599 EXIT_ON_CLOSE use to have to be placed in an ActionListener. Not anymore though. |
Forum: Java Sep 11th, 2006 |
| Replies: 6 Views: 1,599 You could also try adding all your components and THEN showing the JFrame.
JFrame jfWindows = new JFrame("Search Box");
...
//add components here...
...
jfWindows.setVisible(true); |
Forum: Java Sep 7th, 2006 |
| Replies: 5 Views: 2,023 What question? A question ends in which punctuation called a question mark. All I see are statements, that quite frankly looks like a school assignment. Which if you read the second announcement... |
Forum: Java Sep 7th, 2006 |
| Replies: 10 Views: 1,740 Yeah, that will work.
But, what I was trying to explain is that normally binary distributions are not stored in cvs. normally the actual code is stored into cvs then after a checkout is completed... |
Forum: Java Sep 6th, 2006 |
| Replies: 10 Views: 1,740 Typically it is best to store the source files and then create binaries from the source after doing a checkout. But if you're unable to do that, its fine.
For storing your data in CVS I think I... |
Forum: Java Sep 6th, 2006 |
| Replies: 5 Views: 2,023 Is there a question in there somewhere? |
Forum: Java Sep 6th, 2006 |
| Replies: 2 Views: 1,196 You and everyone else...
http://www.daniweb.com/techtalkforums/thread53661.html |
Forum: Java Sep 5th, 2006 |
| Replies: 6 Views: 2,085 Well, letting the JPanel know about the Tabbed Pane is easy.
Subclass JPanel and name is something like JTabbedPanePanel.
public class JTabbedPanePanel extends JPanel
{
private... |
Forum: Java Sep 5th, 2006 |
| Replies: 10 Views: 1,740 Are you on a unix, linux or windows machine?
There are different cvs products for each I think.
You are going to have to do a lot of reading on cvs to get good at it. But there are CVS... |
Forum: Java Sep 5th, 2006 |
| Replies: 6 Views: 2,085 Well, there are a few ways to do what you want to do.
First, allow each panel to know about the tabbed pane.
Second, have the event from the list box be recieved by something that does know... |
Forum: Java Sep 4th, 2006 |
| Replies: 6 Views: 2,085 Why would the panel need to request the tab change? |
Forum: Java Sep 3rd, 2006 |
| Replies: 3 Views: 3,090 What about using the .toCharArray() method on String? |
Forum: Java Sep 3rd, 2006 |
| Replies: 3 Views: 4,932 Yeah, we're not suppose to do your homework for you bud.
Do you have to use arrays? It might be best to use a HashMap here. Using a HashMap will allow you to count only the characters that you... |
Forum: Java Aug 29th, 2006 |
| Replies: 4 Views: 1,652 Of course you need help with deciding on what to do for a semester ending project.
How about trying one of these?
http://www.daniweb.com/techtalkforums/thread48951.html... |
Forum: Java Aug 28th, 2006 |
| Replies: 3 Views: 1,403 cook‧ie /ˈkʊki/ Pronunciation Key - Show Spelled Pronunciation[kook-ee] Pronunciation Key - Show IPA Pronunciation
–noun
1. a small cake made from stiff, sweet dough rolled and sliced or dropped... |
Forum: Java Aug 25th, 2006 |
| Replies: 4 Views: 1,502 You could most likely use CSS. |
Forum: Java Aug 25th, 2006 |
| Replies: 2 Views: 3,164 You will need to use JDBC to access the database.
Here is a link that was found with a simple "JDBC Access" google search.
... |
Forum: Java Aug 24th, 2006 |
| Replies: 5 Views: 1,571 What type of exam doesn't have proper study materials? I would complain to your professor.
By the way, you're asking Human Computer Interaction questions in a Java Programming Language forum. I... |
Forum: Java Aug 24th, 2006 |
| Replies: 5 Views: 1,571 The answers to your questions would most likely be in your text book. Or on your teachers power point slides. |
Forum: Java Aug 23rd, 2006 |
| Replies: 63 Views: 131,743 type 'set CLASSPATH' and 'set JAVA_HOME' instead. CLASSPATH and JAVA_HOME are not commands they are system varables.
(You also should have stared your own thread instead of adding onto this one.)... |
Forum: Java Aug 23rd, 2006 |
| Replies: 5 Views: 4,574 You are correct. I miss read the following code:
int limit = Integer.parseInt(args[0]);
as...
int limit = Integer.parseInt(0); |
Forum: Java Aug 23rd, 2006 |
| Replies: 3 Views: 1,458 Do you have requirements yet? Besides having to create a hotel reservations system? |
Forum: Java Aug 23rd, 2006 |
| Replies: 3 Views: 1,603 So my guess is you didn't read the very first post in this forum titled: Please use BB Code and Inlinecode tags (http://www.daniweb.com/techtalkforums/announcement9-3.html). It helps us other people... |
Forum: Java Aug 23rd, 2006 |
| Replies: 5 Views: 4,574 Thats because you're making an array of 0 length. There won't be a value at position 2. (Which is really item number 3 because I think arrays start from value 0.) |
Forum: Java Aug 22nd, 2006 |
| Replies: 3 Views: 1,603 HEY DAN!
IT MIGHT BE BEST TO USE THE [code] Tags!!!!1
IT ALSO MIGHT BE BEST IF YOU LET US KNOW WHAT YOUR ERRORS Are Too! |
Forum: Java Aug 21st, 2006 |
| Replies: 1 Views: 1,594 Asking this question in the JavaScript forum would be a good start. |
Forum: Java Aug 20th, 2006 |
| Replies: 2 Views: 2,422 I agree with jwenting. Its a bad idea to do database programmiing in a jsp. But my guess is you won't stop doing it. So I would recommend puting system.out statements in your catchs to see if an... |
Forum: Java Aug 15th, 2006 |
| Replies: 1 Views: 1,572 Is this for a class project? Or is this for a professional project?
Also, please keep all your questions in one thread. It will make things easier. |
Forum: Java Aug 14th, 2006 |
| Replies: 10 Views: 7,995 Well, getting the requirements frist would be a first good step. Then figuring out what your business objects are from there would be a nice second step.
You must first show some effort and then... |
Forum: Java Aug 13th, 2006 |
| Replies: 4 Views: 2,802 I agree with server_crash on the jpanels inside of other jpanels. Excellent strategy for building a GUI.
However, I do recommend jumping right into GridBagLayout. Even when there are jpanels in... |
Forum: Java Aug 12th, 2006 |
| Replies: 14 Views: 2,495 |
Forum: Java Aug 11th, 2006 |
| Replies: 10 Views: 3,862 No.
Try: import com.warren.ecommerce.Item;
If that doesn't work we will have to try something else. |
Forum: Java Aug 11th, 2006 |
| Replies: 10 Views: 3,862 In the Storefront class are you importing the package that Item is in? |