32,199 Topics

Member Avatar for
Member Avatar for WDrago

Hi Folks, I just got a new 64 bit Windows 7 system and I'd like to install the 64 bit versions of Java and Netbeans. I found the 64 bit Java download here: http://www.oracle.com/technetwork/java/javase/downloads/jdk-7u3-download-1501626.html But I can't find the 64 bit Netbeans. I'm pretty sure it exists because I see …

Member Avatar for rubberman
0
185
Member Avatar for Tuz

Hi , I jave an assigment to find a java programm to modify it? can someone help me pls ? thanks

Member Avatar for zeroliken
0
46
Member Avatar for Dmiller071

Hi all, I need to write an algorithm that can find intersections, dead-ends, and turns within a maze. Below is the code I currently have. You're welcome to read through it, though I'm not sure if it will help in any way. The basic information: - Maze image file is …

Member Avatar for Dmiller071
0
170
Member Avatar for MahdiAlQaffas

hello everybody I am writing a program in java that draws a square fractal recursively. The program starts by drawing a rectangle in the center of the window (1/4 of the window). Then I need to draw 4 smaller rectangles attached to the corners of the first rectangle. Then I …

Member Avatar for NormR1
0
239
Member Avatar for tyu4

I'm completely lost with this assignment code. The objective is to modify this program that originally asked the user for an input 1-12 for a month, and it outputs the number of days in that month. The modifications would make it so that the user inputs the name of the …

Member Avatar for NormR1
0
2K
Member Avatar for setiawan.fenrir

