35,619 Topics

Member Avatar for
Member Avatar for 2big

I have Windows XP home edition, and Internet Explorer 6. This happened before but I did something to fix it, and I don't remember what. What happens is whenever I click on a javascript link, it doesn't do anything, or just sits there and has the loading cursor forever. Any …

Member Avatar for ohyeah
-3
3K
Member Avatar for oshadee

Hi, I am writing a validation class in Java which validates the input data from a JSP form. As far as the date validation is concern I have a bit of a trouble. According to this application the system must only accept dates till the end of the year from …

Member Avatar for jwenting
0
103
Member Avatar for eleonora

Hello, I strongly need your assistance what is needed to modify in order the board to inherit the complete functionality of the game. The clienthandler class contains all the methods for playing the game on the terminal [please check the code] Thanks in advance for any help ! [CODE=java] import …

Member Avatar for jwenting
0
128
Member Avatar for soup

Hi, I am new to Java and stuck at a problem. I have something like following- [CODE]package X public abstract class A { A(int a) { this.a=p; } protected int p; abstract int func(); } package Y public class B extends A{ B(int b) { super(b); } B() {} //p …

Member Avatar for darkagn
0
107
Member Avatar for sadafs

Hi i have a code that runs really well.. unfortunately im really new and to get to here was also quite time consuming.. however i am on a short time line now and need help fast!. can someone please tell me how i can get my page to list results …

Member Avatar for jwenting
0
99
Member Avatar for hkarthik

hi, I am new to j2me. I want to add more than one image into a form and display those images as thumbnails, so that when i click any one of the thumbnail i should get the full view of the image. Can anybody help me regarding this issue?

Member Avatar for hkarthik
0
100
Member Avatar for dakrous

I am writing a doubly linked list, but i am having problems inserting. Here is my code for the node, and main. The issue is in the main when i call insert, it gives me null. How can i get the node to point to head, and tail(insert it). Help …

0
79
Member Avatar for ells912

1) Write a program that asks the user to input an integer and the output the individual digits of the number. 2) Write a program that asks the user to input an integer and then output the number with the digits reversed. i don't really know how to this using …

Member Avatar for jwenting
0
107
Member Avatar for dlightfoot15

I need to know how to create a triangle, and how to fill it with color. I am new to programming and would appreciate the help. I am not running the applet in a web browser, just executing it. Thanks.

Member Avatar for jasimp
0
149
Member Avatar for Taker

