36,051 Topics

Member Avatar for
Member Avatar for Ghost18

I'm not sure what exactly is causing it, but there seems to be a problem with java. I cant play any java games, nor see anything in the java windows. I also cant goto some sites. My problem is a lot like JJJ's on his thread "[URL=http://www.daniweb.com/techtalkforums/showthread.php?t=18415-java]IE and Firefox Problems[/URL] …

Member Avatar for dpinol
0
169
Member Avatar for stupidenator

coming up in a week or so, I will be taking the AP Computer Science A Exam. I'm getting a little nervous about it. Has anyone ever taken this? What did you think about it? Anything in particular that I should really study up on? I have a book on …

Member Avatar for server_crash
0
278
Member Avatar for luisator

Hi everyone! I am trying to develop an application to communicate with a Microsoft Acces database. For doing that I import the java.sql package to use the DrvierManager class to get a connection. The problem seems to be the application doesnot find the java.sql package. I have the 1.4.2_08 version.. …

Member Avatar for jwenting
0
446
Member Avatar for SyLk

can someone explain to me how i can go about implementing a string from a jtextfield and storing it to a file please. I would really appreciate some sample code on this one. Thank you

Member Avatar for Phaelax
0
140
Member Avatar for nelly_1005

i have a sseacrh mode for a mobile phone and i wnat to create the results of query as options so they are selectable, so that when a user selects the option they are taken to that page how do i do this?? do i use a similar code as: …

Member Avatar for adityabakle
0
102
Member Avatar for niamul

I have a problem like this : I have an XML file containing some records and I wants them to store in a list of objects. So first I have to create objects from this XML file. But I don't know how to create object from XML file. If anyone …

Member Avatar for Black Knight
0
104
Member Avatar for nandoo

Hi, here i enclosed my coding.i want the dom objects price,qty,oselect,name,sku and upc in the html body tag so that it can be submitted into another pages. here i want each and every element in each row to be collected and sent to the next place not the last element …

0
119
Member Avatar for tenoran

Thanks for reading my post. I would like to make a maze of pacman game with Java. I just want to load the maze from txt file, "pacman.txt" ,into program and show it upon the screen with applet. Usually, maze part would not be made or read in my way, …

Member Avatar for Phaelax
0
121
Member Avatar for zaman1111

I have a SQL query: SELECT * FROM Job_Request_Record, Requester_Record WHERE Job_Request_Record.Job_Requester_ID=Requester_Reco rd.Requester_ID; if i want to call an attribute from Job_Request_Record table e.g. rs.getString("ID")is it valid? or anything else. please help. Also, is it possible to have a create view table in ms access 2003?

Member Avatar for adityabakle
0
161
Member Avatar for nelly_1005

hi guys found anotehr probem with my code, i have created a wml page which users input a search criteria, this is then apssed onto a jsp page which prints the value in teh jsp page though it doesnt print the parametr value and prints out null code is: <b><big> …

Member Avatar for adityabakle
0
159
Member Avatar for nickyt8

Logfile of HijackThis v1.99.1 Scan saved at 19:00:10, on 28/04/2005 Platform: Windows XP SP2 (WinNT 5.01.2600) MSIE: Internet Explorer v6.00 SP2 (6.00.2900.2180) Running processes: C:\WINDOWS\System32\smss.exe C:\WINDOWS\system32\winlogon.exe C:\WINDOWS\system32\services.exe C:\WINDOWS\system32\lsass.exe C:\WINDOWS\system32\svchost.exe C:\WINDOWS\System32\svchost.exe C:\WINDOWS\Explorer.EXE C:\WINDOWS\system32\spoolsv.exe C:\WINDOWS\System32\spool\DRIVERS\W32X86\3\E_S10IC2.EXE C:\Program Files\Common Files\Symantec Shared\ccApp.exe C:\Program Files\Common Files\Symantec Shared\ccProxy.exe C:\WINDOWS\system32\RUNDLL32.EXE C:\Program Files\BT Voyager 105 ADSL Modem\dslstat.exe C:\Program Files\BT …

Member Avatar for crunchie
0
111
Member Avatar for server_crash

