32,199 Topics
| |
Hi , I am currently doing a university project 'creation of a web mining tool to gather information about individuals and classify them semantically'. I am currently lost and don't know how to start. Does any one have tutorials links that explain how to use java to connect to website … | |
How to upload an image with servlets. Can we do it without fileOut.write(); Is there any method to upload an image from user and save it in a desired location in server?? Thanks & regards | |
I compiled a HelloWorld example using QtJambi. But on running it, it said "[B]failed to unpack native libraries[/B]. The complete error was : [CODE]daud@daud-laptop:~$ java -d32 com.trolltech.examples.tutorial.HelloWorld Exception in thread "main" java.lang.ExceptionInInitializerError at com.trolltech.qt.QtJambiObject.<clinit>(QtJambiObject.java:60) at com.trolltech.examples.tutorial.HelloWorld.main(HelloWorld.java:58) Caused by: java.lang.RuntimeException: Loading library failed, progress so far: Unpacking .jar file: 'qtjambi-linux32-gcc-4.6.3.jar' Checking … | |
hi all i'm a Beginner in c# coding. i want to design a home application that will run on a single pc i want to design a menu strip but not like the menu bar that appear above the window(file,edit,view,...) my idea in design is that the menu appear in … | |
Hi, I have a project which calls an internal jar included in it´s classpath. At a certain moment my code makes this call: [CODE] Runtime.getRuntime().exec("java -jar ./jars/myJar.jar"); [/CODE] It works when running from Netbeans, but when I make "clean and build" and then execute the new jar ( outside of … | |
Hi, I have been practising some OOP and have encountered this error `" cannot resolve symbol - variable MyInput"` I wonder wat's wrong...here is part of my code: public class BorrowMortgage { //Main method public static void main (String[] args) { //Create one borrower Borrower borrower = new Borrower( ); … | |
all i need is this, i can write this in almost every other language except this; a loop to show me the constant mouse coordinates (x,y) of the mouse on the screen, much help would be appreciated if you could write a sample program its only 2 lines. | |
Hi all, I have a method set to return an array of type integer but I would like to know how I would access the independent values in that returned array. My program does this: User enters numbers seperated by spaces and the program computes such things like the average, … | |
im making a grades program to try to keep my skills sharp. since i have gotten out of apcs i havent really been doing too much of anything with java. i decided the other day that i was going to try to make a grade program, kind of like what … | |
hi all, im doing web using java.there is input n output in that page.everytime i want to change the input, i have to open new window.so, i want to settle that problem with just refresh the page.but i dont know how.anyone here can help? thanks for advance...... | |
..HEY GUYZ...Hey guys...I was trying to link the Input applet with the code such that, when the user selects like the "Edit function" it refers back to the input function with the empty spaces to fill the new Student information //Marcus Student's Database program. Using Linked List. //The prog. shud … | |
Hi,Norm jon, I am posting a new thread for tagging the code accordingly. Hope this helps out. 1.My ball is not bouncing within the circle i drew.(Within circle 2).It just goes vaguely toward one direction and comes back.I want the ball to bounce randomly.Just like in the game ball and … | |
HI,need help continuing this code, im stuck and i want to make it work Thanx import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.ItemEvent; import java.awt.event.ItemListener; public class WinListBs extends Frame { Button btnExec, btnExit ; Label lblNum ; TextField fldNum ; List lstVals1, lstVals2, lstCommands; Node head = null; Node … | |
Hello, ok I have a problem with JFileChooser.When I save a file with a name that exists already, It replaces the older file and saves the new one but I want make it show a confirmation message to the user to ask if they want to replace the file or … | |
Hi all, So, I'm building an SSL server/client app, and I keep getting this exception: [CODE] javax.net.ssl.SSLHandshakeException: renegotiation is not allowed [/CODE] Does anyone know how I can work around this? Here are my codes: [U]SERVER:[/U] [CODE] //server.jks = keystore //ServerJKS = keystore password //SeverKey = certificate's password (certificate = … | |
Is it possible to add a flash content in java.Can any one help me how to do it or just a hint from where i can get help for it. Thank You in advance. | |
Hi all, I am using Java code to send email to users. The code is SMTPTransport tr = (SMTPTransport) poSession.getTransport("smtps"); tr.connect(MailHost,FromMailId,Password); tr.sendMessage(Message,Message.getAllRecipients()); FromMailId is from user mailid Password is from user password. Message is what can from user sent to toUser Message.getAllRecipients() are to user mail id.. But how do … | |
Hi, Everyone!! I'm really new in this business and I've been having some trouble with these errors: ====================================================================== Message: Object expected Line: 1 Char: 1 Code: 0 URI: [noparse]http://www.myblog.com/successblog/[/noparse] =================================================================== Message: Expected '}' Line: 707 Char: 301 Code: 0 URI: [noparse]http://www.myblog.com/successblog/[/noparse] ================================================================== Message: Expected '}' Line: 738 Char: 301 Code: … | |
hi there, my programme stores all the coordinates from a text file into an arrayList. And from the arrayList I want to read out 3 elements at a time. Each element being a pair of (x, y) values already in a arrayList, e.g.[...., 34.123 2.121,....]. Now I need to read … | |
Hi all, How to I know the Delivery Status of Sending Email. I am Using JavaMail API to send an Email to ToUser. The code is : SMTPTransport tr = (SMTPTransport) poSession.getTransport("smtps"); tr.connect(mailhost,psFromMailId,psPassword); tr.sendMessage(poMessage,poMessage.getAllRecipients()); Is there Any method to get the Status? Please help me Thanks Myl.. | |
Hi everyone, I want to intitialise an object to perform a certain computation and wait for the object to finish, but I'm not sure what the best way is to go about this. Here's a couple of methods to give you an idea of what I'd like to do: [CODE] … | |
Hello All, I am not sure, if this is the right place to post this query. If not, please redirect me. Here is the brief explanation of I have a web application (GWT application) project in Eclipse. I have a server side code which interacts with LDAP directory for some … | |
I am trying to find a tutorial to lean how to use a JFileChooser in order to read a file and convert it into a tick mark chart. I seen it on a demonstration video on sun.com and I thought it looked awesome. Sadly, I tried to google for tutorials … | |
[CODE]import java.io.*; import java.text.*; import java.util.*; /** * FileSentenceReader - Uses sound i18n method to parse sentences. * Created 12/03, Last mofified 09/07 * @author: Tony Dahlman */ public class FileSentenceReader { /** Reads through a text file, parsing it into sentences * in sound i18n fashion. Returns an ArrayList … | |
Hi...I am thinking of building a Word Processor in Java for my project... The problem is that there are many components in Java for that..like JTextComponent, JTextField, JTextArea, JTextPane, JEditorPane, and some styled Documents too... Can anyone say me which one to use considering the fact that My Project should … | |
Iam getting this error code ;Line 5, char 45, unterminated string constant code 800A03F7 with the ff script. Please help. var thisAd = 0; function rotate() { var adImages = new Array("images/green.gif", "images/red.gif","images/gre.gif","images/ apple2.gif"); thisAd++; if (thisAd == adImages.length) { thisAd = 0; } document.getElementById("adBanner"). src = adImages[thisAd]; setTimeout(rotate, 3 … | |
hai, i have to calculate the internet bandwidth of the system using java program.... please give any ideas to acheve it........ thanks,in advance | |
I need to sort my array in alphabetical order. The program inputs N words(strings) and outputs them in alphabetical order. I have started out by using specific words to make sure everything is working correctly. I need to change this to accept any input. Any help would be appreciated! [CODE]public … | |
Environmental Variable: System variable(both) 1. A new GRAILS_HOME variable installed pointing to the Grails folder. 2.PATH: C:\Grails\bin appended . However I get an error message sayings grails is not a recognized command. I am a new to grails. The documentation says its very simple and I have tried different ways … | |
can any one help!! Expand Post (Toggle Plain Text) import java.awt.*; import java.awt.event.*; import java.awt.Color; import javax.swing.*; import java.awt.Frame; import java.awt.geom.*; class BallEntity/*THE BALL CLASS*/ { private int top=0,left=0,height=0,width=0; //getter methods public int getTop() { return top; } public int getLeft() { return left; } public int getHeight() { return … |
The End.