131 Discussion / Question Topics

Remove Filter
Member Avatar for server_crash

Does anyone know a good tutorial on parsing math equations? I would use google, but I don't know what to search.

Member Avatar for jwenting
0
118
Member Avatar for server_crash

[url]http://www.smartcertifydirect.com/[/url] Has anyone ever come in contact with these, or know anything about them? I thought about taking one, but I don't know if they are worth it or not. Any feedback would be greatly appreciated.

Member Avatar for server_crash
0
79
Member Avatar for server_crash

I had all of this program finished except for the plotting like a week ago...Ever since then, I've been trying to figure out how to plot the stupid polynomials..I thought I had it, but the program seems to go crazy whenever it's suppose to repaint..It's like repainting components on top …

Member Avatar for server_crash
0
128
Member Avatar for server_crash

I have this problem with graphics, actually I know it's with my compiler... If I try to set the background of a button or something I get erros that's not even in my code.. I have this: [Code] btnCalc.setBackground(Color.blue); [/Code] and I get theses errors [Code] //g is already defined …

Member Avatar for server_crash
0
143
Member Avatar for server_crash

This class is suppose to create a JPanel with a bufferedimage to draw on..I instanstiate this class from the main driver class, and it shows up fine, but I can't draw anything on the image, or even set the background color of the jpanel. Here is the class, see if …

0
93
Member Avatar for server_crash

I plan on writing an app that will graph polynomial expressions. My question is, what should I draw the graph on? Should I just use the regular frame and use DrawLine(), or is there something like a bitmap, or canvas thing I should use?

Member Avatar for server_crash
0
100
Member Avatar for server_crash

For the AP Comp. Sci. exam, we have to read 150 pages on this stupid program, and my teacher is wanting us to read the teacher's manual of it on the side..Which is another 130 pages...Now, I have heard that the questions on that case study makes up less than …

Member Avatar for AlPhA
0
185
Member Avatar for server_crash

I have a JMenu with some radio buttons...For some reason, when I click the stupid things, they won't do anything...and by that, I mean they want change their state to being clicked(as in the circle being filled)..It's like they are disabled...I'll post the snippets of code with them in it: …

Member Avatar for server_crash
0
145
Member Avatar for server_crash

Let's say I have two classes, Class1, and Class2..... Class2 creates and instance of Class1 and calls one of it's methods like this: [Code] Class 2 { Class1 c1 =new Class1(); c1.myMethod(); } [/Code] Now, that would work...But, could you have just the class variable instead of the class instance …

Member Avatar for server_crash
0
96
Member Avatar for server_crash

