32,199 Topics

Member Avatar for
Member Avatar for qacompenguit

Hey guys i'm new to java and this is the first time i'm posting a question on daniweb so please bear with me ... I have made a quiz for a school project and its almost done save a high scoring mechanism. What i want is first ask the user …

Member Avatar for PoovenM
0
2K
Member Avatar for Mr.UNOwen

Hello, I'm creating a program that will be dealing with multiple objects that extend Applet and a JFrame that will be displaying them. I created a test that swiched off between two applets I made. While I was creating the test, I noticed some things and have few questions regarding …

Member Avatar for ajaypatel
0
705
Member Avatar for mexaros

I am recently out of college and two friends and I have decided started creating a system for a law firm. One of our objectives is to create a file type for this system that is encrypted until a password is entered when accessed outside of the system(ie if they …

Member Avatar for jwenting
0
112
Member Avatar for the.alchemist

Hello, I'm currently developping a GUI OpenVPN wrapper in Java ( platform is WinXP ). I'm having a problem when I launch OpenVPN using Java Runtime.getRuntime().exec(), a problem I have been trying to solve for the 2 past days but in vein :yawn: Here is the code I'm using to …

Member Avatar for obdobion
0
233
Member Avatar for AceKnocks

I have been given this interface, [code] interface BinarySearchTree { public void insert(Integer data); public int size(); public int height(); public boolean contains(Integer target); } [/code] and I have to implement BST with all these functions. I have implemented the first insert and size like this way - [code] class …

Member Avatar for Narue
0
860
Member Avatar for tactfulsaint

I need a full code snipet. I have a this Applet thats all about selling music online but want a code to enable me play a song in the app. Would appreciate a lil help Thanks..

Member Avatar for Ezzaral
0
83
Member Avatar for MxDev

hi guys, i'm asking how to clear the system clipboard, by means there's nothing to paste it from the clipboard after you finishing copying a file..... how to acheive this in java... thanx.

Member Avatar for jbennet
0
116
Member Avatar for new_2_java

Hi all, In my project I have several classes. In some of my classes, I have to use an instances of my other classes. When I compile my class, which has a reference to another classe, it gives me an error. like this. [code] C:\MyProject>javac SomeClass.java SomeClass.java:9: cannot resolve symbol …

Member Avatar for new_2_java
0
108
Member Avatar for bops

As part of my University coursework I have to implement a simulation of a desert island with 2 sharks swimming around it in opposite directions and when a button (I have chosen the island) is clicked, the sharks should change their direction. As of now I have 2 sharks (cones) …

Member Avatar for bops
0
129
Member Avatar for babyfrostie

how can i bubble sort a txt file with some text in it? and then an output txt file should be created to show how much time the bubble sort took to finish the job... thanks..

Member Avatar for PoovenM
0
134
Member Avatar for onsir

hi, help me, how to make limit input only two decimal, i used jformattedtext. example : if i input more than two decimal in jformattedtext, then it can't and automatically delete by backspace. thanks for your help.

Member Avatar for PoovenM
0
182
Member Avatar for mamanbeti

want to know what u thing??? name: sara name:miky name:ducky code:1345X code:2238Y code:7569Z IF THE USER ENTERS WRONG NAME THE SYSTEM ASKS TO RE-ENTER. THE SYSTEM ONLY ALLOWS THREE CONSECTIVE ATTEMPTS.AFTER CORRECT NAME ENTERED THE SYSTEM ASKS FOR ALPHANUMERIC CODE WHICH AGAIN SYSTEM ALLOWS ONLY THREE CONSECTIVE ATTEMPTS. IF THE …

0
76
Member Avatar for MxDev

hi guys, what is the difference between the Window and JWindow classes and Frame and JFrame in java thanx.

Member Avatar for Ezzaral
0
90
Member Avatar for shimul_13

Hi I am new in java. It is quite hard to code cpu scheduling algorithm SJF(preemtive and nonpreemtive) with a class pcb, ready queue.Thanks all.

Member Avatar for jwenting
0
97
Member Avatar for TankMontna

Im trying to move an object, but I want the object to move every couple of seconds. I heared of the java script "time" or "timer" But im not sure how it goes.. Thanks,

Member Avatar for Ezzaral
0
247
Member Avatar for mamanbeti

hi thankyou very much to the person who replied me. you have asked for the combination the combinations are: name: sara name:miky name:ducky code:1345X code:2238Y code:7569Z IF THE USER ENTERS WRONG NAME THE SYSTEM ASKS TO RE-ENTER. THE SYSTEM ONLY ALLOWS THREE CONSECTIVE ATTEMPTS.AFTER CORRECT NAME ENTERED THE SYSTEM ASKS …

Member Avatar for mamanbeti
0
96
Member Avatar for PL.P27

Hi everybody. First of all thanks for taking the time to read this. I'm having a problem with initializing the buttons and adding them to JPanel. The problem is with everything else I have I'm trying to add the buttons in initButtons(); to the JPanel but I can't seem to …

Member Avatar for PL.P27
0
170
Member Avatar for snitch321

does anyone know how to fix the problem here;(it says 'Public void input(int)' that line has a problem? /** * Write a description of class randommizer here. * * @author (your name) * @version (a version number or a date) */ public class temperature { private int input; /** * …

Member Avatar for snitch321
0
94
Member Avatar for snitch321

sry to those whose tried to help before and would thank anyone who knows how to move the different shapes of my project to gether at the same time, so it looks lik balloons flying? could anyone help? /** * draw a balloon on to a canvas * * @author …

Member Avatar for snitch321
0
1K
Member Avatar for arunpawar

This sounds absurd to some developers here cause you'll say just create jar file and distributre to usr but sometimes there is not possiblity of having runtime environment in windows computers.So if we can bundle the enviroment and the setup together then packing into exe and then distribute like most …

Member Avatar for masijade
0
206
Member Avatar for sara_84

package dex.compiler.parser; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.List; import dex.compiler.model.base.Place; import dex.compiler.model.expression.Call; import dex.compiler.model.expression.DirectCall; import dex.compiler.model.expression.Expression; import dex.compiler.model.expression.IdentifierExpression; import dex.compiler.model.expression.Infix; import dex.compiler.model.statement.Assignment; import dex.compiler.model.statement.Block; import dex.compiler.model.statement.CallStatement; import dex.compiler.model.statement.CatchBlock; import dex.compiler.model.statement.Comment; import dex.compiler.model.statement.Declaration; import dex.compiler.model.statement.DecrementStatement; import dex.compiler.model.statement.ForStatement; import dex.compiler.model.statement.IfStatement; import dex.compiler.model.statement.IncrementStatement; import dex.compiler.model.statement.ReturnStatement; import dex.compiler.model.statement.Statement; import dex.compiler.model.statement.SwitchCase; import dex.compiler.model.statement.SwitchStatement; …

Member Avatar for peter_budo
-1
82
Member Avatar for ceyesuma

Can any one look at the error message and give me an idea of how to begin to resolve it? Thanks Cannot add Jar dist/ContacApp.jar to this module as it is. Make a library wrapper module for it and add that as a dependency. I am using netbeans and adding …

Member Avatar for ceyesuma
0
69
Member Avatar for slayer10

ok i dont know if this is really java but if looking for a good java flash tutorial and possible download (if necessary), plz help

Member Avatar for slayer10
0
56
Member Avatar for freddiecool

Hi can anyone help me i get an illegal start of expression public static void main everytime i try to compile.My code is below. Thanks... public static void main (String []args){ PrylDialog pd=new PrylDialog(); System.out.println("Welcome!!!!! "); int option=0; do{ option=pd.kommando(); switch(option){ case 1:pd.skapaPerson(); break; case 2: pd.skapaPryl(); break; case 3: …

Member Avatar for freddiecool
0
231
Member Avatar for sara_84

please, i need a java code that convert if statement to switch statement (Contrarily) and convert for statement to while statement (Contrarily). ( deal with nested statement)

Member Avatar for Jishnu
0
187
Member Avatar for hidash_in

i want to check the pid for a newly created process. i asked somebody they told to check it in the java native interface. but i didnt get the clear solution for this problem. can anyone is there to clear my problem..

Member Avatar for hidash_in
0
122
Member Avatar for PL.P27

Hi everybody. First of all happy new year to all. Secondly, I am 3 months into learning Java and GUI and I am having some trouble with comparing strings. I am doing hangman and I have a text field set up for when the player wants to guess the entire …

Member Avatar for rajatC
0
95
Member Avatar for mir12

Hi it would be great help if anybody can guide me through this Question Problem: Find the least cost path between two nodes in a graph. The input for building the node graph for the problem will be in the format as below. Enter Nodes and Weight (Q to terminate): …

Member Avatar for Duoas
0
129
Member Avatar for push

how to get output for this code. class a { public static void main(String args[]) { for (int i=0;i<args.Length();i++) System.out.println(args[i]); } } how can i give input for this code at netbean5.0

Member Avatar for Acidburn
0
87
Member Avatar for Phaelax

Any direction someone could point me in for auto-sizing only the last (right-most) column in a jtable? I want the user to be able to set the size of columns and be allowed to set them beyond the scrollable viewing area, but if the viewing area is wider than the …

Member Avatar for Phaelax
0
957

The End.