32,199 Topics
| |
| Hi guys. So I'm building this code in java using NetBeans and literally this code has been working fine the entire time. I haven't changed anything about it and now it's giving me an error and I can't find out what's wrong. Can you please take a look for me? … |
i manage to do numbers but how DO i ****** organize it. GAH | |
I have the following socket connection codes. Where for every connection is one new thread. After receiving the data which is done via the producer then I put into a queue for next database processor which is the consumer. This works fine but the moment the queue gets build up … | |
Question: Estimate the time it will take to cut the grass of five clients. Given the length and width (in meters) of a rectangular yard and the length and width of a rectangular house situated in the yard, compute the time required (in minutes) to cut the grass at a … | |
Java Hi when I tried to insert my output the void displayed null or 0 can you tell me what's wrong with my rpogram? tnx My main program `package zarashop; int choice; public static void main(String[] args) Scanner absorb = new Scanner(System.in); // phase 1 login cloth cl = new … | |
Any suggestions how to write a java program that creates java template based on the inputs provided. Also includes adding of dynamic getter setters. Please recommend the best way to achieve this | |
This thread will be an attempt to develope a SIMPLE (and good enough) class for beginning Java students, to ease their coding for valid and crash proof, user (Console type) input, (and also handle Console output.) We assume here that beginning students need not worry much, about obtaining the fastest … | |
This class is intended as a small and simple alternative to java.util.Scanner for people in the early stages of learning Java. Unlike Scanner it has built-in error handling and retry, it throws no checked exceptions, is as tolerant as possible of variations in the format of user input, and avoids … | |
hopefully soone can help me with this lol , this grammar im looking at is kinda tricy and i feel like theres something im missing. im trying to find the first and follow of the below grammar S -> [] | [S] | SS For the first I got: First(S) … | |
Create a program that will accept prelim, midterm, and final grade, the overall grade is 20% of the prelim grade, 30% of the midterm grade and 50% of the final grade. The program will display “EXCELENT, you can ENROLL again” if the overall grade is greater than or equal to … | |
It is a software Development and it's need me a access ,c++ java, programming,database i need me and you | |
Hello DaniWeb Community, I'm a beginner Java programmer. The LoanTableTester contains the main method and the LoanTable is a class separate from the LoanTableTester class. May I please have help with a cannot find symbol - variable mortgage error? I wrote the methods for calculating the c, monthly payments, number … | |
Hi everyone, Im fairly new at Java programming and my professor asked us to write a program that can: - Show each grade by the letter. (Ex: A, B, C, D, F) - Minimum & Average grade of the class - The number of people who passed the exam (70+ … | |
Hi have a question,why i do not get value output for FutureValue,do i use in the wrong place in Main method calculateFutureValue() ? package sd4.dobs.ui; import java.util.Scanner; public class Console { private static Scanner sc = new Scanner(System.in); public static void displayLine() { System.out.println(); } public static void displayLine(String s) … | |
Hi all i have couple jsp pages and java class as follows below.Can you help me with the session on the handleForm .jsp As this page supposed to show all info entered by the user in the form.I did manage to display session object in thanks,jsp But have now a … | |
im having a bit of trouble using the object i add to my arraylist. i used this as my reference: [url]http://www.java2s.com/Tutorial/CSharp/0220__Data-Structure/ArrayListandyourownobjectAddobjectstoArrayList.htm[/url] [CODE] import java.util.ArrayList; public class TestArrayList { public static void main(String[] args) { Object item1 = new ObjectMaker(); Object item2 = new ObjectMaker(); Object item3 = new ObjectMaker(); ArrayList<Object> … | |
I made a client server program to send an image from the server to the client. The image is being sent being but its not showing up in client window immediately. If i click send on the server then i minimize (or maximize) the client window then open again the … | |
I've always been bad with regular expressions syntax. I am converting text into Bezier curves, polygons, etc. Part of that is identifying points in the form `(x,y)` where x and y are coordinates in a graph. I am extracting x and y as doubles and creating Point objects with those … | |
Hi, I'm staruggling with this program can I get some help please? Write a program called CalculateInvoice that allows a user to enter multiple invoice items for multiple customers and calculates a total invoice amount. For each customer, enter a customer number and customer name. Then, for each customer allow … | |
As what was stated on the header I want to implement either a "paint" or "eraser" function whichever feature more convenient for user to edit paint/censor unwanted parts of a photo displayed on a imageview before uploading it to a server in the edited format and a redo function if … | |
Hellow everyone, I have a populated LinkedHashMap, and I need to insert another key/value to it, but it appears that it replaces it. How can I append it? Here's the example: Map <String, String>invalid = new LinkedHashMap<String, String>(); invalid.put("111111111111111111111", "Invalid Message # 1"); Map <String, String>valid = new LinkedHashMap<String, String>(); … | |
I am developing a Graphics package in Java that allows the user to draw triangles, squares, circles, etc. and group/move/manipulate them in order to make animated stick-figure movies. I have an interface that allows users to add figures with GUI buttons, drop-downs, mouse-clicks and the like, and also a text … | |
hello sir i would like your help on how to get the median of sorted values.for example my inputs are from 1 to 9 and id like to know the java program of this one,,thank you for your help sir. | |
Hello! I am looking for some assistance with adding code to my program for handling non numeric data/user input, specifically letters. The program is coded in java. import java.util.*; public class AnArray { public static void main (String [] args) { // creates an array of interegers between 0 and … | |
help me i want create a attendance database in ms-access and connect with java frame | |
Q.Write a program using 2D array. A company manufactures three products P1, P2 and P3. Company has hired five salesman. Each salesman sell all three products. Accept from user number of each product sold by each salesman. Find the product whose sale was largest.Also find the salesman whose sales were … | |
Hello, Why is (1/0.3) = 3.3333333333333335 ? Where does the 5 come from? Thank you! | |
hi deares Is a person can help me? my problem is: I want to connect Scanner to my pc with codeing by java , so have we a class in java to slove my problem ? tanks for all ` | |
suggest me whitch course is useful and booming in software industry...</> | |
Hello guys, I would like to know how and where I can find a grid layout after compiling my java program using blue j. I've tried checking the tools section but I cannot find it. Thank you |
The End.