I have the datasoure and drivers set up, but for some reason this code is not updating the database. [Code] import java.sql.*; public class TestCreateCoffeeTable { public TestCreateCoffeeTable() { } public static void main(String[] args) { try { String createStatement; Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); String dataSource = "jdbc:odbc:Coffeebreak"; Connection con = DriverManager.getConnection(dataSource); Statement …

Member Avatar for server_crash
0
144
Member Avatar for server_crash

I'm curious as to how many of you routinely use jdk 1.5 tigers added features, methods, api's and whatever. Or, do you just stick to 1.4?

Member Avatar for nanosani
0
172
Member Avatar for server_crash

I know how to find a directory if I know the full path name of the directory I'm searching for..But, let's say I only know the directory name, and not the full path name..How can I find that directory on a users system? Is there some recursive function or looping …

Member Avatar for jwenting
0
86
Member Avatar for server_crash

Is it possible to update your programs information from other websites? I mean if you have like a stock program or currency program, the data changes everyday. So can you recieve updates from websites, and change this info? If so could you point me to a site that explains how, …

Member Avatar for server_crash
0
75
Member Avatar for server_crash

Does anyone know how you could process an equation, or even get an equation with more than two operands? Right now, in my calculator, I can only have two operands, and I want to have more. Right here is what I have: [Code] import java.awt.*; import java.awt.event.*; import javax.swing.*; public …

Member Avatar for server_crash
0
831
Member Avatar for server_crash

I have this simple calculator I just started on, and I'm having just a few problems. First of all, I don't know how to append text to a textfield. Maybe I would have to create a string buffere or something. Then, when the user clicks one of the buttons, the …

Member Avatar for server_crash
0
165
Member Avatar for server_crash

I've been trying to do this for weeks now, and can't seem to get it to work. I have a JTextPane called textArea2, and I have a variable called doc that gets the document from the textpane. I want to get the selected text but I can't get no code …

Member Avatar for server_crash
0
287
Member Avatar for server_crash

Does anyone know if I can use my linksys wireless g card on the linux platform? I don't see any linux files on my setup cd, nor is there any initial downloads for it that I know of.

Member Avatar for DMR
0
250
Member Avatar for server_crash
Member Avatar for aeinstein
0
121
Member Avatar for server_crash
Member Avatar for server_crash
0
76
Member Avatar for server_crash

I have this code that is suppose to append text to a JTextPane, using the Document method insertString(). I can't seem to get the attribute argument right, so maybe one of you can point me in the right direction... Here is the one line of code giving me problems, just …

Member Avatar for server_crash
0
357
Member Avatar for server_crash

I have a method that counts the number of words in a JTextArea. It works pretty good, except for the fact it counts characters that's not letters as words(such as "!@#$" would be a word)... Here is the code that I have got so far(no erros, compiles and runs fine, …

Member Avatar for server_crash
0
202
Member Avatar for server_crash

I made a text editor with very basic funtionalities. I wrote it all in one class because I really wasn't sure what to put into other classes. Right now the code is pretty messy and I want to rewrite it. I was wondering if anyone could give me some input …

Member Avatar for server_crash
0
180
Member Avatar for server_crash

Is it possible to print wirelessly from a laptop with a linksys g card? I do have a router but not a print server, so i dont know if this is possible or not. If it is, could someone tell me how to do this?

Member Avatar for Sphyenx
0
160
Member Avatar for server_crash

I keep getting a null pointer exception with this code: It's suppose to load a text file into a textArea. [Code] JFileChooser chooser = new JFileChooser(); int returnVal = chooser.showOpenDialog(this); String getFile = chooser.getName(); if(returnVal == JFileChooser.APPROVE_OPTION) { try { FileReader filegetter = new FileReader(getFile); BufferedReader br = new BufferedReader(filegetter); …

Member Avatar for server_crash
0
144
Member Avatar for server_crash

When I'm in linux(mandrake 9) I cannot use the touchpad on my laptop but I can use the mouse. Anyone know how to make it to were I can configure it for my touchpad?

Member Avatar for TKSS
0
123
Member Avatar for server_crash

I really like to play chess and thought about trying to actually make a chess game. Only im not sure were to even start. If anyone in here has ever done this can you give me some tips on how to get started and how difficult of a task this …

0
97
Member Avatar for server_crash

I made a program that simulates the roll of a six sided dice. I had my program return a random number between 1 and 6. The weird thing is I get 4 like 6 out of 10 times each time I run the program. So is the random number genarator …

Member Avatar for felgall
0
138
Member Avatar for server_crash

This is just a general question. I was wondering how you can make programs compile and run quicker? Does it have to do with the primative type you use or what?

Member Avatar for cosi
1
387
Member Avatar for server_crash

I have been working on TicTacToe for some time now. I just now got it to work but it's not working properly. When somebody gets three in a row a label is suppose to show that a player has won but it does'nt. So I cant figure out why it's …

Member Avatar for server_crash
0
127
Member Avatar for server_crash

Has anyone taken the AP Computer Science course in high school taught in Java? if so can you tell me how hard it is and all that stuff? Even if you took the course taught in a diffrent language i would appreciate if you would tell me about it. Thanks …

Member Avatar for rice_web
0
128
Member Avatar for server_crash

Why would my 56k modem be connecting at 12k and 18k? It has been doing this for about 2-3 weeks. Any ideas?

Member Avatar for jackster
0
142

The End.