Java
Welcome to the portal about Java.New Topics
Java: Swing application should use operating system theme
When I create a program using Java, the Widget Toolkit "Swing" is used for the GUI. The problem is that you can see that your app has this typical...
Question | 1 Answer
Java: IntToStr - Convert Integer Number to String
I would like to carry out a conversion of an integer number to a string in Java in order to be able to output the number. I know the function...
Question | 1 Answer
Java: Convert String to Integer
Is there any possibility to change or convert a string into an integer value in Java? I have some user inputs that are naturally only available as...
Question | 1 Answer
Java: How to create an Array
What can I do to just create a simple array using the programming language Java? I am coming from other languages and I have tried a lot, but I...
Question | 1 Answer
Java: Integer from String or default Integer as Result
I would like to extract an integer value from some user input. The user input is in string format, but I want to convert it so that the input is...
Question | 1 Answer
Java: Check if String only contains Numbers
Is is there any possibility in Java to determine whether a string only contains numbers (digits from 0 to 9)? I would like to test some user input...
Question | 1 Answer
Show more
New Answers and Comments
Computer Expert: To get the look and feel of your operating system in your Java program, you can use the following code right at the beginning of your main: public...
Question | Java: Swing application should use operating system theme
Progger99: Like so often in life, there are several ways to reach your aim. Here are three examples: int i = 123; String s1 = String.valueOf(i); String s2 =...
Question | Java: IntToStr - Convert Integer Number to String
Stefan Trost: You can use the function Integer.parseInt() for that purpose. This function returns an integer value for a given string. For example: int i =...
Question | Java: Convert String to Integer
Computer Expert: If it is very important for you to use unsigned integers in Java, you can also use an external library such as Guava.This library contains (for...
Question | Java: Declare unsigned Integer
Stefan Trost: In Java, there are several possibilities to create an array.One-Dimensional Arrays Here is an example for an integer array: int[] intArr1 =...
Question | Java: How to create an Array
Progger99: Of course, you can quickly write such a function on your own. It can look like the following (the first parameter is the string, the second parameter...
Question | Java: Integer from String or default Integer as Result
Show more
Popular Topics
Java: Smaller/Larger Comparison of Strings - The operator > is undefined for the argument type(s) java.lang.String
Question | 1 Answer
Java: Declare unsigned Integer
Question | 2 Answers
Java: Case Insensitive Equals - String Comparison
Info | 0 Comments
Java: Split at point str.split(".") does not work
Question | 1 Answer
Java/Android: String comparison s1==s2 does not work
Question | 1 Answer
Java: IntToStr - Convert Integer Number to String
Question | 1 Answer
Java: Keep empty fields in Split-Array
Tip | 0 Comments
Participate
Everyone can participate in Askingbox. Open your topic directly in this category: