Questions tagged as 'java'

1
answer

By icon in JFrame

Would it be possible for icons in the executable application via code?     
asked by 02.06.2017 / 22:47
1
answer

Navigation Properties - Domain-Driven Design

Hello, I'm studying DDD and I came across the following question: There is Aggregate , a set of related objects that have an Aggregate Root Aggregate Root / strong>). So far so good, I've created a routine that would generate all the in...
asked by 11.06.2017 / 19:29
1
answer

How to move animation clockwise?

Well, I'm developing a project that simulates the controlled environment of train tracks, where I have 3 trains running clockwise, where the three pass through the same place in certain sections. My first question is, how to make the movement of...
asked by 03.08.2017 / 20:31
1
answer

What is an Expression Language (EL)?

Much used in JSF , the famous Expression Languages (EL's) symbolized by #{} . I do not know if other languages work with it. What do they mean?     
asked by 24.02.2017 / 14:14
1
answer

Mapping an enumeration

I have a problem with hibernate: When I try to give wakeup on the server, it gives me the following error message:    Use of @OneToMany or @ManyToMany targeting an unmapped class. Saying that I'm trying to use these annotations in an un...
asked by 16.12.2016 / 20:52
1
answer

I do not understand a sorting resolution

The teacher asked for the following exercise: "Write a program that gets three scores (integers), sorts those scores using if statements and writes the three in ascending order on the screen. " I tried to do it my way alone but I ended up g...
asked by 28.10.2017 / 23:29
1
answer

Problem queue with priority

Someone gives me a light of what to do to solve this problem, I have no idea how to start    Write a program that simulates the distribution of service passwords to a group of people. Each person can receive a priority password or a normal pa...
asked by 17.10.2017 / 06:18
2
answers

Capturing string in square brackets

I need to capture strings in brackets within a string. I found a solution that did not solve my problem fully: \[(.*?)\] Usage like this: Matcher mat = Pattern.compile("\[(.*?)\]").matcher(stringlToVerify); if(mat.find()) { // Fa...
asked by 12.01.2017 / 17:02
1
answer

Servlet Container (Tomcat) or Application Server?

Currently I'm developing a project that uses JSF, JPA, CDI and EJB. I have read in several places where they stated that Tomcat (Servlet Container) does not have support for these technologies, however I am currently using Tomcat and I use all o...
asked by 11.09.2017 / 19:54
1
answer

How to add the eye to display the password in Android Studio?

I created a login form in my application and would like to put the eye button so that it can display the characters of the login field, as shown: Ihavealreadydonesomeresearchandtriedtoaddfunctionalityinmyapplication,butwithoutsuccess.Myloginlay...
asked by 07.01.2018 / 18:26