35,618 Topics

Member Avatar for
Member Avatar for hell_tej

Hi Folks,:) I am a new Programmer in NetBeans. I ma creating a [B]Desktop Application[/B] in NetBeans 6.0. Almost my Whole Application is Completed. now my Customer Request me to get Authorisation Access(Password Window) at the Startup of Application. :S Now The problem is that i can't create a JFrame …

Member Avatar for hell_tej
0
266
Member Avatar for Q8iEnG

Hi guys.. I don't know if this is the right forum for my question, but.. I have a question from 13 questions I solved them all, and I just got stuck on this one "4. Consider the following advances. Decide whether each of them attack the essence or the accidental …

Member Avatar for Q8iEnG
0
170
Member Avatar for ashish1nov

Hi Expert i m new in jasp . i want to show name text after click on button which will be feed in text box . thanks ashish [code=JSP]<%@ page contentType="text/html; charset=UTF-8" session="true" buffer="16kb" autoFlush="true" isErrorPage="false" isThreadSafe="true" info="Directive page demo" import="java.util.Date"%> <html> <head> <title>Directive page demo</title> </head> <body> This is …

0
40
Member Avatar for redZERO

Hi, I just wanted to ask for some help considering images. What I would like to do is take an image and then split it up into blocks of a certain dimension (say, 20x20). Then I would like to put these blocks into a 2D array. I tried searching for …

Member Avatar for hell_tej
0
168
Member Avatar for KraZy-Yhan

hello everyone can u help me solve my problem... i want to call a class in another class but i dont know how..example. [CODE]public class Example{ public static void main(String[] args){ int x; for(x = 0; x< 10; x++){ System.out.print(x + " "); } System.out.println(); } }[/CODE] and i want …

Member Avatar for hell_tej
0
78
Member Avatar for youngstorm

Hello all, I have a program running with this command 'jdb prog'. It was compiled with 'javac -g prog.java'. The program when running normally asks for input, 1st it asks for a number then it asks for a second number. When running in jdb it still asks for input so …

Member Avatar for youngstorm
0
885
Member Avatar for MK12

I've nearly finished my python project, and plan to maybe distribute it. But I don't want users to have to go to command prompt and type python foo.py. I don't mind having the user install python, but is there a way I can make an exe that just runs the …

Member Avatar for MK12
0
106
Member Avatar for navinlearns

[B]What i need to do is with the help of Sockets in java,: If a client requests for desktop view of the Server the Server code should then take screenshots one after the other and send it to the client and the client will display one as soon as the …

Member Avatar for BestJewSinceJC
0
118
Member Avatar for Lilal

Hey all, I'm having problems with a project I'm doing, I've started rewriting a project I'm doing as I ended up using too many arrays instead of classes >.< And running into some silly problems: Everytime I run the program I get this error on compilation [COLOR="red"]java.lang.NoSuchMethodError: main Exception in …

Member Avatar for BestJewSinceJC
0
107
Member Avatar for njabs

Hi good people! Please help me out, i have an intranet running in my PC that means my PC is a local server. when user try to access the intranet it give them this error:- "HTTP Status 500 - type Exception report message description The server encountered an internal error …

Member Avatar for stephen84s
0
134
Member Avatar for deep2sky

hi i am doing BCA and for MAJOR PROJECT i want to make a game in like PING PONG. if anyone can advice me the language that would be easy for it to make??. i am prefering JAVA

Member Avatar for stephen84s
0
74
Member Avatar for paradox814

Is there a way to change the color of the text in a JTextArea? I want to change all the text color to one color (other than black) and I just want to know how to do this. I see a lot of methods involving color but they only effect …

Member Avatar for carnado2008
0
1K
Member Avatar for sumanbabu
Member Avatar for bebe11bebe

