35,618 Topics
![]() | |
[B]HELLO There, I am in need of some help for my homework. I am doing the AP Computer Science Lab A10.1 StringUtil an In need of some help. How do I do Number 2? Create a method that receives a string and returns a string that is the exact reversal … | |
generating triples for branching statements related to compilers lo intermediate code generation in that we have3 address code triple is one of the type of 3 address code little bit urgent can any one solve this i need to complete my assignment plz | |
Hi and I must know if this script is valid to determine if the Java console and my Java compiler need reinstalling. I have tried so many samples and my browser shows an invalid message. My file is named 'filename.class' and below is the script I have used to test … | |
Dear All, I have a problem with Java Programming. I am writing a TatTicToe Program but I found a Error. It is a [B]unexpected type[/B] for [B]mark.equals("X")? currentPlayer=1: currentPlayer=0;[/B] I don't know what happen. If you don't mind , I hope that All people will give some advises to this … | |
Hello everybody, I have various components that I want regroup in the same category. I found numerous screenshots on the internet using some sort of frame surrounding items. For instance : [url]http://www.vieartificielle.com/images_robot/e70d6615e7b9c9ecfacdc7e977425d6d/cache_500_wifi_robot_photo_gui.jpg[/url] (the frame surrounding "Joystick information" section) and [url]http://bp3.blogger.com/_45gEBj4xUTA/RwefQvOgIjI/AAAAAAAAACQ/pKezYz2qQCQ/s320/RobotUI.jpg[/url] (the frame surrounding "Current data" section). I dont know how … | |
I have a code to add a node...what would be a code to remove it if i provide the coeff [code]public void addNode(int coeff, int power) { if (head == null) // start the list { head = new Node(coeff, power, null); degree = power; } else { Node n … | |
I was reading a tutorial about 2D arrays and I decided to construct something. I managed to construct something but when I compile I get "null" as my output. I cant seem to figure out the problem. Here is the sample code. I have also higlighted in red a line … | |
Ok, so I need to enhance the functionality of my existing Loan class to be able to calculate any of the 4 missing elements in a Loan, whether it is the Principal, APR, Term, or Payment. I already have the necessary calculations to get the monthly Payment, but I need … | |
Hey, I am trying to complete a learning exercise for a rocket program. I already have a Rocket Class but I also need to have a new class to run the rocket program. So far I have wrote [CODE]class RocketTest{ public static void main(String[] args){ Rocket varName = new Rocket(); … | |
Iam not able to pass a value from servlet to jsp using setAttribute and getAttribute. My test code : Test1.jsp ======= [code] <%@ page language="java" contentType="text/html" %> <html> <head><title>Login Example</title></head> <body> Enter Your Text <hr><p> <form name = login action="../servlet/TestServlet1" method=POST> Your Text : <input type=text name=yourText><br> <input type=submit value=LogIn> … | |
hi, This is chandan singh from India , studying and working part time to create and helps to create computer software. | |
I have developed web application I m using java beans file to set the values when user login to the system. It set the values of the user. I uses that value in application Whenever the login code calls the beans values are set with new user. The existing login … | |
I have a query I am currently working on a program with a lottery theme I will post the parameters as well as my code thus far. A lottery requires that you select six different numbers from the integers 1 to 49. Write a Java program that will do this … | |
I'm doing a homework assignment... I have two files. Payroll (the class) and myPayroll. I run myPayroll and it does everything except return the employee's name and ID number. I'm supposed to pass those values to the constructor... but i'm at a loss as to how to do that. First … | |
Hello, I have what is probably an obvious question. I have a basic GUI, one is bsaically no more than a menu in its own class along with a bunch of support classes to do what i want. Another GUI which is for editing the information whcih the main GUI … | |
Hi, I am currently working on building web pages that is suitable to be view and used on the mobile. I had asked around for suggestion on what should I used to build this web pages, and some suggested that I should used JSP. I thought that JSP is not … | |
can anyone help me with my problem? this is the case, i have two text file from notepad the first one saved as text1.txt and the other one is text2.txt... the problem is i want to transfer the content of my first file which text1.txt to text2.txt but if i … | |
Hi, recently i am doing an assignment that require me to do a depth first search on a given graph. However, i cannot get the result i needed. Is there any wrong with my code? Can anyone help? thank in advance=D My graph [code] 0 4 / \ / 1 … | |
Hello... is there any way of making java listen or capture an F-key input? i mean, like, if the user presses F5, a new panel will come up and that sorts of things... thnx | |
Hi, my jsp page uses sun.net.smtp.SmtpClient to send email. It worked fine until the hosted location was moved to another server. Now it generates the sun.net.smtp.SmtpProtocolException and the hosting company can't find what's wrong with it so I'm here hoping somebody can help. The hosting company tried sending email from … | |
Hi, I successfully send email with the following code in English. However, if the message and the subject title are in other characters, everything becomes question marks and the subject title says something like ...ANSI...3F=3F=3F... How do I set the character encoding to utf-8, for example? Thanks. I have this … | |
I have a bit of code my instructor sent me as an example to look at and it is giving me approx 100 errors when I compile it all of the form 'illegal character: \172' or 'illegal character: \8224'. This is a new one on me, was wondering if anyone … | |
hi guys how r u doing .. this is my first post .. i have this code .. the problem it runs .. the following happens: when it says: geef een woord (= give a word ) i write the word .. then it says geef een letter ( = … | |
Hey everybody! My task is to implement a simple membership database for a sports club. The index.jsp is my 'welcome file' within I offer input fields, first and last name, a selection for sport and check boxes for payment. The index.jsp looks like this: [ICODE]<%@page contentType="text/html" pageEncoding="UTF-8"%> <?xml version="1.0" encoding="UTF-8" … | |
Hi, i need to know how to create a program draw a graph once i insert a linear programming equations can it be done by java???how??? thanks | |
[B]Hi, I'm trying to use a map in my application. the class MovieRating which contains the map is as below:[/B] [code] import java.util.*; public class MovieRating { private Map ageMap = new HashMap(); private String movieRating; public MovieRating() { ageMap.put("PG", 18); //parental Guidance ageMap.put("G", 4); //general viewing ageMap.put("A", 27); //Adult … | |
I am using Java along with hibernate, I stored datas in UTF-8 format for my project, i need to retrieve datas in Arabic, give me some ideas about this conept... i m in hurry... reply me as ap.. | |
I'm creating a SMTP client. I'm entering the data(to, from, subject, body) in a HTML form. How do I pass that data into the actual Java SMTP client so I can send it? I know how to hardcode the data into the client and send it that way but having … | |
I am writting a program that takes in a number that ranges from 0-255 from an input file and a chip number, then I have to do a CDMA encoding on it. I am having a couple problems with the seeded random number generator. I need to have a 4 … | |
Hey all. I have another problem with classes. I have 3 classes A, B and C. B extends C and class A is where objects from B and C will be used. Below is the syntax of what am trying to say [code=cpp] class A{ private int o,p; protected B … |
The End.