I am trying to keep an ordered list without repeated elements.
I have created a TreeSet, but I see that it inserts repeated elements and I do not see clearly why.
If I use TreeSet.contains () it does not detect it either.
Here the code
TreeSet...
Hi, I have a question about a JTable .
The program works by saving data of a product and then the list, but when wanting to modify by means of an external JFrame (that appears when pressing the EDIT button) I can not modify this data of the...
I have two TabView and the problem is that if for example I have a Toast in Tab2 when opening Tab1 is executed, how can I make it so that it does not "exchange data", that is, if I am in Tab1 or Tab2 th...
I have a app in android showing images with this plugin . The problem is that I have added a .htpasswd to protect the images and now it does not show them to me, I have added to the url the parameters user:passwor...
Hi, I have a socket project (practice for now) and the problem is that on the client side (in python) I do not know how to clean or simulate the output buffer of the socket. The first message is sent "correctly", since it is the first and there...
I have a server Mysql installed and started in Raspberry pi with local address 192.xxx.0.1xx connected to the network and from another computer I try to establish a connection with a Java program with this code:
public cla...
I have a Spinner with three positions 0, 1, 2 and what I want to do is create more positions with a list that I have in my Sqlite :
final List lista = mDatabase.ReadCategorias();
Activity
int flags[] = {R.draw...
I would like to format a string in Java .
Example, take the following string
hola munDO.
And let it be like this:
Hola Mundo.
The first letter of each word is capitalized.
I am trying to make a didactic software, to fill a Java arrayList with the data of a database table. I have managed to fill it so it seems, because the system.out.println shows me three objects that are the three objects that are in the d...
I have a Raspberry sending some data to my Android APP and the only way it works for me is the following APP:
public class MainActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {...