32,204 Topics

Member Avatar for
Member Avatar for njbst18

I'm new to creating jar files. I'm using JCreator and have set up the jar creation and the manifest using winrar and txt to get it to run. However if I run the .jar from anywhere other than the programs root directory all the images vanish. I have been looking …

Member Avatar for NormR1
0
743
Member Avatar for starkar89

i am developing mobile web app for conducting survey in html5. i need to save user responses in file preferably in csv format. How can do it. i am stuck with storing part.......... please please help me. I cannot use activex for dat purpose coz app needs to work on …

Member Avatar for Walahh
0
103
Member Avatar for Ricky116

Hello, I am trying to make a simple movie-managing application that allows the user to log into a particular username out of a list of usernames in a text file, and simply view information about movies kept in a text file. This is my first project, from which I would …

0
91
Member Avatar for osiron

Hey guys, I'm trying to create a iterative heapsort program and for some reason when I input 10 random numbers into the array, only 9 numbers are sorted. Here is an example of my input/output: Input: 45 15 2 44 30 83 30 86 66 49 // 10 random numbers …

Member Avatar for Taywin
0
142
Member Avatar for kovidd

i have recently started learning java .... i completed "head first java" recently ....it is just an intro to java . now i am looking to learn other aspects of java so could you tell me which book to read next . Or should i jump straight into a example …

Member Avatar for JamesCherrill
0
241
Member Avatar for Ashenvale

hi, I originally made a 1 dimensional array but then modified it into 2 dim. Problem is, I used percentage to determine who has the most number of votes but variable newPresident only output Estrada J. which belong to array candidate[0]. When I tried printing the elements in percentage[], only …

Member Avatar for Ashenvale
0
344
Member Avatar for TarkiB

Hi there, I'm having trouble with floats in Java. My program accepts a number in the form of a float. The number typically has two decimals (but not always). It seems to work fine in most cases. For example, I could put in 54.67, and that number would be passed …

Member Avatar for JamesCherrill
0
431
Member Avatar for anand01

Hi all, How could we validate that given string should only contains alphabetic characters, pls share some ideas, thanks in advance

Member Avatar for anand01
0
106
Member Avatar for anandcta123

Dear all, I am working on MDI window JDesktopPane and JFrame. I need to play video in fullscreen mode. I know fulscreen exclusive mode, but this is not the one I wanted. I am trying this by using setUndecorated ion JFrame to screen size, but this will leave uncover MAC …

0
46
Member Avatar for GlenRogers

I'm going to build my wife a home banking application so she can easily keep track of our finances. I want it so that it you can input every credit to our bank account(wages etc). For each item of credit there will be 3 seperate input fields: date, amount, source(where …

Member Avatar for JamesCherrill
0
146
Member Avatar for gedas

Hi Guys, I found a cool monitoring tool JConsole, however i am not sure how i could use it for my own projects. Could someone advise what needs to be added to my project so jconsole can monitore it. p.s i am using a Jboss server for my project Any …

0
54
Member Avatar for annette_arpana3

hi...how can i show the hashmap value in my interface..i have a textbox and whenever i click the combo box i want the value to be shown in the textbox. i am not using any database

Member Avatar for softswing
0
146
Member Avatar for lesliebielski

