Questions tagged as 'java'

1
answer

How to add to the AbstractTableModel a combobox populated by database information?

I wonder if it is possible to implement a combobox in a AbstractTableModel so that it receives information directly from the database to fill. if possible could someone give me an example? Since I've always used DefaultTable...
asked by 04.01.2018 / 02:01
2
answers

Move android studio to another computer without installing

To vacation in a small city, here the internet is very slow, I want to pass the android studio to a more advanced computer that I bought, but I can not via internet, I wanted to know if it is possible for me to pass the android from another comp...
asked by 02.01.2018 / 20:03
1
answer

Send email with java [closed]

Good afternoon. I'm using java, jpa, wildfly and primefaces. I need to send a notification email after the user clicks the send button. How do I send emails through java?     
asked by 05.09.2016 / 20:47
1
answer

Pass data contained in Arraylist to attributes of an object

Through the Scanner, I read an .htm file and pass the data it contains to a String ArrayList. I need to assign this ArrayList data to "game" objects. The Game class already exists, with all the attributes, getters and setters .. The list look...
asked by 07.09.2016 / 23:32
1
answer

Root and active modifiers in java

My teacher passed slides and he mentioned two modifiers root and Active but I never heard of them and from what I researched they do not exist in java, can someone give a better explanation? Is there something similar in java that...
asked by 25.09.2018 / 19:26
1
answer

Endpoint Rest with Jersey does not display expected result

I created a JavaEE project directly in Intellij and added the dependencies of JavaEE 8 via maven. The structure of the project is in this link . web.xml: <?xml version="1.0" encoding="UTF-8"?> <web-app xmlns="http://xmlns.jcp.org/...
asked by 10.10.2018 / 13:44
1
answer

I need the commission to make the percentage, but the function only returns the value of the sale and also does not enter the criterion of if [closed]

public class Vendedor { private float venda; private float salario; private String nome; private int falta; float c; public void setVenda(float venda) { this.venda=venda; } public float getVenda() {...
asked by 30.09.2018 / 07:46
1
answer

Gx X Ev3, Development Genexus Java Environment [closed]

   Note: In Genexus, which is a "creator" of code packages for agile development, you do not need to code in a common language like Java. Just creating the transaction specifying its attributes is enough to create the "object" and even a pre-int...
asked by 01.04.2015 / 21:50
1
answer

Android + WebService on Cloud Platform [closed]

Talk the guys ... Home Well, I really need to create a project. A WEB and Android system. Home But it has to be Cloud and free of preference. Home I researched and started a project using OpenShift. I installed a plugin in Eclipse and I sent a b...
asked by 31.03.2015 / 21:12
2
answers

How to select all the columns of a row?

Is it possible to select all the columns of a row? I have a function where, on the screen where the user will be created, a validation is made in the first field typed to see if the ID of the user that I am trying to register in the databas...
asked by 30.04.2015 / 02:41