35,618 Topics

Member Avatar for
Member Avatar for paku_dnj

Hi I want to take input of two variable as integer and than do addition with the two variables. The ans will stored in another variable. The program will repeat after every addition end and will ask for user input of varibles and will do addition again. My qus is …

Member Avatar for JamesCherrill
0
204
Member Avatar for StefanRafa0

hello guys im trying to send email from java program but when i pressing the button i get this message: errorjavax.mail.AuthenticationFailedException: failed to connect, no password specified? and here is the code: String username = Username.getText(); String password = Password.getText(); final String username2 = "stefanrafaa@gmail.com"; final String password2 = "my …

Member Avatar for JamesCherrill
0
212
Member Avatar for kajalDighe

Hello, I have a 3d dicom image with .dcm extension and i want to display it using jframe. is there any solution for it..? How's it possible to display the .dcm img in java..? will u please help me..?

Member Avatar for kajalDighe
0
194
Member Avatar for hwoarang69

error detials: Java Plug-in 10.17.2.02 Using JRE version 1.7.0_17-b02 Java HotSpot(TM) Client VM User home directory = C:\Users\dave ---------------------------------------------------- c: clear console window f: finalize objects on finalization queue g: garbage collect h: display this help message l: dump classloader list m: print memory usage o: trigger logging q: hide …

Member Avatar for hwoarang69
0
201
Member Avatar for paku_dnj

How to read a specific value from a text file and then save the value in another text file. Example: in data.txt file there is some values. Item Name : m-01 Item Brand : One Man Item size : XXL Item Price : 1000 Item vat : 15% these are …

Member Avatar for paku_dnj
0
484
Member Avatar for Violet_82

HI all, I was wondering if anybody can help me to understand this exercise: "A small airline has just purchased a computer for its new automated reservation system. Write an application to assign seas on each flight of the airline's only plane (capacity: 10 seats). Your application should display the …

Member Avatar for Violet_82
0
7K
Member Avatar for Shania_01

Hello, does anyone know how i can draw a small handle (square) on the edge of the circle at each quadrant( for e.g at the north,east,west and south quadrants) I used general path to draw the circle, now I'm having difficulties to draw the handles. Here is my code: //class1 …

Member Avatar for gusano79
0
225
Member Avatar for vaironl

Hello Everyone, I understand this is a basic problem, with a simple solution, but I cannot find a way to fix it. I'm trying to add a Jpanel to a JFrame and when I do the following. g.drawString("HELLO", 500, 0); The string is not seen on screen now if I …

Member Avatar for vaironl
0
1K
Member Avatar for hwoarang69

i created a game in applet and i want to put it on a site. the problem is that my games has alot of classes. how can i use applet tag to up it online? java.php <html> ... <applet code = "Main.class" width = 900 height = 400> </applet> ... …

Member Avatar for hwoarang69
0
188
Member Avatar for cherry.basilio2
Member Avatar for stultuske
0
272
Member Avatar for Petranilla
Member Avatar for jwenting
0
568
Member Avatar for gyno

Is it possible to install two IDE like say Netbean and Eclipse on same system without the two disturbing each other?

Member Avatar for jwenting
0
232
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
166
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
325
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
543
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
64
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
238
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
84
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
561
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
309
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
447
Member Avatar for bably raj

i have to create a website in jsp using sturts in netbeans ide.i wants to knowhow to gt record values from d database on my webpage.

Member Avatar for stultuske
0
60
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
336
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
272
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
428
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
236
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
193
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
248
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
123

The End.