I can't get this code to compile, and I'm really pissed....Someone please help: [Code] import java.io.*; import java.util.*; import static java.util.concurrent.TimeUnit.*; public class ScheduleTester { public static void main(String[] args) { /** Get a scheduler **/ ScheduledExecutorServer scheduler = Executors.newSingleThreadScheduledExecutor(); /** Get a handle, starting now, with a 10 second …

0
75
Member Avatar for stupidenator

Hey all, For sort of a final project, I want to build a program in Java (if it's possible) that works much like the GMail Notifier except I want to make it popup a notification if I receive a new email in my yahoo, hotmail, or google accounts. Does anybody …

Member Avatar for jwenting
0
224
Member Avatar for shak187

hi there i have some python coding which i need to convert to java can ne1 help me please email me back if you can help then i will show you the coding much apprieciated or can ne1 give me some complted java code to look at

Member Avatar for shak187
0
1K
Member Avatar for acee

Working on a problem which uses a main only to implement Selection Sort. You enter arbitrary amount of integers and when the program runs it spits out the integers in increasing order. So the output would be something like this: Enter Integers to sort: 3 > 1 > 8 > …

Member Avatar for shyammurarka
0
410
Member Avatar for sydneyrustle

hi just wondering if anyone can help me out. i need to create a loop to display 50 roll of two dice?? i keep getting an infinate loop and i don't know how to limit it to 50.....

Member Avatar for sydneyrustle
0
156
Member Avatar for paradox814

I am in the process of learning JSP and my question is how do I check to see if a variable exists? The equivalent of this in php would be [php]if (isset($_POST['someVar']))[/php] or [php]if (isset($_GET['someVar']))[/php] any and all help would be appreciated!

Member Avatar for Comatose
0
206
Member Avatar for sensi

hi, i have been asked to create a class, TestStudentContactDetails, which uses another classes method. the first class StudentContactDetails contains a method emailAddress(String RegNumber, String Course). This method takes the Course code supplied and opens a csv file stored at c:\UserFiles. It then searches the file for an entry corresponding …

Member Avatar for Phaelax
0
246
Member Avatar for paradox814

When I open a Java Program, I want a method which returns true if the program is already running, and false otherwise. Is there a way to check for this? For example, say we open our web browser, the first time we open it, i want the method to return …

Member Avatar for tonakai
0
184
Member Avatar for Ghost

Hi Everybody, I was wondering if anybody knew if you can controll hardware with Java (open the CD drive, etc.). Thank you in advanced, C++

Member Avatar for miri
0
140
Member Avatar for SSSBoy

Anyone know how to remove an object at a particular index from an array? Im doing a Noah's Ark project for my class and Im using an Array to hold the abstract animal class and once an animal dies, I have to remove it from the list. However I can't …

Member Avatar for miri
0
238
Member Avatar for vex

What development kit is the most widely used? Which is the easiest to use? Thanks in advance

Member Avatar for miri
0
266
Member Avatar for dakkar

1) I've a form that takes some input (various fields) I must use those fields as fields of a record of a simple XML database file. Mi xml file is like: <database> <record id="1"> ...my fields... </record> <record id="2"> ...my fields... </record> ... </database> I simply must add a "new …

Member Avatar for miri
0
171
Member Avatar for Lalli10

Thing is I want a small painted ball to travel from point A to Point B combined with a timer so I can see it move. I know the mathematical side of the problem and have come up with this: int abX = pointA.getX() - bointB.getX(); // abX is the …

0
102
Member Avatar for oberle1515

I need to find the square root of the following numbers 0,2,4,6,8,10,12,14,16,18,20 I know how to use the square root method I know how to use the loop function to find it for all numbers If I just wanted to print the numbers I can do this What I cant …

Member Avatar for oberle1515
0
144
Member Avatar for ultimate_fusion

i had an eariler problem and posted it here [url]http://www.daniweb.com/techtalkforums/thread22426.html[/url] I have to read a file in format char, int, string, string string(but i dont know how many strings(words are on the end). I can get the char and int(the code is on the link above) and one strings(word) but …

Member Avatar for paradox814
0
96
Member Avatar for Ghost

Hi Everybody, I was wondering if there was a way to take a string in a java project and put it in the username field (like the field on [url]http://www.inquiryBio.com/WEBPROTECT-job.htm[/url] ) of another program. I think you may have to access another class somewhere else.Just so you know... I'm doing …

Member Avatar for paradox814
0
234
Member Avatar for server_crash

This is kind of a weird senario. This question was at the java state championship I was at a few weeks ago. Here was the question: Which type of class cannot be instantiated: abstract static (choices I can't remember..they were wrong) Would both abstract and static be correct answers? I've …

Member Avatar for server_crash
0
1K
Member Avatar for dakkar

I've a problem with some code, this is the "core" of the code: [CODE] File xmldocFile = new File(xmlFile); File schemaFile = new File(xsdFile); try { DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance(); dbf.setValidating(true); SchemaFactory sf = SchemaFactory.newInstance("http://www.w3.org/2001/XMLSchema"); Schema mySchema = sf.newSchema(schemaFile); dbf.setSchema(mySchema); DocumentBuilder db = dbf.newDocumentBuilder(); ErrorChecker errors = new ErrorChecker(); db.setErrorHandler(errors); …

-1
79
Member Avatar for stupidenator

I just have a quick, dumb question about interfaces... What are they? I mean my teacher has been trying to explain them and I didn't pick up on that and then I read about them in a Java book and on the internet, but it's still just not clicking. I …

Member Avatar for stupidenator
0
156
Member Avatar for Harvester

So there are test results in a txt file. (In this format: student id (int), First Name (String), Last Name (String), points (double). One student/line). I need to make an ArrayList<Student> using the txt file (Student has a student id, first name etc.), . I know how to read the …

Member Avatar for Harvester
0
153
Member Avatar for mojtabamaster

hello I want to open a html or jsp page with a jsp command please help me thank you :?:

Member Avatar for paradox814
0
185
Member Avatar for mav2040

Hey people, first I would like to say hi to you all. :-| You see I'm a beginer is the computer industry, I'm still in college right now. And I really love to learn more. Could you pleas give me some links where I can find free tutorials and free …

Member Avatar for paradox814
0
191
Member Avatar for JGee

I am new to programming and I kind have got myself into a bet with a mate that i can create a basic program in three weeks. The program needs to be able to show a missile launching from country to country and exploding. It needs to miss about 40% …

Member Avatar for dakkar
0
199
Member Avatar for jengels

I have a text file that looks like this, John, 27, Kids, Married Jane, 22, No Kids, Single and so on... I have read in the text file as seen below, Scanner scan = new Scanner(System.in); System.out.print ("Enter the name of the input file: "); fileName = scan.nextLine(); fileScan = …

Member Avatar for paradox814
0
116
Member Avatar for bob901

hey all :) i locked some files using win rar and cant remember the pass lol, so heres my qu, can you make a password cracker in java for it, if so can someone tell me how stpe by step :).

Member Avatar for bob901
0
317
Member Avatar for nabil1983

Does ne one know how to answer this question? Discuss the truth or otherwise of the statement “Recursion and loops are the same thing".

Member Avatar for paradox814
0
285
Member Avatar for Phaelax
Member Avatar for dakkar
0
144
Member Avatar for phani.n

wat exactly servlets are? how r they used in java? wat r the real benefits by using java servlets? give a detailed theory and example for servlets in simpler words.

Member Avatar for dakkar
0
151
Member Avatar for nabil1983

Can someone explain this sort algorithm to me and how i can make a more efficient version, justifying the changes. for (int p = 0; p<n-1; p++) for (int counter = 0;counter < n-1; counter++) if (a[counter]> a[counter+1]) swap(a, counter, counter+1); Apreciate all help.

Member Avatar for jwenting
0
157
Member Avatar for phantomlady

Hi, newbie question, Im trying to get a thumbnail picture on a html page to open a seperate (sized browser window (about 300/300 or so)-view Large version of the thumbnail. I'd like to specify a background image (if possible), but just trying to get an image to open first of …

Member Avatar for phantomlady
0
146
Member Avatar for jmozzie

I have until Monday at 3:00 pm to get this chat client working. I have been at this for 2 weeks, now. I have finally given in to asking for help. I'm trying to convert the following specs into code: 1. In the launchFrame method, you need to make the …

Member Avatar for jmozzie
0
178
Member Avatar for ultimate_fusion

I have to read a file in format char, int string. I can easily do it in the form - int int, string e.g. 12 34 the cat sat on the mat(which is what I want to process and output) code below. [code] tokenType = inputStream.nextToken(); while (tokenType != StreamTokenizer.TT_EOF) …

Member Avatar for server_crash
0
605
Member Avatar for ultimate_fusion
Member Avatar for ultimate_fusion

just a quick question. I was wondering what java programme was on mobiles and what programme would you need to make a java file to run on a mobile??? thanks 4 :eek:

Member Avatar for server_crash
0
184
Member Avatar for luisator

Hi everyone!!! I finally fixed all the errors in my application but now I get a main exception that I don't really know how many problems can bring. The message says: Exception in thread "main" java.lang.NoClassDefFoundError: sampleapps/tutorial/PrimerApp Thanx 4 your colaboration!

Member Avatar for server_crash
0
139
Member Avatar for Black Knight

Is there anyway to listen to a bool value? I have a login window that has a loggedIn boolean value, I need to watch that value in the main thread so when it changes to true it returns to the main thread and loads up the rest of the program, …

Member Avatar for Black Knight
0
169
Member Avatar for oberle1515

Could someone explain parameters a little bit to me. I have to write a program that returns the difference of of two integers.(larger-smaller) I understand the basis class FindDifference { //Main method public static int difference(int num1, int num2) { int num1 = 10; int num2 = 4;

Member Avatar for paradox814
0
147
Member Avatar for George2

Hello everyone, I have heard that there are some offline technologies which can enable users to browse web site in offline mode. It can prefetch some information from the web site (for example, Yahoo map data for some specific cities) when network connection is available. And when in the future …

Member Avatar for George2
0
179
Member Avatar for server_crash

I know you can use j2me for programming on palm pilots and PDA's...At least I think! My question is, does it matter what make/model/ or specs the PDA has to be able to program on it, or be compatible with j2me?

Member Avatar for server_crash
0
149

The End.