32,204 Topics
| |
Hi all, Could u pls tell me where can i get the full Source code for a user ctrl simple line chart in applet. I have tried in google also but i cant get the exact full source code which ll work. Kindly let me know specific link for tat … | |
hello tnx everyone this forum really helps me sometimes! can someone please tell me how i can convert a double number to nearest integer number? | |
Hello Is it possible to insert background image and colour in j2me without using canvas... we can create image using Image.createImage() bt it not work as background image.. plzz help | |
Doing a System in Drupal - coding with php and mysql - want to know how i can integrate jasper reports to it so i can generate reports at the click of a button.. does anyone know? please help.. | |
G'day, I'm obtaining a set of data from the DB. I know that i must use an array, however i cannot for the life of me remember what type of array i need to use. My data set contains String, Double and datetimes. Should i use an arraylist ? or … | |
I am instantiating an object of one class with aanother class.. here is how the line is.. Class1.method1(); where method1 goes something like this .. method1(){ Class2 c = new Class2(); } After creating the c object of Class2, is there anyways i can know which class instatiated it(Can i … | |
I need to make my popup class observable and the main frame class observer. When the user clicks the ok button on the popup, I need the string from the popup's textfield returned to my main program. Main fram class. [CODE] import javax.swing.*; import java.util.*; import java.awt.*; import java.awt.event.*; public … | |
Hi I am in my final year of a Software Engineering degree and will be shortly starting my final year project. However I have not yet decided on a title for my project. I have recently been looking at neural networks and find the topic very interesting. However as I … | |
I need to write a program, which shows the different combinations in which matrices can be multiplied. The output should look like below : When there are two matrices multiplied there is one combination (XX) When there are three matrices multiplied there are two combinations (X(XX)) ((XX)X) When there are … | |
Hey, netbeans is giving me gray hairs with the localization wizard. First up, how can I completely remove a localization or resource bundle, now when I delete the file in the projec tree, it pops up right back up when I write the names of the components again. Second why … | |
Can anyone help me fix this problem I have with my code. I am supposed to be writing a Binary Insertion Sort method that calls a binary search method. I have code that is working for in order integers, when tested on reverse order integers it works except it places … | |
Hi, I'm working on a game for a homework assignment. We are a group of 4 and basicly got the game running now, but we got issues with the rendering/drawing. I use BufferStrategy to get double buffering, and i have a custom draw-loop in a canvas. What this does is … | |
Dear All, I would like to change the content pane of frame after pressing a button by the method: frame.setContentFrame(newContentFrame); However, after press the button, the Frame is frozen~~ How can I make it work? THANKS A LOT~~ [CODE]import javax.swing.*; import java.awt.event.*; public class Test{ JFrame main; JPanel panel1; JPanel … | |
Hi, In my application I am able to get logged in userid in profile tab page. I want to call a java script function in profile tab page to get dynamic data. Can I call a java script function in profile tab page? I want to call that js function … | |
I have been asked to write a public method called Caught() which takes a single argument of type LittleAlien and returns no result, for the AlienGame class. The method should check whether the argument occupies a stone corresponding to the stone occupied by the BigAlien. If so, the health of … | |
I´m sorry if I haven´t investigated enough but I´m not quite an expert in hibernate and I´m tired of looking for something that won´t really solve my specific problem. What I mean is that I am a bit short of time. I have a User class that represents every single … | |
Hi, I wanted help implementing how to count vowels and preposition in a text file..this is what i have for counting words, the other are blank because i simply can't get it to work..Help is greatly welcomed.. [CODE]import java.io.*; public class FileIO { public static void main(String[] args) throws IOException … | |
I can open .xls file with Desktop class. then edit something in the file. then save and close but. but next time when i open the file again it open previous one not updated if didn't i save it in different place. .I cant get any column/ value from the … | |
hello, I'm using eclipse platform to try to transfer file using Java mail API, but facing the following exception java.lang.NoClassDefFoundError: com/sun/mail/util/SharedByteArrayInputStream I know this is a common problem, but i've tried all possible measures to get rid of this exception here's what i tried * I downloaded javamail-1.4.3 from sun … | |
hi all, i cant able to open some applications like word,excel,adobe indesign,xml through java. and i used Runtime.getexec(); code but here when we run the program the application is automatically opening. i dont need to open on execution of the program. and also at the same time i want to … | |
I have create a class called Airline Reservations and I have all my codes by I am having trouble assigning seats in the plane and need some help. Please help. | |
[CODE] private Map<String , String> c = new HashMap<String , String>(); .... //regx to get mString c.put(mString.group() , mString.group()); ..... //regx to get mNumber c.put(mNumber.group() , mNumber.group()); ....... Set set = c.entrySet(); Iterator i = set.iterator(); while( i.hasNext() ) { Map.Entry me = (Map.Entry) i.next(); System.out.println(me.getKey() + " : " … | |
i need a little help here, what i need to do is create a ticket purchasing page where once the user has made a selection he/she is prompted for amount .And to pay that amount buttons are used .every time a button is clicked the amount reduces. I also need … | |
Sorry for thee length but i have seven classes for this program. I took several functions and modified them to create a gui interface. I created a JFrame with 4 tabs that contain text only, then i have a 5th tab that has functional JButtons that when selected should prompt … | |
Hello, I am working on a A* Search Program using a MinHeap in order to get the lowest F(x) valued nodes, however, I am not sure why my MinHeap starts going crazy. I tried the MinHeap Code alone, and it worked fine, but when I run it together with the … | |
If I want to write a program that implements remote control of a computer over the internet. What programming knowledge do I need? How should I go about doing that? Any literature you want to recommend? Thank you very much!:) | |
Dear friends, I am interesting in doing a project using 56K voice modem(normal modems that comes with pcs) to dial connected PSTN. After other party left the receiver, I am hoping to play a music or recorded voice clip to listen to them with the response of therm. Java is … | |
I have having problems figuring out how to get this code to run properly. I cannot seem to get my do-while loop in the main method to repeat. Also, I am having issues with my getConsonants method. It seems to always count 1 less than there actually is. Lastly, not … | |
I was just wondering if it were possible to link a sound to an option selected in a scanner class in java? For example: [CODE]import java.util.*; public class GameTest { public static void main(String[] args) { Game myGame = new Game(); Scanner myScanner = new Scanner(System.in); int size = 30; … |
The End.