Member Avatar
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 …
by IcyFire in Software Development ()
Member Avatar
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) …
by PulsarScript in Software Development ()
Member Avatar
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 …
by AssertNull 356 in Software Development ()
Member Avatar
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 …
by sarah_15 in Software Development ()
Member Avatar
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 …
by imso in Mobile Development ()
Member Avatar
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>(); …
by newbee_jv in Software Development ()
Member Avatar
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 …
by AssertNull 356 in Software Development ()
Member Avatar
Hi, as I was told that my code doesn’t scale well at all, I thought perhaps I’d try to get a better understanding of interfaces/abstract classes and classes and the relationship between them. I don’t want at this stage work on a big separate project as I've already got plenty …
by Violet_82 35 in Software Development ()
Member Avatar
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.
by Louie_3 in Programming ()
Member Avatar
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 …
by rhaylee in Programming ()
Member Avatar
help me i want create a attendance database in ms-access and connect with java frame
by ajay_16 in Software Development ()
Member Avatar
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 …
by sumod in Software Development ()
Member Avatar
Hello, Why is (1/0.3) = 3.3333333333333335 ? Where does the 5 come from? Thank you!
by Zent in Software Development ()
Member Avatar
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 `
by Shoaib_7 in Software Development ()
Member Avatar
suggest me whitch course is useful and booming in software industry...</>
by Sandeep_21 in Software Development ()
Member Avatar
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
by Ashraf_6 in Software Development ()
Member Avatar
HI guys, as my next application I thought I'd build a simple converter, something that allows me to convert from, say, Km to miles and so on. The framework I will use is vaadin (unfortunately) but it will still be java anyway :-). So, I just thought I'd see if …
by Violet_82 35 in Software Development ()
Member Avatar
Hi guys, Here is the question: I have Activity A, Activity B. Now, A --> B . Now, pressed the home button. Now, go to any image & "open with" will show my app. when pressing my app as the option, it will hit Activity A. When it will hit …
by nitin1 15 in Mobile Development ()
Member Avatar
I am new to java and trying out a question but I have no idea why it can't calculate my commission public static void main(String[] args) { Scanner keyboard= new Scanner(System.in);// input form keyboard double retail_price; double emp_num; char trans_code; double a =0.06; double b = 0.08; double commission; System.out.println("Please …
by Jayvis in Software Development ()
Member Avatar
Hi guys. I'm working on my school project. My asigment is to make a piano game. The program works fine but my work stopped when i came to a problem. I would like to put the integers, which i get from pushing the specific JButton, into an array. For example …
by oresnik in Software Development ()
Member Avatar
I am designing an application in Java and it requires networking and for that I am using a framework called Kryonet, now I've been able to learn how to send packets and connect, etc, but I'm still not sure how I would handle logging in. The user would need to …
by Haroon_4 in Software Development ()
Member Avatar
I have a stock system where you can add a item to the system, increase the amount of different items, decrease the amount of different items in a system and completely delete an item from the system. What I am trying to do is when the user inputs the name …
by cc in Software Development ()
Member Avatar
Have a problem on line 128 : out.println("Location \tAveragePrice"); Not recognize it.And the program not compiling. Have a txt file(cars.txt) : CARREG MAKE MODEL COLOUR LOCATIOn PRICE OWNERS MILEAGE 09-L-1258 OPEL ASTRA SILVER LIMERICK 12999 0 35000 01-D-7845 FORD FOCUS BLACK LIMERICK 1500 3 85000 11-D-7425 NISSAN ALMERA WHITE DUBLIN …
by PulsarScript in Programming ()
Member Avatar
Hi,please help.Stack with streamtokens.I want to figure out how to print the table : County Max Min Condition Clare 4 0 Cloudy Cork 3 0 Rain Kerry 4 1 Showers Limerick 4 1 Cloudy Tipperary 3 -1 Clear Waterford 2 -2 Clear in format : County Average Daily Temp Freeze …
by PulsarScript in Programming ()
Member Avatar
hi guys havent been here for a while. I am practicing this program for a few days now I havent seen no syntax error but am not getting any output. the program is about a loan officer for two group of employees for a credit union. the regular staff salaries …
by divinity02 6 in Programming ()
Member Avatar
Hi all can you throw some light on the resolution of my problem,should be simple ,but can not figured out .Here is my server and client class,The problem is server does not show the JOption pane with result. public class Client { /** * @param args the command line arguments …
by PulsarScript in Programming ()
Member Avatar
This might sound like it's very simple but I tried many things and it doesn't work. When the user clicks the back button on a window it's supposed to also dispose another window. I've tried using static. if(Tester.backJButton.isEnabled()) { this.dispose(); } Tester is the name of the class holding the …
by cproger 4 in Programming ()
Member Avatar
Hi there, I was given a little exercise to complete for a graduate position. I have only done a HDip in Computer Science, so that's only about 8 months of Java stuck in with a whole other pile of stuf.. long story short.. I've only get the basics of coding, …
by Mark_54 in Programming ()
Member Avatar
implement a full class Car that has teh following characteristics: brandName, PriceNew, Colour and Odometer. The class should have a constructor that prompts the user to enter the characteristics above. A method getPriceAfterUse() which return the price of the car after being used according to the following formula: a.car price …
by Norman_2 in Software Development ()
Member Avatar
Can someone give me some programming ideas to keep my knowledge up-to-date? I received a masters degree in computer science back in December and been job searching since then. I want to tell an employer something.
by Chris_38 in Software Development ()