32,204 Topics

Member Avatar for
Member Avatar for Nazaria

hi... my name is nazaria segundo... and i have a question really hard for what i know... i have to solve the definite integral of 1 over (sin square of X) plus (4 cos square of X) if any one can solve it pls let me know!!!! thank youuuu

Member Avatar for iamthwee
0
149
Member Avatar for soso30

I am using netbeans to build this program,but it give this error java.sql.SQLException: No suitable driver at java.sql.DriverManager.getConnection(DriverManager.java:545) at java.sql.DriverManager.getConnection(DriverManager.java:193) at test.Main.<init>(Main.java:33) at test.Main.main(Main.java:72) how can fix it [code]/* * Main.java * * Created on 14 نوار, 2006, 07:39 م * * To change this template, choose Tools | Template …

Member Avatar for masijade
0
127
Member Avatar for vikkii_gv

Hi everyone i want the coding to display the idle time of the current page in jsp. help me to solve the problem bye vicky

Member Avatar for aniseed
0
40
Member Avatar for ronb722

Hi all, I am seeing the following error in my tomcat log file. Please see the attached file for the full error with stack trace. When I first bounce the server all is ok. After running for some time (I haven't yet been able to determine the exact amount of …

Member Avatar for ronb722
0
302
Member Avatar for java_programmer

hi frnds, i am a new member of this group. i am facing a problem while using eclipse. my eclipse version is 3.1. my question is how to configure eclipse so that it can detect the external jars while compiling some program? if u know , please suggest me . …

Member Avatar for jwenting
0
106
Member Avatar for Phaelax

I'm writing an IDE for java and already got the compiler linked into it, but I can't figure out how to read the data on the System.err or System.out streams.

Member Avatar for freesoft_2000
0
119
Member Avatar for Manojsah

Dear Experts, I am Manoj, I had been alloted with the project [B]online messaging system [/B] as a final project. i think it would very similar to the space where i am Posting , it should change the BackGround Color, icons etc please show me the way to do this. …

Member Avatar for server_crash
0
135
Member Avatar for sam1
Member Avatar for Phaelax
0
165
Member Avatar for Yustme

Hi, How do i align text to the right in java? Default its from left... Thnx in advance!

Member Avatar for server_crash
0
78
Member Avatar for Phaelax

I'm trying to find all quoted strings in a given text so that I can apply proper highlighting. I've tried various regex but can't seem to get the results I want. [code] String line = "a big \"yellow\" dog! And a \"purple\" bird!"; String[] tokens = line.split("\".+\""); [/code] That cuts …

Member Avatar for Phaelax
0
94
Member Avatar for Yustme

Hi, Im having a lil problem which is kinda fustrating me. This line of the code: g.fillRect( xPos, yPos - 20 - sensor[i], 20, sensor[i] ); the last sensor[i] besides how high the rect will be. And in this case that would be 1, 2, 3, 4, 5, 6 and …

Member Avatar for Yustme
0
522
Member Avatar for hahagal

I am new to java programming. I kept getting this problem cannot resolve symbol. I really don't know what went wrong. I am using J2SE SDK 1.5 and jGRASP 1.8.3. The code are below. Hope I can get a reply ASAP. Thanks.. [COLOR=#0000ff]1 [/COLOR][COLOR=#941edf]import[/COLOR][COLOR=#000000] java.util.Scanner; [/COLOR][COLOR=#0000ff]2 3 [/COLOR][COLOR=#941edf]public[/COLOR][COLOR=#941edf]class[/COLOR][COLOR=#000000] Pay [/COLOR][COLOR=#0000ff]4 …

Member Avatar for aniseed
0
176
Member Avatar for provenshop

Where can i download all Java advanced tutorials in Java sun .com i want the specific link

Member Avatar for aniseed
0
141
Member Avatar for hemanthjava

I am using FocusTraversalPolicy policy in my Swing Project for tab out functionality. In some screens some componenets(combo box , textbox etc) are disabled in between some enabled components. So when i tab out from those which are enabled it loses focus when i tab out as that component after …

0
64
Member Avatar for tripnip

I'm new at Java, and I'm probably just an idiot, but I need to know how to show an answer as both a fraction and a decimal. Can anyone tell me how?

Member Avatar for server_crash
0
153
Member Avatar for sam1

hi, I want to know what a thread is and what it is used for. also how it is used...:mrgreen: thanks

Member Avatar for Phaelax
0
130
Member Avatar for Julie444

I have the following problem with a servlet in production on the Internet. I am using POST in a servlet to send the data to the servlet. I see in the log from the servlet that in rare cases the post parameters received in the servlet are null, and when …

Member Avatar for monkeyMojo
0
167
Member Avatar for mohamad11

Hi plz if i have a text file file1.txt contains for example: Hi Bob ? How are You? I need to meet u. See u Bye and i need to copy this file contents to another file but without line separator i need to ignore it so i want for …

Member Avatar for aniseed
0
60
Member Avatar for mohamad11

:sad: Hi ,I have a text file and it contains a message ,I want to extract the last four characters in this file and then convert it to integer i did the following: FileInputStream Received_Message=new FileInputStream ("MyFile.txt"); BufferedReader buff2=new BufferedReader(new InputStreamReader(Received_Message)); System.out.println("Your Received message is as following:"); while((recv_Message=buff2.readLine() )!=null){ System.out.println(recv_Message); …

Member Avatar for aniseed
0
417
Member Avatar for xlhmx

is there any method to split this line into StringTokenizer or by regular express? [B]1009027,"PMP Exam Prep (4th Edition)","",8,0,0,5,4,"Paperback","0971164738","","",89,89,743,"01 October, 2002","Project management@@@Examinations, questions, etc@@@Study Aids@@@Professional@@@Architecture@@@Tests@@@Study Guides@@@Education@@@Business & Economics@@@","0971164738"[/B] i wanna split the word by the delimiter "," but i found that there is some "," inside the double quote....so is …

Member Avatar for Phaelax
0
120
Member Avatar for wanda

I wrote a simple program for tictactoe and have everything working except a method to check and see if a player has won the game diagonally. I am not sure how to write the for loop to check the board. Code: [INLINECODE] public class Board extends ReactiveDrawingPanel implements GameConstants { …

Member Avatar for iamthwee
0
151
Member Avatar for wanda

When using the modulus, if a<b, then a%b = a. But why, if a is negative, does -a%b = -a? According to the division algorithm, the remainder r must be >= 0 and <|b|.

0
89
Member Avatar for ilikerps

Hello, I am trying to write a simple updater program (in Java). A client would connect to the server, which would hand out any files it needs updated. One example would be updating a Java .class file. I have tried to just copy a class file, to see if that …

Member Avatar for ilikerps
0
158
Member Avatar for Dark_Omen

Hello, I was wondering if there was a way to find how many lines there are in a text file, and if so can you find out how many lines in the text file start with a particular word (an identifier). Thanks

Member Avatar for Phaelax
0
206
Member Avatar for sam1

hi, what is the difination name, when a method calls itself in its body? thanks

Member Avatar for sam1
0
216
Member Avatar for saunde

i'm making a project based on a UML, and i have a method that i don´t no how to do it, and what is to do. [CODE] public VertexIterator getEdgesIterator(){ // TO IMPLEMENT }[/CODE] here's the class WeightedEdge and Vertex : Classe Vertex [CODE]package SegundoTrabalhoTerceiraPartePrimeiraPergunta; import java.util.*; public class Vertex …

0
98
Member Avatar for shimul_bari

Hello, My problem is to connect through mobile to a servlet in web server and then collect some data . I hav built a servlet which serves this requests. I tworks fine in my pc. but after uploading it to web server it cannot connect to that server. Can anyone …

Member Avatar for aniseed
0
46
Member Avatar for sam1

hi, can a server and client application communicate using strings. for example say server sends ok and error for each request received....... thanks

Member Avatar for Phaelax
0
122
Member Avatar for Psyqwix

I'm fairly new to java and need someone to point me in the right direction. I'm writing a non web-based java program, and part of that program requires the ability to download files from websites (e.g. images, zip etc). I tried looking through the java class descriptions on the sun …

Member Avatar for Psyqwix
0
126
Member Avatar for Knightofdurham

Hi my name is Knightofdurham but my friends call me Knight anyways i am a student in the Uk doing information systems and management. ANyways the reason I have registered to this website is because i need help with one of my java programs. Basically at the moment it sorts …

Member Avatar for Psyqwix
0
110

The End.