Questions tagged as 'java'

1
answer

"Exception in thread" error "java.lang.NoClassDefFoundError:" exporting sqlserver data to postgresql

using the postgresql importer 9.4.6 the Migartion Toolkit v49.0.4-2 this command was used runMTK.bat -sourcedbtype sqlserver -targetdbtype postgres -allTables -targetSchema public dbo and for lack of several files .jar gives error of:   ...
asked by 29.09.2016 / 17:50
1
answer

Error with Combobox ItemStateChanged

I have two combobox in a form, it depends on the first option of the first combo, you must load the results referring to the first option, for example, if I choose the option of Sección 1 in my first combo, you must load all the reference...
asked by 20.06.2016 / 22:58
2
answers

Problem with JButtton delete

Good I have this code for delete that is part of a class that handles the events of a frame : if(e.getSource()== estAdmin.getSubmenu_Eliminar()){ int Option= JOptionPane.showConfirmDialog(estAdmin, "Esta seguro" + "d...
asked by 10.09.2016 / 03:35
2
answers

Access the elements of a bidimensional matrix by column?

There is some way to get the columns of one matrix per column in two repetitive cycles, that is, if I have the matrix: A = [21.0][16.0][16.0][13.0][11.0] [17.0][18.0][14.0][23.0][13.0] [32.0][27.0][15.0][41.0][19.0] [6.0] [10.0][12.0][15.0][4...
asked by 08.09.2016 / 22:40
1
answer

Alternatives to Sliding Drawer

I was going to use SlidingDrawer in my app but I saw that it appears to me as obsolete and that it probably causes problems in the next versions of android and I would like to know what are the options available in the Android SDK or that third-...
asked by 15.06.2016 / 03:55
1
answer

Bad exit to screen of this program

I have this code. public static void añadir(CListaTfonos listatfnos){ try { String nombre; String direccion; long telefono; System.out.println("telefono: ");...
asked by 26.11.2016 / 04:53
4
answers

Overload constructor in inherited class

I have a Person class that has the following constructor Person(String firstName, String lastName, int identification){ And a student class that extends from Person and whose constructor I want to add one more parameter, which are the notes...
asked by 25.11.2016 / 09:47
1
answer

Insert a "pointer" in an image of a map in Java from a Layout

I have to create an application in Java with graphical interface, which by clicking on a "Create signal" button which allows me to visualize in a JPanel the image of any map, and with the mouse to position several "Puntadores" "or" Points "on sa...
asked by 29.06.2016 / 23:50
2
answers

How to launch the home on Android?

If I am in my application and sent the user to his configuration with this. startActivity(new Intent(android.provider.Settings.ACTION_SECURITY_SETTINGS), 0); But how can I send the user to the home of his phone, not return it to the applica...
asked by 30.06.2016 / 00:50
2
answers

Rotate an ImageButton on Android

In the header of my NavigationView I created a ImageButton that when you click on it, change the menu that appears in NavigationView . This task works perfectly, but I want that when you press this ImageButton ,...
asked by 31.05.2016 / 18:45