I need to identify any colour present on the ph screen. In order to do this I am opening the ph's camera on start up and then want to identify the colour present on the middle of the screen marked by cross hairs. To do this I need to divide the "SurfaceView" to pixels. Please help me with this.
I am using Netbeans for my current project. I require to update a jtable based on what the user selects from a JTree consisting of all the files in his computer. The problem is that this JTable is not getting updated.
I am creating a new model and adding it each time. When I say getValueAt(x,Y) from the new value, it is giving me proper updation but this is not visible in UI. Please help
My requirement is that there is a process which is taking place which takes quite some time. The process starts when a button is clicked. So when the button is clicked, I want to add a Label before the actual process starts to show that the process is in progress. But what i found is that, after the button action is completed only then the JFrame is updated with the label. Please help
I am trying to push installation apk's into an android device from cmd through java. I want to know how to set path to the adb from java to do the same. Can the adb be packaged along with the java project?
I am trying to install apk's into any android device. The whole software is supposed to run in any system. I do not want to install the entire sdk everytime but only the adb. All this I plan to run from java. Now my problem is I am unable to set the class path for this adb. Does it require the whole sdk to be installed?
I have a JTree and a button in the UI called up. When i select a node and say up, it is supposed to move that node up. The problem is that the first time it works fine but the second time that node disappears completely from the tree.