Questions tagged as 'java'

0
answers

Update JProgressBar on how much to read a file

I'm developing an application that will perform reading and writing of a particular txt file, which follows a pattern. I'm going to read a file, perform some cleanup on that file, and then write a new file. I put a progress bar to make it easier...
asked by 16.12.2015 / 21:39
0
answers

Doubt about the ActionBar Tab

When my application opens, Tab looks like this: ButifIopenanewViewandreturntothehomescreen,italreadylookslikethis: Does anyone know why? And how do I always appear with the shadow? I'm using the Live-O template. =======================...
asked by 16.12.2015 / 23:32
0
answers

Problem with table generation (tutorial algaworks) [closed]

I'm reading the Java EE 7 book, with JSF, primefaces and CDI. I got the configuration part of hibernate, but I'm having problems. I configured my application in a J2EE environment, with JSF and etc and using WildFly as Server. After configuring...
asked by 11.02.2016 / 13:52
0
answers

Servlet configured with annotations is not loaded

I have the following class: public class SpringServlet extends AbstractAnnotationConfigDispatcherServletInitializer{ @Override protected Class<?>[] getRootConfigClasses() { return new Class[]{}; } @Override...
asked by 22.11.2015 / 15:49
3
answers

How do I access a private attribute of a class in another class?

I created a chat in Java. In the Servidor class, the user passes as input the port on which the server will roam. In order for the chat to work correctly, I need to access this variable of class Cliente , passing it as a parameter s...
asked by 21.11.2015 / 05:26
1
answer

MVC representation in UML class diagram

I'm building the class diagram of my project and I was left with a question at one point. In the project I create an instance of my Controller class in main and step reference (I know that in Java the pass is always by value, but when we pass th...
asked by 16.12.2015 / 00:11
1
answer

Repeated Labels, windows .bat file does not delete some tags

I'm having a problem with a system here in the company which is as follows. The system generates labels and prints them on an argox printer, these label printers. They are labels of the requests that are generated with PHP and PPLA which is t...
asked by 03.12.2015 / 17:08
1
answer

How to use an array inside getView in an adapter?

This is my problem, I'm passing a sequence of arrays to an adapter that should be placed inside a listview, of which I have a two-dimensional array called materials: public View onCreateView(...){ ... } @Override public void onActivityCreated...
asked by 04.12.2015 / 05:48
0
answers

How to relate the entire Javascript workspace to Java?

I want to link all javascript files in my IDE, as we do with Java in Eclipse. I'm trying to do this on Atom or VSCode. Some things I need: I want to bind my variables and global functions, sometimes I use require.js but sometimes I ad...
asked by 06.01.2016 / 18:49
0
answers

Problem with Spring properties MVC 4

Good error happens in the second message of the properties file the first message ok when I try to put the second message in the file this error happens    Caused by: javax.servlet.jsp.JspTagException: No message found under   code 'campo.add...
asked by 05.01.2016 / 18:19