No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Hello everybody, I have some problems with my school assignment. I need to display a picture in a jlabel and i have already some code. Can someone give me some advice how i could get it to work. Thanks in advance. Greetz MeandJava [CODE]import java.awt.*; import java.io.*; import javax.swing.*; public … | |
Hello everybody, I'm trying to make a connection between my mobile and my pc. Im using J2me midp 2.0 to create my code. The jar of my mobile wants to make a connection to the bluetoothaddress of my pc. My mobilecode is based on a MIDlet. But everytime the connection … | |
Hello everybody, I have a xml socket server which get data from xml sockets out of actionscript3. Now I'm having a lot of if statements. Can I use another way to make my code more clean? Ivibot is a piece of hardware my school provided. LedBlink is a runnable class … | |
Hello everybody, I have a task to let an engine run. Now I want it to program that it runs once for 60 seconds and then stops. How can I do this? Timer is not an option because it don't need to repeat. Thanks in advance for your answers :) … | |
Hello everybody, I am working on a school project now and I want to have a blinking LED. The piece of hardware we use is not familiar because it is designed by school. I have the methods to put on the led and to put off, but can't get it … | |
Hello everybody, My team and I have an idea of a product to develop. It's a kind of game we want to run in Actionscript. Unfortunately our hardware (buttons, lights, maybe sounds) works with Java can we combine those two or do we have too choose one of the languages? … | |
Hello everybody, For a school assignment I need to save images to .ser files. Could someone explain me how i get it succesfull. The program itself creates a .ser but the content is useless (¬í NUL ENQ). Thanks in advance :). This is the method i came up with: [CODE] … | |
Hello everybody I have a problem with my code. On two lines (14 & 17) I get this error: cannot return a value from method whose result type is void. But I don't have add void to my class. Thanks in advance. Greets MeandJava Here's my code: [CODE]package oop_po2; import … | |
Hello everybody, I'm stuck with my Java program. This is the point. When a user had tried for nine times, the user has the choice to restart Hangman or close the program. But when they hit the y or n key during the game, it's just one of the 26 … | |
Re:
i want to make my java project with Jmonkey, is it easier than using eclipse alone? | |
Re:
[B][COLOR="Red"]guys help me if these code is correct [/COLOR][/B] [CODE=java]import javax.swing.*; import java.awt.event.*; public class SampleCalc extends JFrame implements ActionListener{ JTextField txtNum1 = new JTextField(); JTextField txtNum2 = new JTextField(); JButton btnAdd = new JButton("+"); JButton btnSub = new JButton("-"); JButton btnMul = new JButton("*"); JButton btnDiv = new JButton("/"); … | |
Hello everybody, This is my first time on this forum. I started this year with a study, where i learn Java. I'm from the Netherlands, so some names in the classes you may not know. I have a problem with printing out a few arrays of P in the class … |