hello there please help me, I have a problem with this program, i confused about how to make this program run well, this is the lish of program package guipert2; import java.awt.BorderLayout; import java.awt.Color; import java.util.ArrayList; import java.util.List; import javax.swing.DefaultListModel; import javax.swing.JList; import javax.swing.JOptionPane; public class ContohList extends javax.swing.JFrame { …

Member Avatar for NormR1
0
168
Member Avatar for blake81

I need a little bit of help with my coding below. Whenever I try to run the second application it gives me momPalindrometrue dadPalindrometrue sisterPalindromefalse racecarPalindrometrue JavaPalindromefalse A man a plan a canal PanamaPalindromefalse Hurray for HollywoodPalindromefalse Mr Owl ate my metal wormPalindromefalse Was it a car or a cat …

Member Avatar for NormR1
0
292
Member Avatar for jarograv

I have used snippets of code from various sources to compile the following code: import java.awt.*; import java.awt.image.BufferedImage; import java.io.*; import javax.imageio.ImageIO; import javax.swing.JFrame; import java.util.Calendar; public class ShowImage extends Panel { static Calendar cal = Calendar.getInstance(); //gets system time BufferedImage image; private static final String holidaysimages[] = { //declares …

Member Avatar for NormR1
0
292
Member Avatar for Masque

I have a confusion of how to put that max and min in main method so it would run. PS: there might be mistakes ***The goal is to create a method that enter any numbers by user and it suppose to show the Max and Min.*** **PLEASE HELP~! what is …

Member Avatar for Masque
0
481
Member Avatar for andisss

This is Code: public static int getAutoIncrement(int ain) { int count = 0; for(SBufferScheme scheme : getInstance().listScheme) if(ain == scheme.id) count++; if(count == 0) return ain; return getAutoIncrement(ain + 1); } And this is Error: Exception in thread "ThreadPoolExecutor-10" java.lang.StackOverflowError at java.util.AbstractList$Itr.next(AbstractList.java:345) at lft.gameserver.model.ManageBbsBuffer.getAutoIncrement(ManageBbsBuffer.java:36) at lft.gameserver.model.ManageBbsBuffer.getAutoIncrement(ManageBbsBuffer.java:41) Any idea what could …

Member Avatar for NormR1
0
166
Member Avatar for 54uydf

Hello, I took a Java language class, so I know how to write a code and different stuff.. now, I'm looking at job descriptions and some say they look for a server side developer and others for a client side. does knowing Java language is enough to work at both? …

Member Avatar for thines01
0
148
Member Avatar for gozo12

hello in form1 it has swf object how can vb.net play this script into that swf object [CODE]<script type="text/javascript" src="http://Radioonline.ir/RadioonlinePlayer.Js"></script>[/CODE]

Member Avatar for mitchfizz05
0
187
Member Avatar for caba992

****i want to display thread1 thread2 thread1 thread2 in java but i am not that good at thread i understand that i have to create three class main class, thread1 and thread2 class and i know i have to use wait() or notify() method ..i anyone help just give to …

Member Avatar for NormR1
0
128
Member Avatar for Checkerboz

Hey, so I am wondering what would be the easiest way to check if a double "looks" a certain way. Like this: Let's say I have some input and I want to check if the input has the same format that I want it to be. Here's what I want …

Member Avatar for NormR1
0
209
Member Avatar for DreaIVI

Hi, I recently decided to have another go at learning some programming, and decided to make some sort of 2d gameboard useable for stuff like Chess and Othello. I ran into a problem that I ran into last time I tried learning programming as well, and it has to do …

Member Avatar for NormR1
0
202
Member Avatar for davebrown2242

Man, my *rookie* status os showing on this one... For the life of me, I cannot determine why my graphics panel section is not working to correctly display my Pie Chart.... I have the output broken down, and the variables exist... It runs looking for Annuities.csv in the C:\temp folder... …

Member Avatar for davebrown2242
0
257
Member Avatar for 47pirates

how can i detect color using OpenCV i've tried thiscode Code blocks are created by indenting at least 4 spaces ... and can span multiple lines import static com.googlecode.javacv.cpp.opencv_core.*; import static com.googlecode.javacv.cpp.opencv_highgui.*; import static com.googlecode.javacv.cpp.opencv_imgproc.*; //non-static imports import com.googlecode.javacv.cpp.opencv_core.CvScalar; import com.googlecode.javacv.cpp.opencv_core.IplImage; public class ColorDetect { //color range of red like …

0
91
Member Avatar for Dexxta27

I have a program that's supposed to interact with a databse but I keep getting a NullPOinterException. I know it means that something is set to null. But how to change them from null is my main problem import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.SQLException; /* * To change …

Member Avatar for Dexxta27
0
123
Member Avatar for Dmiller071

Hi all, I have a project where I need to read in an image of a maze and use a graph data structure to find certain points in the maze to place nodes and trace edges. I plan to have the maze be in only two different colors. The walls/background …

Member Avatar for Dmiller071
0
273
Member Avatar for 47pirates
Member Avatar for peter_budo
0
56
Member Avatar for foxy123

Hi, I'm trying to write an application in NetBeans. I have a one Button called Ok which makes an array of buttons and all of them are connected to one actionListener. Here's the code: public void actionPerformed(ActionEvent e) { if (e.getSource() == Ok){ int a=500; thread=new Thread[a]; Button button[]=new Button[a]; …

Member Avatar for foxy123
0
174
Member Avatar for java_sabin

im doing remote desktop project. i need to connect two sockets (each from single client) through the hashtable in the separate application server, so that client1 can see the desktop of the client2. can u suggest me solution for this? how can i achieve this? so far i can connect …

Member Avatar for bambam2174
0
254
Member Avatar for Buffalo101

Hello, I am (still) writing a server+client application. I start the server. After a connection is accept()-ed, I start a thread to handle that connection. On the handler thread, I add the client nickname(String) and Socket to a Hashtable. [code=java] private Hashtable<String, Socket> clients = new Hashtable<String, Socket>(); clients.put(nickname, socket); …

Member Avatar for java_sabin
0
546
Member Avatar for sathish1990

**Please help me friends** **I have a doubt in using array in JAVA** **if my input is AB1CD** They are stored in array as a[0]=A a[1]=B a[2]=1 a[3]=C a[4]=D I developed a coding to insert the number that appearing after a alphabet in the same array element like a[0]=A a[1]=B1 …

Member Avatar for JamesCherrill
0
166
Member Avatar for Saviour4You

Hello, I am a java learner and have just started learing java by follwing the online tutorials. I am a computer science student and as a part of our assisgnment, I have to design a online CHat system in java. TBH, I have no clue of what to learn and …

Member Avatar for NetJunkie
0
287
Member Avatar for bhallarahul
Member Avatar for bhallarahul
0
103
Member Avatar for bsabowala

String line = null; double value; BufferedReader in = new BufferedReader(new FileReader("C:\\Users\\Bilal\\Documents\\Work\\scrambler\\input.txt")); int x=0; while (line != "end"){ line = in.readLine(); System.out.println(line); x++; } }} When I run this.. the loop does not stop when the word end comes.. why???????

Member Avatar for JamesCherrill
0
187
Member Avatar for choosenalpha

Hi All, I'm fairly new to Java. I have a question involving the Replace Method. Is there, any way I can use the replace method to change a string that results in: Helle, Werld; to get it to result to Hello, World using the replace method. I have seen the …

Member Avatar for TrustyTony
0
220
Member Avatar for Baduizm

Why do I get a Null Pointer in my test whenever I run it from the ant?My Test class Is: package com.MySelf.exchangerate.exchange; import static org.junit.Assert.assertEquals; import org.apache.log4j.BasicConfigurator; import org.apache.log4j.Logger; import junit.framework.Test; import com.MySelf.exchangerate.application.ExchangeRateApplication; import junit.framework.TestSuite; public class ExchangeRateApplicationTestCase extends AbstractTestCase{ public static final Logger logger=Logger.getLogger(ExchangeRateApplicationTestCase.class); private static final double delta …

Member Avatar for Baduizm
0
163
Member Avatar for coding101

im trying to build my own LL, not seeming to work? My insert method is wrong, and cant fiugre it out, any ideas? public class List { private int size; private Node root; private Node current; public List(){ size = 0; } public void insert(int a){ size++; if(root == null){ …

Member Avatar for NormR1
0
99

The End.