I currently have this method for a server:
private void listen() throws Exception{
try{
System.out.println("Server is listening on port " + getPort());
while (true) {
Socket socket = server.acc...
Write a function or method that detects if a number is repeated in an array, at least a certain number of times. The function must receive the arrangement, the number to be detected and the number of minimum times that must appear.
Example:...
I am trying to do an exercise but I really do not know how to do the exercise using the class they are giving me, since the problem I have is with the use of IndexedList. If someone could give me some advice / clue or some example would be of gr...
I am trying to carry out a poo project, but as I go from one to the other, I find it very difficult, I would like someone to help me with an explanation, I leave an image of the project thanks.
I would like to know how I can make my method print, print the object. and I run it in the bubble method, I also add my test code.
Because what I print is
ordenamientos.Persona@15db9742 - ordenamientos.Persona@6d06d69c - ordenamientos.Pe...
I tried several methods using the BroadcastReceiver, most of them worked in versions 7 and under. But none of them throws the incoming sms message, does not yield any results., Some solution.
How can I make a copy of an object or a javafx node? specifically of the SubScene class.
I have tried with the Cloneable interface and also with this library link , none of them worked for me.
Doing it with an fxml file is not an option....
I get this error The import javax.faces can not be resolved, I already have the libraries added in the build path, download the libraries 2.2 does anyone know why the error?
Good to make the question less confusing I'll say that I have a jpanel form, two jframe form, jframe1 and jframe2.
In the jframe1 I use this code for flames or insert (I do not know how to express it) the jpanel form with button:
Panel pane...
I got the error error: incompatible types: android.provider.ContactsContract.Profile cannot be converted to com.---.---.Profile and I spent some time thinking how to solve it, but I can not find the problem.
The line that is failing m...