32,199 Topics

Member Avatar for
Member Avatar for ScubaSam

Can Someone please help i need to create a GUI out of this code for 24hours from now. Can someone please send me the code to create this gui. Its all coded in notepad. Thanks

Member Avatar for iamthwee
-2
148
Member Avatar for jemz

Hello can you help me please, Hi,.I Downloaded the Mysql community server and i installed it to my windows xp.The problem is i don't know how to set up the database.I want to use this in my program because i have never been using Mysql as my database i always …

Member Avatar for jemz
0
95
Member Avatar for harinath_2007

Hello.. I am in search of how to play a video in full screen java application. I already know how to play a video using the JMF. but i want to play the video in full screen desktop java applicaton ..

Member Avatar for JamesCherrill
0
622
Member Avatar for jwala

hello i am a computer engineering student...i want to do my mior project in java...i was thinking to do a project in "image processing + viewer" ....do u think java is an appropriate language for making a "image processor" ??? please help if u have any reference projects ,books or …

Member Avatar for \007
0
94
Member Avatar for jl.lakhnai
Member Avatar for sagngh8

have implemented robot to take the screenshot of the desktop. [code]Robot objRobot = null; try { objRobot = new Robot(); } catch(Exception ex) { } BufferedImage objBufferedImage = objRobot.createScreenCapture(objRectArea); [/code] The problem with robot is when my computer is locked the image comes as black.That is what is displayed in …

Member Avatar for turt2live
-1
427
Member Avatar for turt2live

Hello, I am trying to create a update section of a game but running into a problem of JFrames. What I want to do is have a single JFrame that will have the update script, then after the update it will start a jar file in the JFrame (With the …

Member Avatar for turt2live
0
184
Member Avatar for sariberri

This is just a small snippet of my program but it's a gui and the criteria is when the Open option comes up the user can select a text file that contains the data that is going to be loaded into the JTable. My code only places the first line …

Member Avatar for quuba
0
150
Member Avatar for I<LateNupurGuha

[INDENT]What is the [U][B]file naming[/B] conventions[/U] [I]to compile and run the programme[B]([/B]application[B])[/B][/I] if there [COLOR="Green"]exists[/COLOR] [COLOR="Red"][B],[/B][/COLOR][/INDENT]:icon_rolleyes:[LIST=1] [*]No class in a package; [*]One class with default accessibility in a package; [*]Many classes with default accessibilities in a package; [*]Many classes with default accessibilities and one class with public accessibility in a …

Member Avatar for sneaker
0
171
Member Avatar for arshi9464

i was using mysql to connect to database in java. but it is throwing an error that is" access denied for use' '@'localhost' to database 'onlinetest' while installing mysql I DIDNT PROVIDED ANY USERNAME AND PASSWORD, IS THERE ANY PROBLEM WITH USER AND PASS AND WHAT TO WRITE IN USER …

Member Avatar for masijade
0
78
Member Avatar for solomon_13000

My question is why (i1==i2)=false,(i3==i4)=false and (i5==i6)=true? [CODE] public class comp { public static void main(String[] args){ Integer i1 = 2001; Integer i2 = 2001; System.out.println((i1==i2) + " " + (i1.equals(i2))); Integer i3 = 21; Integer i4 = new Integer(21); System.out.println((i3==i4) + " " + (i3.equals(i4))); Integer i5 = 21; …

Member Avatar for jon.kiparsky
0
155
Member Avatar for kwins

hi i really need your help i'm a beginner in java and we're having this homework here is my code its not complete and there is error please help me solve this one :( tell me what to do [CODE]import java.io.*; public class hangukFishShop { public static void main(String[] args)throws …

Member Avatar for jon.kiparsky
0
236
Member Avatar for bibiki

I have been thinking of making a graphing calculator for practice. However, I do not know how to assign to a variable an expression. What I exactly mean is: let's say x is a variable, and y a function of x. I can just define the function inside the code, …

Member Avatar for bibiki
0
115
Member Avatar for Bahubali

Getting the FileNotFound exception: java.io.FileNotFoundException: C:\Documents and Settings\User\My Documents\NetBeansProjects\MyApp\src\java\source\downloadfile.txt (The system cannot find the file specified) java.io.FileInputStream.open(Native Method) java.io.FileInputStream.<init>(FileInputStream.java:106) java.io.FileInputStream.<init>(FileInputStream.java:66) source.download.execute(download.java:25) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:597) com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:441) com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:280) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:243) com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:165) com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237) com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:252) org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:68) com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237) com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(ConversionErrorInterceptor.java:122) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237) com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:195) com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237) com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:195) com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237) com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticParametersInterceptor.java:179) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237) org.apache.struts2.interceptor.MultiselectInterceptor.intercept(MultiselectInterceptor.java:75) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237) org.apache.struts2.interceptor.CheckboxInterceptor.intercept(CheckboxInterceptor.java:94) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237) …

