Skip to content

checkbox appears when button pressed, java

My code displays a texture where you can type something in and than it should appear under the label with a checkbox. What I want is that the checkbox is only there if the title is set through the textfield. I couldn’t find anything on this topic just cb.validate(); but that didn’t really help me.…

How can I convert arraylist to arraylist

My goal is to find on which specific index is String from ArrayList and add them to new ArrayList, So if house is [0] than i want to return new ArrayList with integer. At the begging I have ArrayList like this Input : And I want to get new ArrayList like this Output: Answer You can do it just by

About Dell server’s virtual terminal

(I haven’t ssh password T_T) When I try to start virtual terminal from Dell server panel ,The server give me a file:”viewer.jnlp…”. I run this file by javaws.exe and it has some error: Unsigned applications requesting unrestricted access to the system The following resources have been …

Java Design Pattern (Orchestration/Workflow)

I need to automate the workflow after an event occurred. I do have experience in CRUD applications but not in Workflow/Batch processing. Need help in designing the system. Requirement The workflow involves 5 steps. Each step is a REST call and are dependent on previous step. EX of Steps: (VerifyIfUserInSystem…

JButton text changes on its own?

The following simple code: can always reproduce the same bug (at least for my setups, which are given below). The program is supposed to change the button text, according to the text-field’s text, when the button is clicked. The problem is that the text of the button reverts/changes back to its previous…

Level calculation

somehow I can’t think of a solution to a problem that is actually quite easy. It’s about a level system where I need a kind of formula that is very simple but I can’t think of it. I calculate the level from the experience points and there you need e.g. for level 1 1.000 EXP, for level 2 3.00…

Base 64 decode to String not as expected

I have a String that I want to decode to a binary object (BigInteger or its String) Say for instance I got the String An now I want to decode it using the Base64.getDecoder() method, such as: According to that, the value of result is 1011010011000100110000001100010011000000110000001100010011000100110000001100…