32,199 Topics

Member Avatar for
Member Avatar for ceyesuma

[code] [/code] Hello I have a couple classes here and a resource bundles and a JSF that sends the key to the class (MessageProvider) and MessageManager.java gets the resource for the selectOneMenu component label. I would like to change the label on the submit button depending on the choice from …

Member Avatar for ceyesuma
0
100
Member Avatar for kiel19

I have a stand alone application In Vb that I would like to redevelop it using Netbeans such that it can run in server based environment. The Objective is to have it run on a network where I have clients who work from different stations but printing and storage of …

Member Avatar for c0dex
0
114
Member Avatar for charlie81

I know I am missing something when I try to run it it says that it doesn't contain a main type. I am probably missing something really easy but here is what I have. public class Cube { public static void main() { double height = 3.0; double cube_volume = …

Member Avatar for javaAddict
0
89
Member Avatar for manfosys

Hi im new to this forum.I need to extract specific html tag data from html webpage using java.for ex from <img src="http://google/sample.jpeg"> this tag i extract only [url]http://google/sample.jpeg[/url] by using java.similar to all html tag.Plz give sample source code. Thanks in advance.

Member Avatar for sillyboy
0
101
Member Avatar for AntMastr

I am having trouble starting a program that needs to sort arrays. I need to have the user input the number of employess -which will set the number of arrays, then the user will enter differnt values into each array which should be private, such as name, age, salary, number …

Member Avatar for stephen84s
0
81
Member Avatar for eD_2525

Hey Everyone! My name is Ed and I am new to programming and your community. Thanks for the warm welcome and I hope you can follow me with my coding problems. My code is for a project that simulates a simple vending machine. When the program is run three buttons …

Member Avatar for BestJewSinceJC
0
713
Member Avatar for c0dex

Hey all, for quite some time I've been working on an inventory management program for work, and I'm having a bit of an issue with the rendering of a JFrame notification window, I'll do my best to explain below (including screenshots). So my program works with a remote FTP server …

Member Avatar for JamesCherrill
0
180
Member Avatar for charlie81

I think i have everything write except for the Input statements. It is telling me that JOptionPane can't be resolved. Here is what I have so far. public class Main_Class { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub String firstNumber; String …

Member Avatar for charlie81
0
189
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
264
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
169
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
165
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
77
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
874
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
104
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
116
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
106
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
72
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
97
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
66
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
191
Member Avatar for nour-n
Member Avatar for Ezzaral
0
35
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
67
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
115
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
197
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
66
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
57
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
281
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
46

The End.