32,199 Topics

Member Avatar for
Member Avatar for ilove.lyka15

how can i make my 10 different program as one program? please help me.. ;( this is my case study(baby thesis)

Member Avatar for jwenting
0
161
Member Avatar for mical700

Histo.java import java.util.*; // Scanner import java.io.*; // PrintStream class Histo extends Object { static PrintStream theScreen = new PrintStream(System.out); static Scanner theKeyboard = new Scanner(System.in); public static void main(String args[]) throws FileNotFoundException { final int MAX_SCORES = 5000; // define nameArr as an array of String objects String[] nameArr …

Member Avatar for peter_budo
0
322
Member Avatar for somjit{}

i want to sort a list of two dimensional points based on their polar angles with respect to a particular point. this will a part of a bigger code to find collinear objects from a set of points. the method i thought of for doing this is is: 1. create …

Member Avatar for somjit{}
0
542
Member Avatar for manisha.nibhwani

I am building a java based project but my main motive is to run it with the help of an android phone. How can I connect my database in my laptop with my mobile and moreover the project also needs to send sms to the mobiles so , if anyone …

0
63
Member Avatar for solomon_13000

I am attempting to load an 3 icon image but my code doesn't do so: package com.proxy; import java.awt.Component; import java.awt.Graphics; import javax.swing.ImageIcon; import javax.swing.JFrame; public class ImageIconProxy extends ImageIcon implements Runnable{ static final ImageIcon ONE = new ImageIcon("/IFDesign/images/green.jpg"); static final ImageIcon TWO = new ImageIcon("/IFDesign/images/yellow.jpg"); ImageIcon CURRENT = ONE; …

Member Avatar for solomon_13000
0
363
Member Avatar for hwoarang69

on mac is there a different way to turn eclipse project to runable files? i right click on project and select export. than i went under java than runnable jar files. this lanuch a "runable jar file export" window. on it there is "lancuh configuration" option. when i click on …

Member Avatar for hwoarang69
-1
237
Member Avatar for gyno

Just like the way it is with Netbean IDE, is there no Eclipse that can allow all Java SDK all in one and if even possible to hava one for PHP,c/c++ pls Java all in on, because i got to eclipse website today just to discover that each of Java …

0
83
Member Avatar for happygeek

Last week saw the discovery of YAJE: Yet Another Java Exploit. Sadly, Java vulnerabilities are neither new nor uncommon and the bad guys are quick to exploit them in the wild. Some claim that Oracle is in too much of a rush to extricate itself from this unholy mess and …

Member Avatar for gyno
3
557
Member Avatar for Sacrificer_911

Hello! I'm just a beginner in java and also a newbie,in fact this is my first post. I already programmed some stuffs such as games, calculators and other stuff. I also have a good grasp on the language and some of it's libraries . I am planning to take my …

Member Avatar for Sacrificer_911
0
307
Member Avatar for Himanshu Chawla

what is jquery ? What is java script and what are prerequirements for learning javascript ? What is the diiference between advance java and core java ? What is AJAX ? As i am beginner to JAVA and want to learn about java and thats y i am asking this …

Member Avatar for rotten69
-1
443
Member Avatar for Nagarajan M

Hi friends.. I am trying to upload file in apache http server(Some Url) using WEBDAV sardine concept..I coded for file uploading and Apache server configuration and all. I wanna do this file Read and Write With authentication.. So,i added .htaccess password file in apache.. When i am trying to upload …

Member Avatar for Nagarajan M
0
334
Member Avatar for Roshan92

hi all, i am doing my java project (video player). This is the task : Enter a video number and click a button to add that video to a playlist. If the video number is valid, the video name should be added to the list and all the names in …

Member Avatar for stultuske
0
271
Member Avatar for wallet123

hello there, im having a problem with my code . .. . . so this is my class 1: package app.ui; import java.awt.EventQueue; import javax.naming.ldap.Rdn; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.ImageIcon; import javax.swing.JScrollBar; import java.awt.Color; import java.awt.Font; import java.beans.PropertyChangeListener; import java.beans.PropertyChangeEvent; import java.util.Calendar; import java.util.GregorianCalendar; import javax.swing.JScrollPane; import javax.swing.JTextField; import …

Member Avatar for stultuske
0
426
Member Avatar for nova4005

Hello everyone, I am sure the dice game has been discussed numerous times on here. I am hoping to get some feedback on my take of the dice game. This was a homework assignment and I have completed the requirements. I am just wanting to see where I could have …

Member Avatar for JamesCherrill
1
235
Member Avatar for coding101

Im new to threads, and would like to get experience so I am trying to build a chat server. The idea is to have one thread read from the client socket, while another thread writes to the client socket. (like AIM) I cannot get them to execeute concurrently; Need help, …

Member Avatar for james6754
0
192
Member Avatar for pvn29

This program is not running due to 2 errors could someone please assist me? Thanks import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class UserList { public static void main(String[] args) throws Exception { String str1, str2 = "username"; int index; int initialCapacity = 10; BufferedReader dataIn = new BufferedReader(new InputStreamReader(System.in)); …

Member Avatar for somjit{}
0
245
Member Avatar for mical700

Write a program that (using an array) analyzes student performance on an exam using the information from such a file. The program should input the name of the text file, and then display the worst score, the best score, the average score, the standard deviation, and a histogram -- a …

Member Avatar for JamesCherrill
0
121
Member Avatar for mlugaliki

Hi everyone, I am new to java webservices, i am developing a web service client using apache axis2 and eclipse. I used wsdl2java to generate the client code. Now when i invoke the service i get this error: org.apache.axis2.AxisFault: The input stream for an incoming message is null. What code …

Member Avatar for mlugaliki
0
2K
Member Avatar for sirlink99

Hello Everyone. I am making a sudoku solver for an assignment, and I ran into a problem of my 2D Integer array not updating. The input consists of a 9x9 puzzle with 0s for the missing values. I read this input and then place it into the 2D array. during …

Member Avatar for sirlink99
0
270
Member Avatar for Fedhell

Hello everybody, Im using datagrams to send a DatagramPacket, however, unless the router has ports forwarded, the clients dont recieve the packets. Is there a way to set this up so that my clients dont have to port forward on their router? How to main stream gams like LOL or …

Member Avatar for JamesCherrill
1
506
Member Avatar for zdneth

How to assign a keyboard shortcut in jTabbedpane in netbeans?? My project is quite using many tabs so I want to minimize clicking the mouse. Need HELP! Thankx

Member Avatar for JamesCherrill
0
106
Member Avatar for zacant

My code: public ArrayList<Grade> grades; grades = new ArrayList<Grade>(); public Grade getLowestGrade() { Grade lowestGrade = grades.get(0); for (int i = 1; i < grades.size(); i++) { Grade g = grades.get(i); if(s.getGrade() < lowestGrade.getGrade()) lowestGrade = g; } return lowestYet; } This code is in my Student class using the …

Member Avatar for JamesCherrill
0
607
Member Avatar for piumiM

Hi, I need to implement java question answering system (similar to chatbot but domain specific) for my final year project. I first thought of using AIML to build knowledgebase. But I could not find how to access it in java. All I found was program D, program W and so …

Member Avatar for Lamirp
1
130
Member Avatar for Shania_01

Hello, I have a button which on clicks display a frame, where i have 2 radio buttons. When i choose one of the radio button it draws an image on the panel, however when i click on the button again, the image drawn is disappeared and i am not able …

Member Avatar for Shania_01
0
172
Member Avatar for hwoarang69

ok so i kind of know how to restart but the problem is that when ever i restart my animation get faster and faster. so i have main.java and alot of other objects. so one class for player one for player one for background etc... public class main exteds JApplet …

Member Avatar for hwoarang69
0
556
Member Avatar for DJ-DOO

Hi folks, I'm newish to android, very inexperienced. I'm trying to develop an application that transmits the coordinates of one phone (client a) to (client b) via a java server, I then want to check the distance between clients. I have managed to get the coordinates of client a, send …

0
172
Member Avatar for hwoarang69

i have two animation going on screen. one animation is a rect going to right. i dont want this animation to stop 2nd animation is message coming on screen for 1 sec and removeing it. right now 1st animation works fine but doesnt diplay. its be iam seting message="". but …

Member Avatar for hwoarang69
0
302
Member Avatar for tudor.laze

Hello. I have a question. I have a polynomial with Double coefficients and one with Integer ones, and to perform the integration I have to convert from object Integer to Double,but I found that it is not possible so I've tried to convert it into a String than into Double,but …

Member Avatar for JamesCherrill
0
4K
Member Avatar for Donjos10
Member Avatar for <M/>
-1
233
Member Avatar for next_tech

Hi Guys, I am working on a binary search tree and I've been stuck on some code for the last couple of days. There are 2 issues that I can't seem to figure out how to fix. 1) I have a file that has a list of names and ID's …

Member Avatar for bguild
0
408

The End.