I am in beginning Java and using Dr. Java to write my programs. I am trying to write an array that user input sets up the length of the array(#of students) that character grades are stored in. It is suppose to ask if you want a full print out, to …

Member Avatar for lesliebielski
0
196
Member Avatar for kothaisaravan

Hi, My Application was developed using c#.NET with java web services to connect to oracle database. It is working fine with my windows XP machine, but when i deployed the same app in another win7 machine by just cpoying the release folder with dll and exe files and launched the …

Member Avatar for kothaisaravan
0
225
Member Avatar for Birol

Would like to create data entry form for a salesman's sales on a delivery route. Should create a form in which there will one row for each sale, where: The customer id will be pre-selected from a Route table which contains a unique route (i.e. list of customers) for each …

Member Avatar for Stuugie
0
220
Member Avatar for jamojo

Hello Everyone, I am looking for an example on how to upload files in Java only. What I saw recently it requires JSP also. But I only wish to use Java only. Here is an example on what I used, but it seems does not work. Can you please provide …

Member Avatar for NormR1
0
909
Member Avatar for GlenRogers

Ok, I have a websie built for a friend(simple/static). I want to add an amdin panel for him, so he can log in, put pictures into the gallery, change or update his stocklist and change or update his news section with special offer etc (he owns a reptile shop). I …

Member Avatar for GlenRogers
0
118
Member Avatar for coroll

Hi all, I have givn a task to implement a game. It has ruls of texa's Holdem poker and the objective is to make words like scabble.So it is a blend of these 2 games. So i need to store (Only with 5 letters)words(I dont know whether it is a …

Member Avatar for JamesCherrill
0
189
Member Avatar for lj81

Hi there, I have developed a pool game for a project but am required to do some JUnit testing to finish it off but I have not been shown any in my course and as a result I am totally confused with how to do this. My lecturer won't give …

Member Avatar for SasseMan
0
280
Member Avatar for fularipk

Hello, Is there any algorithm which will track the eye and i want to move cursor using eye's movement so tell me if there is any algorithm present for cursor movement by eye's movement.

Member Avatar for SasseMan
0
165
Member Avatar for Chrisstine

Get three exam grades from the user and compute the average of the grade. Get Output of the average of the three exams. Together with the average, include a happy face in the output if the average is greater than or equal to 75, otherwise output failed.

Member Avatar for sciwizeh
0
117
Member Avatar for freesoft_2000

Hi everyone, Could some one please tell me or show me the entire codings of how to run external .exe programs in java. I want to do this because i have a lot c/vb programs that i want to run in my java program. Thank You Yours Sincerely Richard West

Member Avatar for JamesCherrill
0
2K
Member Avatar for elkowalski

im trying to access a webpage and it asks for my email in which it contains a "+" sign .example:"elkowalski+garbage@gmail.com" but instead it tries to write it as "elkowalski garbage@gmail.com" so it fails to log in successfully into the wepage. i would really appreciate if someone can take me to …

Member Avatar for ~s.o.s~
0
159
Member Avatar for coroll

Hi, I want to implement an English word dictionary without the meanings. I have 51,947 words. I read many articles on the internet and sugestions were trie, Hashset Will implementing a trie provide better perfomance for serching or Hashset or anyother. Plz help me..

Member Avatar for coroll
0
96
Member Avatar for schoolbus11

Hi, I'm new with the java world.. I have a homework assignment for my java class due soon and I'm quite stuck in the middle of it. I'm supposed to make an eight ball using GOval in the acm library and whenever I click on the black ball in the …

Member Avatar for schoolbus11
0
318
Member Avatar for alfredarthur

I want to add squares onto a jpanel one at a time after a delay . My program works fine until I tried to change the background color with setBackgound(). It didn't change. I worked out I have to call super.paintComponent(gr) in my paintComponent method. But when I do this …

Member Avatar for sciwizeh
0
1K
Member Avatar for singeryoon

1. I have some question regarding inserting two panels from a class to a JFrame from another class, both having same package of GUI. How to do this? 2.And how to make JFrame to display different panels during application run? Example, I have a JButton in class A which after …

Member Avatar for sciwizeh
0
2K
Member Avatar for cmmmm

Below is part of my code for a simple java game. I am trying to keep the most recent 10 scores and names of the game in the prevScore and prevScoreName arrays. Both return statements in the method come up as errors, saying it requires int[] and what is found …

Member Avatar for JamesCherrill
0
767
Member Avatar for raviaaaa

While lunching the application in TOMCAT 5.5 and JDK 1.5 I am getting below exception could some help me in resolving the issue Jul 25, 2012 4:12:50 AM org.apache.catalina.core.ApplicationDispatcher invoke SEVERE: Servlet.service() for servlet jsp threw exception java.lang.NoSuchMethodError: javax.servlet.jsp.tagext.TagAttributeInfo.<init>(Ljava/lang/String;ZLjava/lang/String;ZZ)V at org.apache.jasper.compiler.TagLibraryInfoImpl.createAttribute(TagLibraryInfoImpl.java:572) at org.apache.jasper.compiler.TagLibraryInfoImpl.createTagInfo(TagLibraryInfoImpl.java:401) at org.apache.jasper.compiler.TagLibraryInfoImpl.parseTLD(TagLibraryInfoImpl.java:248) at org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:162) at org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:418) at …

Member Avatar for majestic0110
0
353
Member Avatar for wallet123

Hello! so im here again and mi gonna ask some questions: i did a prgram that will accept 10 numbers i should print all of those inputted ten numbers but i have to eliminate the numbers that was repeated e.g: input : 1234556789 output: 123456789 thanks guys i already did …

Member Avatar for stultuske
0
125

The End.