Questions tagged as 'java'

0
answers

JavaFX use a Button that is in a fragment of another FXML

This is the main screen driver, where the whole program should run, for example, when clicking on 'btMedicos' a small sub-menu with 3 Button opens inside 'menubar' and when clicking the Add button should open a form in the StackPane 'areaprincip...
asked by 11.08.2018 / 00:51
0
answers

How to call mainActivity methods inside a handler?

I'm having a hard time calling two methods created in my main activity by a handler. This handler is static, and when I throw its static attribute so that my non-static methods can be called, it returns an error saying that my handler can not be...
asked by 11.08.2018 / 00:26
0
answers

Failed to access WSDL - Connection Refused - Glassfish 4

My application consumes a WSDL web service method and requires the URL to be changed as needed. The case is that even changing the URL using the method BindingProvider like this: ((BindingProvider) port).getRequestContext().put(Bindi...
asked by 17.08.2018 / 14:23
0
answers

FIleNotFoundException: Android

You're giving this FileNotFoundException error, when I change the photo on android    W / System.err: java.io.FileNotFoundException: limit.jpg W / System.err:   at android.content.res.AssetManager.openAsset (Native Method)                   ...
asked by 06.08.2018 / 21:10
0
answers

How to implement a GameView code inside a class? (in java code for android)

I'm new to java and I'm developing a project, I have the following code below: paint.setColor (Color.rgb (250, 0, 255)); canvas.drawCircle (xa, ya, 10, paint); What I use in the GameView draw method to create circles in my project (a game)...
asked by 06.08.2018 / 01:33
1
answer

App Bar does not appear

In fact it even appears in the program, but not in the simulator Following the Java code public class Perguntar extends AppCompatActivity{ @Override protected void onCreate (Bundle savedInstance) { super.onCreate(save...
asked by 03.08.2018 / 18:51
0
answers

Error in the "rowkey" attribute of DataTable - JSF 2.2 with PrimeFaces 6.2

I'm new to JSF and am having trouble with the rowkey attribute of the DataTable. It simply can not find the reference I put of my var attribute. It's as if the name I put in var only serves the components that are inside the DataTabl...
asked by 05.08.2018 / 10:05
0
answers

Jhipster + OAuth + Okta: problem with roles

I signed up for okta and created the roles and groups, but when I log in, I see that the top menu does not have administrator options. When I see in the database, it is registered in the table of user_authorities, my user as ROLE_USER. Wou...
asked by 05.08.2018 / 04:23
1
answer

Spring AuthenticationManager that could not be found

I'm trying to set up the oAuth2 in my study application but this is returning me an error that I can not solve    required to bean of type 'org.springframework.security.authentication.AuthenticationManager'   that could not be found Au...
asked by 12.08.2018 / 00:07
1
answer

Problem using parameter in a PreparedStatement

I would like to know if there is any problem in using the "parameter" variable after the "AND", because when I tested putting the column name directly in SQL worked and when I try to pass the column name with the parameter does not return anythi...
asked by 02.08.2018 / 06:03