Posts by Heidy Miguel • 121 points
13 posts
-
0
votes1
answer43
viewsQ: Select only returns result in terminal
I’m having trouble understanding why the code below only returns result when executed in the terminal. I intend to return hash of the last id entered in the database connection =…
-
0
votes0
answers53
viewsQ: Dropdown-menu does not work. jQuery.js missing
Recently I was having trouble with my dropdown menu the menu does not drop when pressed. From the searches I did, I found that it does not work due to the lack of the file 'jQuery.js' in the js…
twitter-bootstrapasked Heidy Miguel 121 -
2
votes1
answer79
viewsQ: Explicit conversion with "static_cast" does not occur
According to the C++ How to Program, 8th ed., during the operation of two numbers (e.g.: 10/3) the fractional part of the resuscitation is lost before it is stored in the variable . For this to be…
c++asked Heidy Miguel 121 -
1
votes1
answer151
viewsA: How to see memory consumed by the web application?
You can use the Java Mission Control. An Oracle application that Server to monitor the performance of applications running on JVM. http://oracle.com/missioncontrol…
-
0
votes2
answers424
viewsA: How do I display a jPanel when I place my mouse over a certain region?
This effect you seek to achieve is easier to implement using Javafx because in it you can use CSS at the front-end. No CSS just use the property hover which is super easy and you don’t have to use…
-
0
votes4
answers634
viewsA: JPA List<Map mapping.. >
I had the idea to create a map for the options this way: Map<String, Map<String,Double>> opções = new HashMap(); This way you can specify the courses on the external map and on the…
-
2
votes1
answer117
viewsA: Capture Video and Audio
No! There is no way to do what you want without using a more appropriate API. Java does not provide the means to access the hardware.
javaanswered Heidy Miguel 121 -
-2
votes3
answers369
viewsA: Stringbuffer.equals and String.equals difference in Java
There is no difference because in both cases the method is the same. The method equals belongs to the class Object and both the class String and StringBuilder inherit the class Object. To overwrite…
-
1
votes2
answers195
viewsA: JDK Java EE 7 without Glassfish
From what I read in the downloads page Java EE 7 SDK is already included with the GlassFish but, this should not be a concern for you, since the choice of the server to be used is made at the time…
-
-2
votes4
answers599
viewsA: Program Locking in While
Your mistake has to do with logic. You did not guarantee that the variable line reach the value null therefore the while repeats indefinitely. You should do this at the end of the while, I added…
-
0
votes2
answers191
viewsA: java lib for hardware query
I think your best option is to take a C language library that does what you want, in this case, to have access to the hardware and use it in your Java project through a native call. On the Caelum…
javaanswered Heidy Miguel 121 -
6
votes1
answer340
viewsQ: What’s the difference between serialized and non-sserialized objects?
I know an object is serialized when its class implements the interface java.io. but I would like to know what it means that the object is serialized and what difference there is with another not…
javaasked Heidy Miguel 121 -
0
votes2
answers629
viewsA: Decrease space between two Jpanel in the netbeans prototyper
It has to do with the layout, as Joshua said. To add an appropriate layout: right click on the place where you want to place the Jpanels, choose set layout (as you want header and body) you can…