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

en 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

48 freelance font 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.

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(994 Commentaires)
7.5
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

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(441 Commentaires)
7.4
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.

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(600 Commentaires)
6.7
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

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(372 Commentaires)
6.5
wbslivera

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

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(215 Commentaires)
6.2
quanlitysource

i am experiment java swing

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(81 Commentaires)
5.6
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

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 2 jours
(53 Commentaires)
6.0
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

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(71 Commentaires)
5.9
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

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(65 Commentaires)
5.8
vorasiddh4it

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

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(23 Commentaires)
5.2
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

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(56 Commentaires)
5.1
dipakjadhav08

A proposal has not yet been provided

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 2 jours
(76 Commentaires)
5.2
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

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(71 Commentaires)
5.5
nxhoaf

Hi, I have done a lot of assignments during few days back, included: Causal Order Multicast in Java Freelancer: https://www.freelancer.com/projects/Java/Causal-Order-Multicast-Java/ Report: [url removed, login to view] Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(23 Commentaires)
4.4
Shchipunov

Hello! I have a great experience in writing various Swing-based applications. Examples: [url removed, login to view] [url removed, login to view] Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(20 Commentaires)
4.3
dotharsh

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

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(37 Commentaires)
4.4
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)

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 2 jours
(6 Commentaires)
3.3
thanhtuan5787

A proposal has not yet been provided

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 5 jours
(11 Commentaires)
3.3
VnBestSolutions

Dear Sir. We claim to get it done perfectly for you EXACTLY in the way you want it - Kindly give we a chance and we will prove myself - Ready to prove our words, let's get it done right away and I mean RIGHT AWAY !! Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(3 Commentaires)
3.1
joseluispereira

buenas me ecantaria realizar este proyecto cualquier cosa colocate en conctato conmigo para hablar sobre el proyecto

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(7 Commentaires)
3.3