Questions tagged as 'java'

1
answer

How to print in a jtext as if it were a console?

I mean: for (int r = 0; r < 5; r++) sout(r+","); //jtext.setText(r + ",")    0,1,2,3,4, since in the jtext it would print only the last 4,     
asked by 13.10.2018 / 22:00
1
answer

Is it possible to invoke a super class method from the onClick eventon?

It turns out that I have a button that performs an action with an if but it turns out that if it does not enter that if I need to run a method of an android class that are the ones that put the menu in the action bar: btnBuscar.setOnClickListe...
asked by 13.10.2018 / 22:53
1
answer

How to remove the Actionbar from a SplashScreen

I just need to make the top bar disappear when the app starts with an image I put.     
asked by 15.10.2018 / 16:12
0
answers

Print Graphics JasperReport

I had doubts about how I could print a GRAPH with JasperReport, I looked for the way but only show how to make them but not how to print them, I will leave here the way I print the REPORTS with JasperReport and thus create the idea of what I wan...
asked by 12.10.2018 / 18:16
0
answers

popup window open / close / minimize internalframe is disabled

the popup to restore / move / minimize / close / maximize Does not work, any solution? my code to insert the form to my JDesktopPane is the sgt: frmEntregaMovil t = new frmEntregaMovil(); JInternalFrame internalFrame = new JInternalFrame...
asked by 12.10.2018 / 17:56
1
answer

Error in Netbeans java.sql.SQLException: No suitable driver found for jdbc: mysql: // localhost: 3306 / patterns [duplicate]

Good I am having a problem with this program that I did it gives me this error and I have tried everything but nothing works, I am connected to the database but it does not work. Here the code: package conectaBD; import java.sql.*; public c...
asked by 12.10.2018 / 18:07
0
answers

How do I insert a video to a jpanel or a jframe in netbeans?

Specifically, what I am looking for help is to be able to insert a video in a jframe, in other words that when I run the program in the home panel the video is reproduced. I tried it with label but I do not achieve it . Hopefully, make me unders...
asked by 12.10.2018 / 20:01
0
answers

Change screen Adapter

I have the next part of my program: // Si clickem a sobre de qualsevol d'ells... lista.setOnItemClickListener(new AdapterView.OnItemClickListener() { @Override public void onItemClick(AdapterView<?> pariente, View v...
asked by 17.10.2018 / 16:00
1
answer

Request a value only once, save it and accumulate it to use it always in java with Android studio

Good day,  I have in this interface where in the EditTex marked in red is a value that I want to leave fixed after I request it once From this activity I send it to another activity2 where I have this structure. Bundle bundle = getInten...
asked by 20.10.2018 / 16:59
1
answer

Help with a JSP!

I need to show a message I have from a (try) in a jsp. I already tried with <% = NombreVariableDeMenjeje% > But it's not working. My code is as follows: <% int PUERTO = 4000; try{ System.out.println("Iniciando Servidor...");...
asked by 14.10.2018 / 18:47