Posts by maxxzag • 111 points
5 posts
-
0
votes0
answers29
viewsQ: I cannot use [::1] on Docker using linux
I’m trying to run a container on the local Docker using the address: http://[::1]:31112/, but he can’t connect. If I use the addresses below, I can access: http://127.0.0.1:31112/…
-
-1
votes2
answers399
viewsA: Pick up quantity of entries inside the Joptionpane
I ended up developing the whole program this way: int n, s = 0, p = -1, i = 0, c = 0, m = -1, e = -1; do { n = Integer.parseInt(JOptionPane.showInputDialog(null, "<html>Informe um número:…
-
0
votes2
answers399
viewsQ: Pick up quantity of entries inside the Joptionpane
Hello, I’m having difficulty picking up the number of entries that is made by the user to then use them. Code: public static void main(String[] args) { // TODO code application logic here int n, s =…
-
9
votes5
answers8188
viewsQ: Best factor calculation algorithm
So I’m learning to develop in Java. The teacher asked me to develop a method for Factorial. And also show on the screen what is happening, for example: 3! = 3 X 2 X 1 = 6 In fact, I made it happen,…
-
1
votes2
answers334
viewsQ: CSS heritage in Divs
I’m having trouble editing some legacy Ivs. Let’s take a look at the example: This is the current code: <div id="conteudo"> <div class="titulo">xxx</div> <div…