32,199 Topics
| |
hi, i have my program here [url]http://xiaobo.midnight-grove.net/doc.zip[/url] since i am new to Java, i would like some help in positioning the labels and text area and the button(everything!!!) test data: enter "91173" into the text field. | |
hi everyone, I have to talk about the java's architecture in general. Do you guys know what to talk about? I already talked about how simple and how oop etc it is.... anything else I can add? thanx | |
I am getting the following when I run deploytool in command prompt Starting Deployment tool, version 1.3.1 (Type 'deploytool -help' for command line options.) Could not connect to localhost -------------------------------- | |
I have been having this weird problem with this small part of code: [code] if(isURL) File audio = new File(name); else URL audio = new URL(name); [/code] Now isURL is a pre-declared boolean and name is a pre-declared string. I have all the proper imports but for some reason or … | |
hi, i need someone to look at my homework and give me comment where and how should i begain with. Choose one of the stack implementations and implement a method with this specification: Object itemAt (int n) //precondition: 0<=n and n<size() //postcondition: the return value is the item that is … | |
Hi I need some help for HTML for embedding checkList Box. How can embed CheckList Box on HTML Page using Java Script code. Thanks | |
Hi all , I'm a Java newbie ..... Currently , I'm having a Java project on programming to send and receive data between two computers with the support of USB dongles ... But I really dont know where to start ... Do you guys have any advices or sample codes … | |
Hi, I'm a newbie with ANT. I have a ANT build.xml file in which I'm attempting to separate certain packages from different requirements of the built. As an example, if I have a software which consists of packages A,B,C,D and E. I have customer whom are purchasing the software, but … | |
Help please, I need to create a for loop for summing numbers in JavaScript - can anyone help? So far I have var biggestNumber ; var theSum = 0 ; Thanks | |
I have small code to read datas from "dat" type of file. It's read fine just when last line is done it's kick-off with error message [I][B]Exception in thread "main" java.lang.NullPointerException at CW2.main<CW2.java:26>[/B][/I] [CODE] import java.io.*; import java.util.*; class CW2 { public static void main( String[] args) { try { … | |
Can any help me with this code, im trying to get the program to return to a function. I have no idea how this is done. Give a lil explanation so I know for next time. Thanks here the code : // The "Calculator" class. import java.awt.*; import hsa.Console; public … | |
HI, I wanted to know how could I retrieve a sealed object from a signed object and then verify it? Heres my attempt: if(!sending){//if we are receiving (being the server) ServerSocket server = new ServerSocket(port); Socket s = server.accept(); ObjectInputStream oin = new OnbjectInputStream(s.getInputStream()); ObjectOutputStream oout = new ObjectOutputStream(s.getOutputStream()); System.out.println("Please … | |
Does anyone have an opinion on which of these sorts would work best on a small array: quick sort, insertion sort, or selection sort? | |
[url]http://rafb.net/paste/results/jibQzk63.html[/url] - comparable [url]http://rafb.net/paste/results/Noahue63.html[/url] - loading [url]http://rafb.net/paste/results/re1Swn60.html[/url] - contents of .txt file * sorry the paste is weird lol. Trying to List word count in alphabetical order - Already did that Having a counter so it counts the number of time that specfic word appeared in the txt file - … | |
I'm trying to create a custom dialog that acts much like th JOptionPane.showInputDialog() except it uses an asterisk as an echo character. So far, I've come up with the following. . . [code] class CustomInputDialog extends JDialog implements ActionListener { JLabel prompt; JPasswordField input; JButton ok; JDialog dialog; String word; … | |
I am trying 2 write a program to solve a soduko. I have lots of text fields and I need to compare them like if (string1.equals(textfield){ do whatever} but it only works for "0" e.g null??/ I have tried parsing it to an int but get the same result. any … | |
Hi, I wrote my assignment with simple awt-buttons at first.But, when i changed to JButtons,errors about setting JPanel with FlowLayout appear. enc: Error.txt // code of errors :) | |
hi, i developed a chatting application.. i want to do three things in the Frame Resizing. but i don't know how to do..? any one pls help me.. 1. i tried to restrict the user cann't resize the frame less than (300,600) by setPreferedSize(). it works. but the user can … | |
Hi all, I am trying to take a list of words (from a text file) and then split each word into characters how can I do this? The code I currently have just reads in all the words (at, as, ate, apple, apply) found in text file and prints them … | |
hello every one, how are you?! I come back after long absent ,, and I want help from you,, just small question :D Suppose you wish to write a method that prints a heading on a new output page, along with a page number that is 1 in the first … | |
Can one give a exat answer for this question i have a java program with hundred packages imported but iam not using any one of them in program .i have only a SOP which prints [B]hello world![/B] .the qustion is will this program is thick with all the imported 100 … | |
This is irritating me so bad, I have spent three hours aimlessly trying to get JScrollPane to work on my JList and I can't figure it out.. here is the code, please make the scroll bars work! :sad: [CODE]public class ChatServer extends JPanel { private JList lstUsers; private JScrollPane scroller; … | |
Does anyone know of a good book to learn how to java it up with the phones? | |
Alright, This is really bothering me that I can't figure this out since I took 3 terms of Java. Alright, I have a text file that contains addresses. ex: Name 1234 5th St Orlando, Fl 19191 Name2 1423 4th ave New York, NY 09987 and so on and so on. … | |
[code] import java.io.*; import java.math.*; import java.util.*; public class GrowthofaFunction { public int calculateFunction(int x) { return 0; } /** * @param args */ public static void main(String[] args) { public void calculateFunction(); { final int x; final int y1; final int y2; final int y; Scanner stdin = new … | |
Hi, I am new to this group... Can any one help me regarding this Scheduler project? I attached the question regarding the project. Thanks in advance... sri | |
I need some guidance because i haven't started to learn java. May i know what type and the name of book is suitable for a beginner ? And does anyone know what type of software i have to install in order to do the programming ? :mrgreen: | |
Need help rounding. `MoPay.setText` is showing up as .########### (I'm new to this language.) Oh, and my dollar sign isn't showing up, does anyone no why? public void actionPerformed(ActionEvent e) { int Mort; double Int; int T; if(e.getSource()==Reset) { answer.setText(""); answera.setText(""); answerb.setText(""); MoPay.setText(""); } else if(e.getSource()==Calculate) { try { Mort … | |
Here is my code so far. I'm not sure what I'm doing wrong, but I cannot get it to compile. Incompatible Types (Lines 90 - 92) . Please Please Help. My ultimate task is to write an Applet Mortgage Calculator. import javax.swing.*; import java.awt.*; import java.util.*; import java.awt.event.*; import javax.swing.JOptionPane; … | |
Hi all : ) Im messing around with the game of Nim and i want to create some strategies to make the game more interesting. I have finished all the other code and all i need to do is this. Basically i want 4 classes The first strategy will be … |
The End.