0
51
Member Avatar for hamzamuradkhanh

Sir, I want to develop a internet booster software that boost the speed of internet from original speed to high speed.please tell me how internet booster works and which language i should use?

Member Avatar for jwenting
0
115
Member Avatar for pardeep3dec

Dear Experts i want to know about the date schedule and syllabus for SCJP exams of java. Kindly provide me link to scjp. Best Regards, Pardeep

Member Avatar for jwenting
-2
113
Member Avatar for solomon_13000

Why is the value 22 created for the code below? [CODE] public class Pregnant extends Thread{ int x = 0; public static void main(String[] args){ Runnable r1 = new Pregnant(); new Thread(r1).start(); new Thread(r1).start(); } public void run(){ for(int j=0;j<3;j++){ x = x + 1; x = x + 10; …

Member Avatar for masijade
0
126
Member Avatar for AnkitKumar

anybody tell me that java is object oriented or not . some people says that java is pure object oriented or some says it is not object oriented.

Member Avatar for jwenting
1
322
Member Avatar for apanimesh061

This is program that return a concatenated string to the main() [CODE] import java.io.*; class ConCat { public static void main(String args[]) { String a, b ,c; a = "Animesh "; b = "Pandey"; c = concat(a, b); System.out.println(c); } } static String concat(String s1, String s2) { String C; …

Member Avatar for jon.kiparsky
0
169
Member Avatar for rosey_fci

hi every body I have a problem I want to use the value in a table in other table I mean set the value from other table to the table I want can any one help me!!!

Member Avatar for mKorbel
0
38
Member Avatar for Gata_Salvaje

Hi ,There I hope you can help me with this I need a Java algorithm to help me find how much % is string A relevant to String B Example : String A => Java ,C++ ,C# ,Assembly String B => java ,c++ then Result should be => 50% relevant …

Member Avatar for ztini
0
4K
Member Avatar for 24x24

This is homework. Please do not write my code for me. I did look for this but only found things related to buttons or making a background, none of which had the answers I needed. I have been working on a game. The game has some images floating around and …

Member Avatar for mKorbel
0
160
Member Avatar for komyg

Hi, I am developing a Java SE console application that needs to connect to a web page, get its contents (using HTTP GET) and get the value of a timer that was written in Javascript. If we take [URL="http://www.elated.com/res/File/articles/development/javascript/creating-a-javascript-clock/clock.html"]this[/URL] example page for instance. When I retrieve its contents using HTTP …

Member Avatar for NormR1
0
288
Member Avatar for Sekhrian

Hi guys! Can anyone provide an accurate code for me to do this please. I'm not having any luck finding particular codes on Google that work.

Member Avatar for Sekhrian
0
182
Member Avatar for sneaker

I just bought and read Jim Waldo's "Java The Good Parts". (ISBN 978-0-596-80373-5) It is a very interesting book that gives you insight in what happens under the surface. This is not a book about learning how to program in Java. It is rather a book for those who have …

Member Avatar for sneaker
0
563
Member Avatar for 24x24

I wasn't sure if this should go in games development or here but it's java so I put it here. This is homework so please don't write my code for me. My assignment is to create a game. It has to have moving parts, keyboard controls, buttons, the works. I …

Member Avatar for 24x24
0
381
Member Avatar for luisthedude

I'm trying to launch an .exe from a JButton on a java Jframe, any1 knows how to make it execute. [CODE]private void OKButton3ActionPerformed(java.awt.event.ActionEvent evt) { // TODO add your handling code here: } [/CODE]

Member Avatar for harinath_2007
0
112
Member Avatar for harinath_2007

Hello.. I am in search of how to play a video in full screen mode using java. I know how to play a video using the JMF. but i want to play the video in full screen desktop java applicaton .. Any solution....?

0
58
Member Avatar for saurabh2007

I am running into an error with NoSuchElementException, Please help! Here is the error: Exception in thread "main" java.util.NoSuchElementException at java.util.Scanner.throwFor(Scanner.java:838) at java.util.Scanner.next(Scanner.java:1461) at java.util.Scanner.nextInt(Scanner.java:2091) at java.util.Scanner.nextInt(Scanner.java:2050) at Project.answerKey(Project.java:292) at Project.findMyAvg(Project.java:344) at Project.printMyResults(Project.java:269) at Project.printHeader(Project.java:203) at Project.main(Project.java:30) The code at line 292 is: [CODE]answer[count] = inScan.nextInt();[/CODE] the method is: [CODE] …

Member Avatar for NormR1
0
513
Member Avatar for gomonkeyninja

Hi, I'm a beginner with Java and I need help with an assignment: Write a program that will help the Toronto Blue Jay's scouts decide which players they should draft next year. For each player the scouts have been watching, a record has been prepared showing the player's name, age, …

Member Avatar for bibiki
0
368

The End.