Questions tagged as 'java'

1
answer

JFreeChart - Graphics in Java Swing do not appear on the screen

Hello, I'm developing a Java swing application for a university project. Basically it is a program that reads XML files from another application (mobile game) and generates graphical reports from the data (easy thing ...). My question is as foll...
asked by 15.03.2015 / 02:30
1
answer

Tabs on Android

I'm trying to implement a simple code just to show two tabs on Android and later add a content dividing into two activities, one to show examples with IF and another with SWITCH. I created the XML, where I can check without problems and I als...
asked by 27.12.2014 / 02:07
1
answer

How to put an image in JComboBox?

When the user selects the option, an image appears on the side.     
asked by 30.10.2014 / 16:52
2
answers

ProgressBar loading according to JavaFX process time

I have a method that loads a ProgressBar , but it only starts loading at the end of the process, ie after my application finishes generating the reports it starts to fill. How do I load it according to the process time that generates th...
asked by 28.05.2015 / 13:35
1
answer

Wildfly - "Netty 'connector not found in main configuration file"

I added a connection factory in the file standalone-full of Wildfly .: <jms-connection-factories> <connection-factory name="K19Factory"> <connectors> <connector-ref connector-name="net...
asked by 30.05.2015 / 23:14
1
answer

When I run the client, does the server shut down, why?

As soon as I run a Client, the Server connection terminates. The while block of the Attendant Class run () method does not execute. I ran a test and the running attribute is set to true. I can not figure out what's going on. Server class. p...
asked by 26.08.2014 / 00:14
1
answer

Help with assembly ArrayList code in Java (search, insert String)

Good evening, I have to develop a code, but I have some doubts, follow the code below: public class Aluno { String nome; int mat; Aluno(String nome, int mat) { this.nome = nome; this.mat = mat; } @Override public String toString() {...
asked by 26.08.2014 / 01:45
1
answer

Mapk Collection, v Methods

Doubts about methods replace : compute : computeIfAbsent : computeIfPresent : forEach (briefly all that use function or biFuntion within input parameter) Is replace really necessary? this...
asked by 22.08.2014 / 15:21
1
answer

Check encoding of an XML

I need to process a series of XML files. One of the requirements is that encoding is UTF-8 . Any other type of enconding should be rejected. This is accepted: <?xml version="1.0" encoding="UTF-8" ?> That's not <?xml versi...
asked by 25.08.2014 / 22:51
1
answer

How to simulate the title function of Python [string.title ()] in Java?

In python, the string has a function called title, which causes a text to be like a title. Does it have such a function in Java? If not, how to do it? Example: "Hi, my name is goku" .title () - > "Hi, My Name Is Goku" I need this functi...
asked by 24.08.2014 / 22:46