Questions tagged as 'eclipse'

1
answer

Problem with JAVA class [closed]

The problem is as follows, I was modifying a java class, and for some reason I had to restart my computer and when I returned to open my java class, my code disappeared and it shows me the following: Someone can tell me what happened and h...
asked by 07.03.2017 / 01:05
1
answer

Problem with Oracle OJDBC6

I have a Maven Module project of Liferay 7, which I want to implement a connection to Oracle through the OJDBC6, I have my connection which is the following: public static Connection getConnection() { if (connection != null) { retu...
asked by 29.03.2017 / 22:25
1
answer

Export to Excel - Java

This is the code I use to export to excel: @SuppressWarnings("resource") protected void btnExportarExcelActionPerformed(ActionEvent arg0) { JFileChooser seleccionar = new JFileChooser(); File archivo; if (selecci...
asked by 12.01.2017 / 21:50
1
answer

Error: No resource found that matches the given name (at 'style' with value '?) android: attr

I want to apply a template (Theme) created by me, and the error is when I relate a textview with an attribute pointer that is used in the Theme <TextView android:id="@+id/textView1" style="?android:attr/textTitle" an...
asked by 10.11.2016 / 14:35
2
answers

UnsatisfiedLinkError: no swt-pi-gtk-3550

When I launch an application created with Eclipse RCP it is always aborted with an UnsatisfiedLinkError error. user@maquina:~> ./aplicacion.sh Exception in thread "main" java.lang.UnsatisfiedLinkError: no swt-pi-gtk-3550 or swt-pi-gtk in sw...
asked by 21.10.2016 / 08:03
1
answer

Center buttons and TxtPane

I'm starting to use Eclipse to make a desktop application and I'm a bit of a fish. I would like to know how I can find the way that when expanding the screen the rest of the objects also move. Is there any way to do it? my code is as follo...
asked by 23.10.2018 / 23:16
1
answer

Problem java characters in Eclipse

When importing a project in eclipse I get errors in the characters of my java file. I give an example, does anyone know the solution? System.out.println("ERROR:al cerrar la conexión");     
asked by 05.11.2018 / 20:41
2
answers

how to separate code in eclipse?

Suppose I have main.java and code.java in the ide processing you can open a tab and write a function and then use it in draw () try doing something like this in eclipse in main.java I have public class main { public static void m...
asked by 31.07.2018 / 01:28
2
answers

Doubt Scanner class in Java

I have this little code. It happens that when the time comes to enter the third data (the name), it jumps, it is as if it were automatically given to enter and could not write anything: Scanner sc = new Scanner(System.in); Syst...
asked by 28.05.2018 / 22:11
1
answer

Run two instances of tomcat in different ports

I'm trying to run two instances on different ports. We have tested server.xml and created two connectors but they are not created. The port is listening but when I enter from the browser it says that it does not exist     
asked by 13.04.2018 / 12:27