Posts by LUIZ • 31 points
7 posts
-
0
votes2
answers91
viewsA: How to display Marker on the map according to the selected button?
I was able to find out by checking in Ricardo Lecheta’s book, on passing parameters between Activities (screens), follows the solution: Mainactivity archive: public class Main2Activity extends…
-
0
votes2
answers91
viewsQ: How to display Marker on the map according to the selected button?
I’ve researched and tried some alternatives, but I haven’t been successful so far. *I would like to display the "markers" according to the button pressed on the main screen. For example: A) button 1…
-
0
votes1
answer115
viewsQ: Error with Template
Please, could you help me!? The errors are for all the headers of the.cpp stack file that refers to.h. Involves using Templates. Battery code. h: #ifndef PILHA_H #define PILHA_H #include…
-
0
votes1
answer862
viewsQ: How to insert column titles into a jTable?
I couldn’t display the title of the chart, could you help? Obs.: I inserted it "JScrollPane scroll = new JScrollPane(tabela);" and "contentPane.add(scroll);" or "getContentPane.add(scroll)" as I saw…
-
0
votes1
answer372
viewsQ: How to start editing a Jframe by hand and continue the final adjustments by the Netbeans "dashboard"?
I was able to write the code or generate a new javaswing file + JFrame, but would like to do writing the code and continue editing with the "dashboard" without adding a "new file.…
-
0
votes1
answer1074
viewsQ: How to replace a middle character of a string and swap for two characters?
For example, Char s1 [ ] = "azul"; Char S2 [ ] = "z"; Char S3 [ ] = "PP"; Puts(s1); //azul Code to replace... Expected result: Puts(s1); //aPPul Note: I was able to change 1 character by another,…
-
2
votes2
answers1130
viewsQ: How to replace 1 bit of an integer without changing the other neighboring bits?
I want to change 1 bit and keep the same values of the other neighboring bits. The bit operator shifts to the left or right by changing the bit of 1 pair 0, but it changes the entire 8-bit sequence.…