Questions tagged as 'java'

1
answer

Is there a way to do "migration" in RabbitMQ?

Hello I would like to know if there is any alternative to create / change / remove exchanges, queues and bindings without depending on the framework (in my case, Spring) for this. We often need to change the name of a Routing Key, Queue, o...
asked by 07.05.2018 / 15:02
1
answer

How to call initLoader within OnClickListener

Hi, Is it possible to call an initLoader inside an OnClickListener? I need it to be started after the editText data entry, because the network request returns error 400, URL enters without the user query, because the variable was not passed i...
asked by 05.05.2017 / 19:16
1
answer

How to get the reference to the ListView from a ListFragment?

I have a ListFragment trying to access the ListView where Adapter has inserted the objects, but findViewById is returning null , does anyone have any ideas? The fragment code in XML: <?xml version="1.0...
asked by 04.05.2017 / 17:15
1
answer

Placing components inside a JFrame

I'm trying to position some components on a screen, but it's not working very well. So I created a simple example to illustrate the problem. I accept submissions to perfect the way I'm doing. Note:WheneverIaddapanelinsideatab,Icannotgetittos...
asked by 01.05.2017 / 23:20
1
answer

Display only hours in the calendar component of Primefaces

How to give the user the option to select only hours and minutes in the component of Primefaces I have two fields with start and end times to select, but even putting <p:calendar> on clicking to select the time, year, month, d...
asked by 05.04.2017 / 03:50
1
answer

Android / Firebase - NullPointerException when defining Query object

Hello, I have a problem reading the data in Firebase. I use Android Studio 3.0 and Java. I can connect to the database, get the instance, the user logged in, but I can not read the attributes of the selected node. The bank structure is this...
asked by 31.10.2017 / 17:09
1
answer

Java Perspective Message

The message is being displayed every time I run Eclipse and create a new project, can someone explain the reason for the message?     
asked by 09.06.2017 / 20:56
2
answers

Mask in TextEdit

I have a fuel inlet and I needed a litter mask that had 3 fields after the comma. Example:    002,555 Liters I needed the field to already be filled with "000,000" and filled back as the user typed. Is it possible to mount a mask...
asked by 09.06.2017 / 15:52
2
answers

Dynamically sort SQL result

First of all, Working specifically with Java in the Backend using WebServices Rest and PostgreSQL, after some professional enhancements I was directed to pass ordering and paging of my application to SQL, which would overload the application ser...
asked by 18.09.2017 / 21:26
1
answer

How to get serialized fields with JavaFX reflecition API?

I have a form with several CheckBoxs, which I named c1, c2, c3, c4, c5 ... up to c66. So: @FXML private CheckBox c1; @FXML private CheckBox c2; . . . @FXML private CheckBox c66; Now I want to make an org.bson.Document to put all fields with...
asked by 15.09.2017 / 01:19