[code] import javax.swing.JFrame; import java.awt.*; import java.awt.event.*; import javax.swing.ButtonGroup; import javax.swing.JButton; import javax.swing.JDialog; import javax.swing.JLabel; import javax.swing.JPanel; import javax.swing.JRadioButton; import javax.swing.JTextField; import javax.swing.UIManager; public class GUINew extends JDialog implements ActionListener { public static void main (String [] args) { protected JButton ok; protected JButton cancel; protected ButtonGroup type; protected JTextField …

Member Avatar for blufab
0
116
Member Avatar for majestic0110

Hi all, I think I might try my hand at creating a text based adventure game in java. No I don't need cutting edge graphics, or state of the art fatalities etc what I am looking for is a solid, story driven adventure/RPG game. I would appreciate some advice on …

Member Avatar for majestic0110
0
693
Member Avatar for Kusno

Dear all I get this code from java.sun. I want to sort my columns tables. But line 3 and 4 are not working. I use Netbeans and already add JDK 6 to Netbeans platform. Any suggestion or information from all of you ?? JTable table = new JTable(new MyTableModel()); table.setPreferredScrollableViewportSize(new …

Member Avatar for Ezzaral
0
148
Member Avatar for dakrous

I can't figure out why this won't exit when quit is entered. [ICODE] import java.io.*; import java.util.*; public class Trial { static final String ADD_COMMAND = "add"; static final String REMOVE_COMMAND = "remove"; static final String QUIT_COMMAND = "quit"; static final String PRINT_COMMAND = "print"; // Create a single shared …

Member Avatar for blufab
0
74
Member Avatar for Someguy02

Hi! I just had a quick question that I can't seem to find the answer to anywhere. My book isn't helping me much and I have no one to turn to for help. Anyways, here's my question: I want to make it so that when you click a Button in …

Member Avatar for darkagn
0
92
Member Avatar for japkpc

i am trying to create website where i have to upload the images.. i am storing the context name in the database.. after uploading the image, the image is copied to specified folder but when trying to display it. the old image is not changing to newly uploaded image.....

0
136
Member Avatar for saintb

he i made a simple reservation system please help me with code on how i can cancel a reservation [code=java] import java.util.Scanner; import java.util.Date; public class reservation { // Create an array of 12 seats, 6 window and 6 aisle. private static int[] seats = new int[12]; public static void …

Member Avatar for saintb
0
720
Member Avatar for eranga262154

Hi all, Here is the structure of my XML file. [CODE]<?xml version="1.0"?> <data> <key>468</key> <name>pal</name> <option>10</option> </data>[/CODE] I want to read the option tag value, then increment it by 4 and write it to the same location. So at the end XML file content like this. [CODE]<?xml version="1.0"?> <data> <key>468</key> …

Member Avatar for eranga262154
0
110
Member Avatar for hallinan

Hi I'm doing a project in java.It is the game othello.It was all going well till i got an [B]ArrayOutOfBoundsException[/B]. the array is this buttons[9][9]; If you dont know othello it's a board game with an 8x8 board. The Exact error is "ArrayOutOfBoundsException: 9" and give the lines which the …

Member Avatar for hallinan
0
517
Member Avatar for JakeCourtney

Hey, I've recently started to learn Java with a little prior experince in C++. Only the basics. I was just wondering if there any pointers for getting this language down. I'm talking about stuff that I won't pick up from some book or exercise. Something you've all come across in …

Member Avatar for peter_budo
0
179
Member Avatar for Vanessa.KH

Hello everybody! I am a beginner in Java and need some help plz How could i build a structure trie from a matrix Thx

Member Avatar for jasimp
0
41
Member Avatar for skyineyes

Hi I know its a bit odd but i am freshly new to java and in a real need to solve few progs by EOD . Really stressed ..please help me out in solving below progs ... ************************** Task 1 Write a visitor for a structure of Strings (i.e. one …

Member Avatar for jwenting
0
108
Member Avatar for jimJohnson

I am in the middle of a program and have a quick question and not sure how i do this... "have the Frame display in the center of the monitor " [code=java] //import packages import java.awt.*; import java.awt.event.*; import java.awt.datatransfer.*; import java.text.DecimalFormat; import javax.swing.JOptionPane; //create a subclass at the fram …

Member Avatar for jimJohnson
0
143
Member Avatar for heshan

I am using java.util.map to store some data ( one key and two values , per row ) in java and return it to a python function . What kind of a data structre should I use in python to catch it? (btw I am using Jython as a bridge …

Member Avatar for bumsfeld
0
56
Member Avatar for imma.infotech
Member Avatar for abdulraqeeb33

i need to display the contents of a database(table) MS access db, on to the screen. how do i got abt it??? the data keeps changing dynamically...the program should be able to refresh it self

Member Avatar for Ezzaral
0
174
Member Avatar for kumar.vsv

Hi, I am kiran I have a task like If I click one option box like country then corresponding states to appear,than I click states than next option box must display cities.please see this link you will get an idea [url]http://www.bharatbloodbank.com/search.php[/url] How to do it in struts. If I want …

Member Avatar for jwenting
0
74
Member Avatar for luisator

:?: Hi: I am postin in this forum because someone told me all the windows applications were developed in visual basic. I need to know which is the DLL associated with the sound recorder. I nedd to use the record method to call it from a java application. I hope …

Member Avatar for jasimp
0
71
Member Avatar for saintb

following masijade advice i tried busting my head abit. i have written the following code import java.awt.event.*; import java.awt.*; import javax.swing.*; import javax.swing.border.*; public class Game extends JApplet implements ActionListener { //Creating a new JPanel called panel1 JPanel panel1 = new JPanel(); //Creating a JLabel for panel1 JLabel header = …

Member Avatar for masijade
0
132
Member Avatar for KimJack

Hi, I am working on a sort of stack calculator. If anyone can suggest a better method please advice: Basically, using the stringtokenizer to break the string into tokens. If the token does not equal "add" or "sub" or if the token is a digit push it onto the stack... …

Member Avatar for javaAddict
0
817
Member Avatar for abdulraqeeb33

this is the output on server init: deps-jar: compile-single: run-single: checking the client of ip 169.254.86.65 checking the client at port 59000 checking the client at hostname RAF System with169.254.86.65is online probing the client of ip 169.254.86.65 creating the client of ip 169.254.86.65 whose hostname is RAF at port 59000 …

0
110
Member Avatar for Kusno

I'm able to set UIManager for UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel") and UIManager.setLookAndFeel("com.sun.java.swing.plaf.motif.MotifLookAndFeel") but for UIManager.setLookAndFeel("com.sun.java.swing.plaf.metal.MetalLookAndFeel") I get an error like this : java.lang.ClassNotFoundException: com.sun.java.swing.plaf.metal.MetalLookAndFeel What's wrong with my code ?? Thanks, Kusno.

Member Avatar for Kusno
0
246
Member Avatar for oakdale95

im having problems with my java homework. I really need help. I need to use a loop make sure what the user input for their grade is vaild the grade has to be between 150 and 0. So can somebody show me the code to use import java.util.Scanner; // Needed …

Member Avatar for jasimp
0
111
Member Avatar for chickenmcnugget

to anyone who can help me out with this its of no big importance i was stumbling one day and this came across this little snit bit of what looks to be like a program or something so i tried starting it and i have no idea whats going on …

Member Avatar for chickenmcnugget
0
82
Member Avatar for abdulraqeeb33

hi, i am new to java... i need to start two programs in a server just after user clicks a button in the jform. for this i may require multi threading.. can any one plz give me a small example or a link where i can see threads created, each …

Member Avatar for abdulraqeeb33
0
113
Member Avatar for pinoyboi619

I need help with this coding because I am having trouble with a lab of my class. I am up for any hints/tips and techniques... and code if desired. Well I am hoping that someone will respond and thanks.

Member Avatar for jasimp
0
66
Member Avatar for dimples09

> Using a Binary Search Tree > Using the LinkedBinarySearchTree class in the jss2 for chapters 12 and 13, write a program that exercises all of the operations except: > removAllOccurrences > findAgain > replacement > Details > Your program will read instruction from the file: numbers.txt > The file …

Member Avatar for dimples09
0
165
Member Avatar for welbyobeng

Hey I am a newbie in java and I was wondering if someone can help me. Where would I place [QUOTE]int [] qDifference = new int [3]; for(int i = 0; i < 3; i++) { qDifference[i] = q[i + 1] - q[i]; }[/QUOTE] in the code below to show …

Member Avatar for welbyobeng
0
89
Member Avatar for yassar

Hi, I get the following exception when i try to run the following code segment. [code=JAVA] stmt = (Statement) conn.createStatement(); rs = stmt.executeQuery( "SHOW TABLES"); if(rs.first()) { stmt.execute( "DROP TABLE " + rs.getString(1)); while (rs.next()){ stmt.execute( "DROP TABLE " + rs.getString(1)); } } [/code] And the exception i get is: …

Member Avatar for Ezzaral
0
151
Member Avatar for abdulraqeeb33

/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package server; /** * * @author 007 */ import java.io.*; import java.sql.*; import java.util.*; import java.util.Random.*; import java.net.*; import java.lang.String.*; import java.io.InputStream; import java.lang.Object.*; import java.net.ServerSocket.*; public class aptserver implements Runnable{ …

Member Avatar for abdulraqeeb33
0
244
Member Avatar for paurik

I am using [B]Java Wrapper Service API[/B] to launch my application as service. i have been already installed my application as for Linux and Widnow os. but i have no proper idea for mac os if some body have and idea then please Replay me.

0
67
Member Avatar for Xctive

Here i need to write this code for class and i am getting the missing return statement error. Heres my code : import java.util.Scanner; import java.text.DecimalFormat; public class derived extends Foreign { Scanner keyboard = new Scanner(System.in); private String date; public void vertDisplay() { super.vertDisplay(); System.out.println("Date = " + date); …

Member Avatar for Xctive
0
79
Member Avatar for nare_splen

Hi, I had a jsp which is built using struts. It is 54 Kb. [B]Problem is page is not getting loading in JBoss server. Server console error is : “Code too large for try statement”.[/B] When I see the java file what server generates for the jsp, all the (form)fields …

Member Avatar for jwenting
0
88
Member Avatar for nsuleiman

Hello everybody I am doing a project on PDA PalmOSo and am using SuperWaba to develop the application however, since I am not more familiar with this tool I need help. So please any who has a experience on this tool help me on the following questions. My question is …

Member Avatar for Ezzaral
0
137
Member Avatar for tehpirate

Hi i want to read words form a text file placed in the same folder as the java file and then hold the information in an array. so far ive written code to read the text file (i think) im trying to teach my self so if ive done this …

Member Avatar for Ezzaral
0
88
Member Avatar for paurik

Hi i am using java wrapper service api to launch my application as os service. i already configure this service for window os. but ther is problem for linux os. when i run myapplication.sh file it gives me java.lang.noclassdefFounderror error. i put my config my file follow if if some …

Member Avatar for blufab
0
208
Member Avatar for Amitji

Hi all Cn any one help me to find out the full path of Current Running Application using java? Thanks

0
77
Member Avatar for ramankrishna

hi this is ramakrishna, i am in my 3yr and i want o develop a project for my jwellary shop which would be standalone project connected to 4 systems in our office with following fields as 1)Transaction - Purchase, Sales, Debit/Credit note, Account voucher, Goods Issue recept, issue to Karigar(worker), …

Member Avatar for Jens
0
122
Member Avatar for sosuave

public class Student { private String name; private String address; private String phone; private String major; String[] classesTaken = new String[100]; double[] gradesRecived = new double[100]; public void addClassesTaken (String classID) {} public void addGradeReived(float classGrade){} public void changeGradesRecieved(String classID, double newGrade){} public double computeGPA( ) { } } I …

Member Avatar for javaAddict
0
107
Member Avatar for NycNessyness

I have an important question at the moment. I wanted to know how I can go about multiplying or adding checkboxes to display information on a label. For example if I have 3 checkboxes labeled chkMovie, chkAmusement and chkConcert and I have 2 checkbox groups called chkChild and chkAdult. How …

Member Avatar for VernonDozier
0
104
Member Avatar for antony_24

Hi ,I am experiencing a problem with QT Java 6.1 on Windows XP using Java1.4.2 (_2, _3, and _4) where a QT Component (as Component()) created from a Movie Controller placed in a window or frame will sometimes freeze when another window is placed in front of it or removed …

0
46

The End.