Posts by ADayan • 35 points
2 posts
-
0
votes1
answer448
viewsQ: How to initialize a blank Jpanel?
I’m starting to work with the package swing and manipulation of events and I came up with an idea to test some program that would create rectangles of random sizes and colors. Code creation and…
-
3
votes1
answer642
viewsQ: How to format a number for String by placing points "."?
I was trying to format a number by placing stitches to make it easier to read. But with the dot it doesn’t work, but it works with commas. Ex: String s = String.format("%. d", 123456);…