guys i am working on a small software in which frame appear thats show a image that your drive c is damaged and than another frame by 6sec delay show a "just kidding" image.now i want to connect this program with my usb so that when ever i plug in usb the program automaticaly run and show the frame.is there any way to do this task.thanks
1) I would divide this project into two main parts. First is designing GUI in java.
2) And then make an autorun file, with some configuration, so that you can run the file you want.
Now lets concentrate on java part, in the GUI you need to display the picture. And for that, you can use "BufferedImage" and "Graphics". What I do to draw images on Java GUIs, is to make a big label and use the picture as an icon for that label.Once you have the picture use "Robot class" to get the delay and then you can use the image back.
Write a C program that should create a 10 element array of random integers (0 to 9). The program should total all of the numbers in the odd positions of the array and compare them with the total of the numbers in the even positions of the array and indicate ...
I have a 2d matrix with dimension (3, n) called A, I want to calculate the normalization and cross product of two arrays (b,z) (see the code please) for each column (for the first column, then the second one and so on).
the function that I created to find the ...