32,199 Topics

Member Avatar for
Member Avatar for c.pentasuglia

Really any ideas will help but id like to try and make the game hangman. id like to mak it simples in a gui(i dont really need the image of the hangman) but id like to atleast have it show all the letters and make them dissappear as they guess …

Member Avatar for adams161
0
97
Member Avatar for nillsource

Hi, I nead to do some menu in gui Netbeans. I have got buttons, and a nead to change one JPanel in witch is some others components. Could you help me how to change JPanels? or some another way to do menu? i'm not good at it :(

Member Avatar for javaAddict
0
122
Member Avatar for Izzywizz

Hello I am a fairly new to Java, below I have created a program for calculating the distance between two cites that is inputed by the user. For the second part of my program I need to have a menu system and the constant SPEED value to change according to …

Member Avatar for Izzywizz
0
132
Member Avatar for kolibrizas

As i paint any figure in Java, the lines don't look smooth and I clearly see pixels. Any not very difficult solutions?

Member Avatar for kolibrizas
0
111
Member Avatar for divya2909

hi everyone divya hea..i'm new to java..i gotta do a inventory project in java..i've been told its simple..but i just dont seem to know how to do it..pls help..:Spls someone submit the code..i've attached the project details as images pls jus c it..thnx

Member Avatar for divya2909
0
73
Member Avatar for Nightryno

Hello, I've worked on some code for a project I have to do but I'm a little unsure about a few parts that I was hoping somebody could provide some clarity on. Here is the project that I'm working on with the code and question on it to follow: Write …

Member Avatar for GTJava
0
163
Member Avatar for topest1

Hello all, I m a newbie in java, I m writing code to change the text of the JLabel on the mouse over to the JButton I m facing some problem in Updating [B]Initial Label:[/B] [ATTACH]12891[/ATTACH] [B]After setText:[/B] [ATTACH]12892[/ATTACH] label.setText(); It doesn't update properly New text gets overwritten on old …

Member Avatar for topest1
0
593
Member Avatar for musthafa.aj

i successfully edited windows registry using java API... BUT THE PROBLEM IS whether i need to reboot os or not... because after editing it has no effect... if i need to reboot then how can i skip it(i strictly dont like to reboot...)... any java snippet available,, plz....

Member Avatar for kdkanishka
0
180
Member Avatar for cms271828

Hi, I'm building an application and I want to it to play mp3 files. I have it working, basically by installing JMF2.1.1e, and then I add its jmf.jar file to the build path of the project within eclipse. When I then jar up the project, and place on desktop, it …

Member Avatar for mlikesit
0
462
Member Avatar for aakaashjois

Can anyone mention all the math functions i require for making a scientific calculator. I am making a CUI version of it (The one which is opened in cmd).

Member Avatar for kdkanishka
0
120
Member Avatar for SORelena

please help me ^_^ I want using thread in this program but I don't know ..?? ____________________________________________________ [CODE]import java.util.*; import javax.swing.*; import java.awt.*; import java.awt.event.*; //------------------------------------------------------------------------------------------------ public class MyApp extends JFrame { // Data static boolean stopped = true; // Is the counting stopped? (True or False) --> shared variable …

Member Avatar for SORelena
-2
100
Member Avatar for bonzi200x

I need to implement a huge array of 2100000 integer elements. I have to find duplicate elements in this array which means there will be lot of search. Can you please suggest me an efficient way to implement this? What collection to use and how to search.

Member Avatar for JamesCherrill
1
109
Member Avatar for may781

