35,618 Topics
![]() | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
[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 … | |
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 … | |
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 … | |
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 | |
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 … | |
[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 … | |
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 … | |
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 … | |
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?[]". … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … |
The End.