[CODE]public class Election { private Voter v1; private Voter v2; private Voter v3; public String winner; int myTotal = 0; int hisTotal = 0; public Election(double pa1, double pv1, double pa2, double pv2, double pa3, double pv3) { for(int i=1; i<=3500; i++) v1=new Voter(pa1, pv1); for(int i=1; i<=3500; i++) v2=new …

Member Avatar for verruckt24
0
99
Member Avatar for nandomendoza

Would anyone be able to help me fill this code in. I have to ask the user for 2 playing cards. for example 7c(7 0f clubs). then at the end I have to compare the suit and print which card is the higher suit. I have the code outlined on …

0
68
Member Avatar for olgratefuldead

I have the following in a dat file: Obe 20 12 15 20 -1 Twitter 16 12 18 19 -1 Karah 30 15 12 3 30 -1 Cappy 12 12 13 15 14 -1 Monkey 17 16 15 14 14 -1 I am trying to write a Java program to …

Member Avatar for olgratefuldead
0
194
Member Avatar for nour-n
Member Avatar for Ezzaral
0
36
Member Avatar for pash

Hi everyone!!!, am new to web services and trying to write a web method which accepts and return and array of int. Am using a c# client to consume it, when i call the web method in the client i get an error saying "can not convert int[] to int?[]". …

Member Avatar for pash
0
71
Member Avatar for deerowbear

I am trying to update a jlabel, but the label is not updating. Thanks for any help. Daniel [CODE]package converter; import java.io.*; import java.awt.*; import java.awt.event.*; import java.util.ArrayList; import java.util.Iterator; import java.util.logging.Level; import java.util.logging.Logger; import javax.swing.*; import javax.swing.filechooser.FileFilter; public class modelConverter extends JFrame implements ActionListener, ItemListener { // Data panel …

Member Avatar for deerowbear
0
116
Member Avatar for tazjaime

Hi to all... I've just join and found this amazing website/forum today which is very helpful. So here's the problem.. I need to find the factorial of an input number, I have a slight problem with my script, when i enter a value which is 11 upwards it doesn't print …

Member Avatar for JamesCherrill
0
201
Member Avatar for dipsn

I am intended to use heritrix to crawl some sites but want to skip all the ads that are linked in the pages also want to make my crawler to crawl only specific links form seed URL which I am getting from my database. Will you please guide me for …

Member Avatar for javaAddict
0
67
Member Avatar for regent_royal

I am currently working in one swing application. I need to display html contents in some window. In swing we are having [B]HTMLEditorPane [/B]that can display HTML contents on window (not in browser). Now this HTML contents is not well structured. like starting and ending with html tag inside it …

0
58
Member Avatar for countyman

Im am trying to write a Java program with a system class called:PayScale. 1. It needs to prompt user for "Hours worked" and "Pay rate" 2. Determine if there is overtime 3. Calculate overtime at "time and 1/2" 4. Calculate regular pay It must then print out: 1. Total hours …

Member Avatar for countyman
0
282
Member Avatar for dipsn

I am intended to use heritrix to crawl some sites but want to skip all the ads that are linked in the pages also want to make my crawler to crawl only specific links form seed URL which I am getting from my database. Will you please guide me for …

0
47
Member Avatar for PhiberOptik

Hey guys, I am writing a small script that requires me to make text that is within a textArea multi coloured. I will show an example in the quote box below: [QUOTE] [COLOR="red"]Hello, How are do you?[/COLOR] [COLOR="green"]I am Fine, how are you?[/COLOR] [COLOR="red"]Great![/COLOR] [/QUOTE] I was wondering if there …

Member Avatar for JamesCherrill
0
66
Member Avatar for thijo

hi i have to group the data. i completed coding. the output is [ output] C:\Program Files\Java\jdk1.6.0_03\bin>java check Please Enter the Number of Clusters 3 Enter the file to be read with csv extension hi.csv [(345,2) belongs to 0, (300,2) belongs to 0, (390,2) belongs to 0, (400,3) belongs to …

Member Avatar for thijo
0
104
Member Avatar for curtissumpter

Hi people, Yeah, so I have an application that works. The code is not buggy and I have worked hard on it. It is three files long but the section I need help with is small. It is the paintComponent section. It is a multi-threaded application and if you want …

Member Avatar for curtissumpter
0
126
Member Avatar for llemes4011

Hi, I was wondering is anyone could help me out. I'm trying to program Mario as my final for my comp sci. class. I'm not working about the actual Sprites now, just the basics, ie, moving, jumping and collisions. I'm stumped on the jumping part. Is there a good way …

Member Avatar for llemes4011
0
110
Member Avatar for trelek2

Although I'm a novice in Java I am to make a pool simulator in java with the ability to handle any arbitrary number of balls (i have created a Ball object, balls will be stored in the Ball array called balls). All the parameters are to be read in from …

Member Avatar for BestJewSinceJC
0
245
Member Avatar for EJD

The following code is giving me `"Exception in thread main java.lang.NumberFormatString"` error and some specifics following it. The file I am having the program read is in the following REQUIRED format: Smith 12 14 15 12 16 -1 James 19 19 28 48 12 -1 Where -1 is a sentinel …

Member Avatar for llemes4011
0
108

The End.