Hi I am very new to java as its part of my course and I am stuck I have written part of this basic code below [code] import java.util.Scanner; import java.io.File; import java.io.IOException; import java.awt.image.BufferedImage; import javax.imageio.imageIO; import.java.awt.Color; public class FinalExam { public static void main(String [] args) throws IOException …

Member Avatar for javaAddict
0
103
Member Avatar for Solani

Hi, I was just wondering why my program wouldn't output the elements that I entered. Thanks in advance. [CODE]//Scanner utility import java.util.Scanner; public class A4 { public static void main(String[] args) { //Reads user input. Scanner inputReader = new Scanner(System.in); //Declares an array,size of the array is 10. int[] elements=new …

Member Avatar for masijade
0
114
Member Avatar for adams161

I was planning on releasing the source of my applet but I wanted to wait till i was done to do that. It got decompiled before i was ready. Is there any practical way to prevent decompiling? i googled and all the articals said how easy it is to decompile …

Member Avatar for dleskov
0
90
Member Avatar for lil_panda
Member Avatar for gregoryalussier
-1
718
Member Avatar for jehad

hi i am not famelier with this site and i dont know how to ask for help i want to implement breadth first and depth first search for solving 8 buzzel problem may you help me?

Member Avatar for kvprajapati
0
123
Member Avatar for soeppp

Hi all..i make a program use javascript to call VB.Net function..but it doesn't work...can somebody help me to check this code... [code=vb.net] Imports System.Runtime.InteropServices <ComVisible(True)> _ Public Class Form1 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load WebBrowser1.ObjectForScripting = True WebBrowser1.DocumentText = "<Script language='JavaScript'>" & vbCrLf …

Member Avatar for shazi786
0
137
Member Avatar for intelnf09

Hello I have an assignment that is due and am in need of some dire help. I would appreciate all the help that I can get. Please bear with me. I am new to Java and Daniweb. I have to create a java application that displays the product number, product …

Member Avatar for intelnf09
0
1K
Member Avatar for sah701

Hi all, I'm a computer science student in my last year. I need an idea for my graduation project. I prefer JAVA as a programming language. I'm trying to implement a web browser but I think a web browser is a traditional idea so I am looking for a new …

Member Avatar for peter_budo
-1
31
Member Avatar for xen2676

I have to write a class names Hexagon that extends the superclass GeometricObject. This is what I have could anyone help me pleas? [code] public class Hexagon extends GeometricObject{ private double side; /**Construct a no args constructor with a defaukt side*/ public Hexagon(){ //Implement it } /**Construct a Hexagon with …

0
39
Member Avatar for farag
Member Avatar for Katark

Hello, Im studying java in high school. Im building a project that containts ZBuffer so I have a problem impleting it with 3D models cuz I have a problem getting all of the pixel in a face that is made of 3 dots could some one suggest an algorithim for …

0
52
Member Avatar for reyarita

enter 5 nodes if there is a number "3" entered, a number "4" is automatically inputed at the right side of number "3". if there is a number "2" entered, a number "1" is automatically inputed at the left side of number "2". can you help me dudes you see …

Member Avatar for BestJewSinceJC
0
76
Member Avatar for kekekerush

If this isn't the right place to ask about JVM, then please direct me to the correct place, thank you. :) Anyways, I was wondering about the arraylength command. Would I be able to use that in order to find the length of rows and columns in a predefined matrix? …

Member Avatar for BestJewSinceJC
0
91
Member Avatar for RoflNinja

Hello again, got another Java question. I am trying to draw an oval from the Alien class to the Canvas in the Game class. Here is the code [CODE]import javax.swing.*; import java.awt.*; /** * The Evil Ovals! * * @author Eric Foertsch * @version Nov 2009(1.0.0a) */ public class Alien …

Member Avatar for adams161
0
553
Member Avatar for Philip435

Hey I need some help with my java game Im making. I wont to have an menu with 4 options, startgame, highscore, option and quit. They quit button is easy I just setVisible(false) but when i click on the other buttons I wont to remove the buttons and include new …

Member Avatar for Ezzaral
0
114
Member Avatar for smoothe19

welll it is just a program that generates 2 random numbers for the user...the user inputs their answer and if it is correct it adds 1pt to their score. But then it is also supposed to generate a new problem, but I do not know how to code that in. …

Member Avatar for smoothe19
0
131
Member Avatar for smart.java6

Hi! Dear Friends.. Can you please help me to answer : Can mutation testing be successfully used in an industrial environment? Thanks!

Member Avatar for gusano79
0
75
Member Avatar for Nagarajan.M

please tell me the reason for the error.[code]new Double("25D"); // Ok new Long("25L"); // Error[/code]

Member Avatar for majestic0110
0
77

The End.