32,199 Topics

Member Avatar for
Member Avatar for SoftShock

Hi, I'm having a difficult time printing the product of the odd integers from 1 - 15. When I run it the program prints "1 2 2 2 2 2 etc." I don't see what I'm missing or why it won't print what I want. Did I add something I …

Member Avatar for SoftShock
0
121
Member Avatar for toferdagofer

This is probably an easy one that i know but its not coming to me. Im supposed to be hardcoding the 6 instances of a movie class into the array that i have set up. I am unsure where i would do that in my actuall code. [CODE] public class …

Member Avatar for Ezzaral
0
3K
Member Avatar for riahc3

Hey Ive been hearing about Netbeans but Id like alternatives. Any out there? If the program is not written in Java (ironic I know) I would perfer it. Thanks

Member Avatar for peter_budo
0
134
Member Avatar for raym.mart

can someone help me find something that i can depend on making sourcecodes using while, do while, for while...thx

Member Avatar for vaibhav1983
0
75
Member Avatar for solitaryy

So I have designed my program but am stuck on one function. [I]The following is an excerpt from my class:[/I] [CODE] public class SqrXY { public void SqrXY (double x, double y) { xaxis = x; yaxis = y; } public double addition () { //this is what I am …

Member Avatar for solitaryy
0
122
Member Avatar for anthwon

write a program in diving competitions, each jump is assessed by seven judges who give points on a scale from 0 to 10. The point for each jump are calculated as follows: Ignore the highest and lowest scores given by the judges. Then calculate the average of the remaining five …

Member Avatar for anthwon
0
279
Member Avatar for d2thalo

Hello, I am a java/database rookie. I am attempting to find some information on how to link an access database to a java application that my company runs. I know this is possible, but does anyone know any tips, or even where to start? Thank you in advance.

Member Avatar for Ezzaral
0
140
Member Avatar for tyson.crouch

G'day, I just want to ask how could i run a set up for a MySQL DB through Java. For example, when installing the application, I need to check if MySQL is installed, and if not, install it. OR, how would I go about checking for a registry for mysql …

Member Avatar for Ezzaral
0
115
Member Avatar for alexdlaird

I'm baffled by a recent discovery with one of my programs. I'm still in beta testing, so this was a good time to catch the issue. But it seems that, when installed on a 64-bit system, the data files are simply [I]not written[/I]. If you are running a 64-bit system, …

Member Avatar for Ezzaral
0
225
Member Avatar for doctorjo5

I'm having trouble figuring out a few different methods that I'm putting into a constructor. Any chance for advice? I'm having trouble with the last 3 near the bottom. I want to compare two name variable to each other to see if they are the same regardless of case, then …

Member Avatar for NormR1
0
201
Member Avatar for madawa123

hey guys, How to convert the lat/long (in decimal) to x,y pixel. my map has a height and width of 800,500 thnx regards, Nishan

Member Avatar for NormR1
0
479
Member Avatar for comSysStudent

Hi all, I've been trying to do this for a few hours now, I've seen several suggestions that castin the toArray() method to a (String[]) should work but this results in runtime errors for me. Code is below, any help would be appreciated. Error is with the getStudents() method, there …

Member Avatar for NormR1
0
323
Member Avatar for kumpul101

we have a case study to accept user input or should i say... INPUTS from user input :: must not exceed 5 digits. when the user inputs 0 (zero) .. it will reverse his inputs from before. how can i reverse them?? can this could do the job? [CODE]public static …

Member Avatar for JamesCherrill
0
232
Member Avatar for shandow

I have a project to create a game. This is my code since i am the way improvement. But now i face a problems is, when i run the code and play it, there have a bug and i don't know how to fix it, pls help me. When i …

Member Avatar for NormR1
0
522
Member Avatar for pr1sm

[code] private void button1_Click(object sender, RoutedEventArgs e) { ShellWindows shellwindows = new ShellWindows(); string filename; foreach (InternetExplorer ie in shellwindows) { // Get the document mshtml.IHTMLDocument document = ((mshtml.IHTMLDocument)ie.Document); // Get the script object. object script = document.Script; filename = Path.GetFileNameWithoutExtension(ie.FullName).ToLower(); if (filename.Equals("iexplore") && ie.Document.parentWindow.name = "Test") { // Make …

Member Avatar for pr1sm
0
1K
Member Avatar for sarkar.manab

Can some one help me in find out which other threads are created as we start our main program, like "main" thread will be followed by "Finalizer" and then followed by "Reference Hanndler" etc. It may be System threads. But my questions is how i came to know and starting …

Member Avatar for sarkar.manab
0
99
Member Avatar for flyingcurry

For homework, we have to find the time complexity class of certain algorithms and explain why it has that certain complexity class. So, I have a couple of questions: - Why is the first running time always so much longer than the ones after? (setting up the application or something??) …

Member Avatar for tong1
0
212
Member Avatar for NewbieProgram

Our professor decided to give us a really hard assignment in our 2nd week in the course. I really have no clue where to start. Requirements Writing reusable code to check a user name and password can be a challenging task. Three major things can change between one password checker …

Member Avatar for NormR1
0
242
Member Avatar for samuel17

Hi all, Me again. I am having issues with a looping program. My current issue right now is that it wont compile, it keeps saying i need another perentheses at line 20. This program is suppose to calculate the investment and show for every year. The year and amount of …

Member Avatar for tong1
0
237
Member Avatar for kratoras

Hello everyone, i have a problem using the replaceAll method and i hope that somebody can help. I want to remove substrings (sub) from a string (message). The message string looks like that: prop(ag1,0,1,4,5)/prop(ag2,2,5,3,3)/prop(ag1,0,1,4,5).... I want to take each prop(...) and put it in a list, but not the duplicate …

Member Avatar for Rajesh1202
0
238
Member Avatar for eman 22

I'm now studing Object Oriented programming course,and I want to do a gui and implement all rules of object oriented programming in it . so what's the best recommend language to do gui other wise library swing in java ??

Member Avatar for JamesCherrill
0
52
Member Avatar for Xufyan

I had an assignment to create a calculator in two ways, 1) Method returning values. 2) Method without returning values. I've done this with methods returning values but how could i add, subtract, divide , multiply without returning a value from methods ? [CODE]import java.io.*; class first{ int a=5,b=2,c; public …

Member Avatar for java_programmer
0
147
Member Avatar for java_programmer

I was trying to develop an application with Derby. I have java 6 installed in my machine. But I couldn't find any derby.jar or derbytools.jar under my java installation directory. Should I have to install it seperately? As per as I know, it installed automatically with JDK 1.6.

Member Avatar for JamesCherrill
0
51
Member Avatar for cretaros

Hey guys i need a code that will load a picture from an external library and to a java frame, then it haveto be savwd to mySQL database. Is it possible to save it to a Db or it will be saved in binary form? if so hows the retrival. …

Member Avatar for NormR1
0
53
Member Avatar for CarterJJ

I'm looking forward to some tips on how to improve this code I wrote. Don't rewrite it yourself please, as I'm really not looking for someone else to do my homework. What advice would you give me? [CODE] import java.util.Random; public class CompareTo { public static void main(String[] args) { …

Member Avatar for NormR1
0
124
Member Avatar for joss23

Hi there,I am stuck here.The question ask to Write an application for a university admissions office. Prompt the user for a student’s High School Grade Point and an admission test score (value from 0 to 100). Print the message “Accept” if the student has any of the following: A grade …

Member Avatar for joss23
0
115
Member Avatar for Olliepop

Hey guys I'm about to launch this server on my VPS and want to make sure it won't do any damage or hit my CPU cap. I've written this code for my online game which visits a page every 888ms by starting a new thread which opens a connection with …

Member Avatar for Olliepop
0
200
Member Avatar for AirGear

Hello everyone, now i don't want to ask about error or bug, because what i need to do is searching a source code. The source code should be related to computer graphic, for example to sketch a graphic. Do you have any suggestion where i can find such source code …

Member Avatar for AirGear
0
91
Member Avatar for terzenta

I'm trying to work on a basic checking account program. It will eventually allow the user to make a deposit or withdrawal to an account. I honestly have no idea what I'm doing wrong here, but I'm hoping it's just something incredibly stupid. [code] //Deposit and Withdraw Funds package deposit_withdraw; …

Member Avatar for terzenta
0
147
Member Avatar for python_user

Can anyone please help me to display a click-able web-link on a window in java? I am new to java can anyone give an example? thankyou

Member Avatar for JamesCherrill
0
78

The End.