Fermé

Create a GUI with Swing for Code in JAVA

Need to create a GUI with Swing for the following code. It must ask for this:

1. Ask for the amounts of row

2. Ask for the amounts of colums

3. Ask to input Number 1 Matriz and then receive all its numbers

4. Ask to input Number 2 Matriz and then receive all its numbers

5. Tell if the data that was input is not a number to stop running the program and send a message that the data that was input is not a number

6. Tell in a window that the sum of the Number 1 matriz + Number 2 matriz

Forgot to tell. You must use this code:

package SumadeMatrices;

import java.util.InputMismatchException;
import java.util.Scanner;

public class SumadeMatrices {

public static void main(String[] args) {
Scanner s = new Scanner(System.in);
System.out.print("Ingrese el Numero de Filas: ");
int rows = s.nextInt();
System.out.print("Ingrese el Numero de Columnas: ");
int columns = s.nextInt();
int[][] a = new int[rows][columns];
int[][] b = new int[rows][columns];
System.out.println("Ingrese la primera matriz");
try {
for (int i = 0; i < rows; i++) {
for (int j = 0; j < columns; j++) {
a[i][j] = s.nextInt();
}
}
System.out.println("Ingrese la segunda Matriz");
for (int i = 0; i < rows; i++) {
for (int j = 0; j < columns; j++) {
b[i][j] = s.nextInt();
}
}
} catch (InputMismatchException e){
System.out.println("El valor ingresado no es un numero");
}
int[][] c = new int[rows][columns];
for (int i = 0; i < rows; i++) {
for (int j = 0; j < columns; j++) {
c[i][j] = a[i][j] + b[i][j];
}
}
System.out.println("La suma de las dos matrices es:");
for (int i = 0; i < rows; i++) {
for (int j = 0; j < columns; j++) {
System.out.print(c[i][j] + " ");
}
System.out.println();
}
}
}

Compétences : Java

Voir plus : gui number, example java source code using gui swing, java code swing gui text file output, java mock swing gui, java swing code bank gui, java mortgage calculator gui code program, create message mobile java, java code simple gui, java swing gui resizable machen, code create upload window html, java swing gui nice

Concernant l'employeur :
( 1 commentaire ) Panama, Panama

N° du projet : #8497247

49 freelance ont fait une offre moyenne de 24 $ pour ce travail

it2051229

Hi, I have read the requirements and I'd like to do this project please. Let me know if you are interested so I can start. Thanks.

30 $ USD en 1 jour
(697 Commentaires)
7.1
eperfections

Dear Sir, I have completed 700+ java projects on this site. I have read your requirements and ready to do this project. Please award me. Thanks

30 $ USD en 1 jour
(377 Commentaires)
7.2
wbslivera

Hello, I am Oracle certified professional java programmer and have [url removed, login to view], I am ready to help you, thanks

30 $ USD en 1 jour
(184 Commentaires)
6.1
vano101

Hello. I have few years of experience with Java programming, I think it's enough to complete your simple project. There is one questions: Is there allowed to use Eclipse or Netbeans for building GUI? Thanks.

21 $ USD en 1 jour
(317 Commentaires)
6.1
KingOfPhoenix

A proposal has not yet been provided

25 $ USD en 1 jour
(25 Commentaires)
5.2
codeblockinfo

I have 7+ years experience in Java Development with on hand experience in Collections, Data structures, OOP, Generics,Multithreading,File Handing,Database handling using JDBC, Swing framework etc. Excellent debugging s Plus

40 $ USD en 1 jour
(43 Commentaires)
5.2
szymszteinsl

Ready to work !Ready to work !Ready to work !Ready to work !Ready to work !Ready to work !Ready to work !Ready to work !Ready to work !Ready to work !Ready to work !Ready to work !Ready to work !Ready to work !Ready to Plus

100 $ USD en 2 jours
(35 Commentaires)
5.4
quanlitysource

i am experiment java swing

20 $ USD en 1 jour
(52 Commentaires)
5.0
zabolotniipavel

Hi, My name is Pavel and I have Master Degree in Computer Science.I have a great experience in Java. All of the my employees are satisfied with the quality and speed of my work. See my profile to be sure of this. ht Plus

25 $ USD en 1 jour
(35 Commentaires)
4.5
DanGun123

Hi, Sir. Your project is very easy for me. I already finished your project. If you send me message, I 'll sent result to you instantly. Thanks. Dan.

24 $ USD en 1 jour
(12 Commentaires)
4.3
ithuang2014

A proposal has not yet been provided

34 $ USD en 1 jour
(37 Commentaires)
4.4
dipakjadhav08

A proposal has not yet been provided

25 $ USD en 2 jours
(36 Commentaires)
4.6
AhmedLabib93

Hello My name is Ahmed, i passed freelancer java exam with top 10% rated plus i got 2 java certificate 1Z0-803 and 1Z0-804 with 3+ years experience. small overview of feedback on my profile “professional , the be Plus

17 $ USD en 1 jour
(28 Commentaires)
4.0
ig149

Just visit our portfolio you will find many swing applications with 2d matrix your work will be done in hours looking forward to assist you

25 $ USD en 1 jour
(22 Commentaires)
4.6
dotharsh

Hi I am ready to start now.. And finish asap... Check my profile for previous projects i have done... Looking forward.. Thanks

20 $ USD en 1 jour
(31 Commentaires)
4.3
hectorenavarrou

Hola, este proyecto es relativamente sencillo de hacer. Puedo hacerlo en unas pocas horas. Tengo años de experiencia trabajando con Java, dando clases de algoritmos y estructuras de datos

20 $ USD en 1 jour
(8 Commentaires)
3.7
nxhoaf

Hi, I have done a lot of assignments during few days back, included: Causal Order Multicast in Java Freelancer: [url removed, login to view] Report: [url removed, login to view] Plus

20 $ USD en 1 jour
(9 Commentaires)
3.5
vorasiddh4it

Hello Thanks for taking interest in our bid. ______________________________________________________________________________________________________________ Short description: OS : Macintosh, Windows, A Plus

50 $ USD en 1 jour
(8 Commentaires)
3.7
wqassar

Hi I'm wael, I wont make long intro :D and I can deliver this project hope to be picked you can check my skills on profile or linkedin profile (Wael Kassar)

15 $ USD en 2 jours
(6 Commentaires)
3.3
belive12358

A proposal has not yet been provided

25 $ USD en 1 jour
(3 Commentaires)
3.0