• Member Avatar for llaspina
    llaspina

    Replied To a Post in Save a textfield data/values into mysql database.

    Now that's just silly! `java.lang.NumberFormatException: For input string: ""` One of the text fields was blank and your code tried to do an Integer.parseInt on it. Make sure you fill …
  • Member Avatar for llaspina
    llaspina

    Replied To a Post in Save a textfield data/values into mysql database.

    Yes, try removing it. You are attempting to add the data with resultSet and also with a update query statement. Do one or the other, not both. If the code …
  • Member Avatar for llaspina
    llaspina

    Began Watching separating a word into syllables

    hi guys.iv been trying hard to do a code which requires me to separate a word into syllables in java but i dont no hw to do it. e.g the …
  • Member Avatar for llaspina
    llaspina

    Replied To a Post in separating a word into syllables

    I wrote this a while ago because I wanted to implement the [Fletch readability index](http://simple.wikipedia.org/wiki/Flesch_Reading_Ease). The question really has nothing to do with Java (but of course you can express …
  • Member Avatar for llaspina
    llaspina

    Began Watching Save a textfield data/values into mysql database.

    Good day everyone, I'm trying to save an inputted data using JTextfield in JAVA GUI into MySQL database. But when i pressed the save button nothing happens. I want to …
  • Member Avatar for llaspina
    llaspina

    Replied To a Post in Save a textfield data/values into mysql database.

    Are you getting a sql exception? There is no need for ResultSet here. The sql insert should take care of everything you need.
  • Member Avatar for llaspina
    llaspina

    Replied To a Post in Update objects on the "Client side" from the "Server"

    Massive is relative, but I expected it's too long to just post here. That's why I suggested git.
  • Member Avatar for llaspina
    llaspina

    Replied To a Post in Update objects on the "Client side" from the "Server"

    Please post your code or a link to it on github.
  • Member Avatar for llaspina
    llaspina

    Began Watching Update objects on the "Client side" from the "Server"

    I have a client/server setup. When both are loaded they are identical(Buttons, labels, TextFields and such). When I click a button on the client it performs an action on the …
  • Member Avatar for llaspina
    llaspina

    Replied To a Post in Update objects on the "Client side" from the "Server"

    The way I have handled this in the past is by creating a simple text based messaging system and using UDP to broadcast the messages. This requires that all the …
  • Member Avatar for llaspina
    llaspina

    Began Watching writing and appending into a file

    Hello. I've written a simple program that will once read text into a file and then append some other text when it starts reading again. In other words, adding text …
  • Member Avatar for llaspina
    llaspina

    Replied To a Post in writing and appending into a file

    There are a number of ways of storing Time. The java.util.Date object stores date and time. You can use it to just store time, but it's not ideal. In answer …
  • Member Avatar for llaspina
    llaspina

    Replied To a Post in Java

    To say that an aglorithm works means that we tested it on some input values and verified that it gives us the right answer. What input did you check the …
  • Member Avatar for llaspina
    llaspina

    Began Watching Class Assignment Prolog 2N+1 puzzle

    Hello people from Daniweb, nice to meet you! I am a student and registered today, but I am familiar with these type of sites. Now to the point of this …
  • Member Avatar for llaspina
    llaspina

    Replied To a Post in Class Assignment Prolog 2N+1 puzzle

    Since you have not done this type of problem before, start by doing the problem. By that I mean, play the game. Get some black and white chips or poker …
  • Member Avatar for llaspina
    llaspina

    Began Watching Java

    Hi, i'm new to java, can someone help to solve this question: In Wonderland a man distribute his monthly salary among his family as follows: • Half the salary goes …
  • Member Avatar for llaspina
    llaspina

    Replied To a Post in Java

    This is really not a Java question. It is an algebra question, and we are being asked to represent the answer with Java code. I recommend we start by forgetting …
  • Member Avatar for llaspina
    llaspina

    Began Watching Is a four year CS degree necessary to become a Java programmer?

    Hey there everyone, I have been a computer programming instructor for several years now. I like helping my students, but every year, they are the same age, and have generally …
  • Member Avatar for llaspina
    llaspina

    Replied To a Post in Is a four year CS degree necessary to become a Java programmer?

    Just to illustrate Hiroshe's point, I received an email from a recruiter looking to hire a developer for an application in the medical field in New York. I also teach …
  • Member Avatar for llaspina
    llaspina

    Began Watching Using ResultSet in java

    Hi guys how are you? I am having tough time extracting data from the ms database. I have three rows. WHat I want to do is the extract data from …
  • Member Avatar for llaspina
    llaspina

    Replied To a Post in Using ResultSet in java

    One option is to store each row as an element in a list. For instance, say the table stores Pets. Create a Java object called Pet which has data fields …
  • Member Avatar for llaspina
    llaspina

    Replied To a Post in Coding

    You need to store the Staff object as you search for it. An easier way to do this is with an *enhanced for loop* which uses Iterators for you, but …
  • Member Avatar for llaspina
    llaspina

    Began Watching Coding

    I'm Having a problem with trying to figure out how to get my program to switch from one tab to another after a specific "Jbutton" is clicked. As displayed Below.
  • Member Avatar for llaspina
    llaspina

    Replied To a Post in Coding

    Sorry to hear about your trouble learning Java. Programming should be fun and it can be, but if you fall behind or if a project is assigned that you aren't …
  • Member Avatar for llaspina
    llaspina

    Began Watching dirname and build.properties

    I was studing the ant task dirname. I am in over my head understanding this animal. It suggests to me that I could use build.properties and or build.xml properties . …
  • Member Avatar for llaspina
    llaspina

    Replied To a Post in dirname and build.properties

    I'm not sure what you are looking for with ANT and the command line. What is your goal? What are you trying to accomplish? I use ANT for a few …
  • Member Avatar for llaspina
    llaspina

    Began Watching set image as Background

    Hi, evry1.. i need yur help.. i want to place an image as my background.. how am i supposed to do it..?? i have tried this `setBackground("C:\\image\\background.jpg");`i also tired this …
  • Member Avatar for llaspina
    llaspina

    Replied To a Post in set image as Background

    I think you need to give us some examples. What do you mean by "background?" Are you creating a GUI swing app? If so, then the assumption to use JPanel …
  • Member Avatar for llaspina
    llaspina

    Replied To a Post in Show a message while a method is running

    I'm not clear on why a database is being used at all. Is there no server component, just different clients for the various players all syncing with the same database? …
  • Member Avatar for llaspina
    llaspina

    Began Watching Show a message while a method is running

    I have a button with action listener. When action is performed I call a method to show a label with my message using: Actionperformed(){ ShowMessage(); PerformAction(); } NOTE: This code …
  • Member Avatar for llaspina
    llaspina

    Replied To a Post in Show a message while a method is running

    Shouldn't the shuffle method take only a few miliseconds to run, if that? Swingworker is for tasks that take so long to execute that they will make the UI unresponsive. …
  • Member Avatar for llaspina
    llaspina

    Gave Reputation to JamesCherrill in Copy from text file to Object type arrayList in Java

    Nice example. You can push the Stream usage a bit further, depending on the overall requirements, along the lines of: Files.lines(Paths.get("studentTest.txt")) .map(line -> line.split(":")) .filter(parse -> parse.length == 2) .map …
  • Member Avatar for llaspina
    llaspina

    Began Watching Copy from text file to Object type arrayList in Java

    I'm making a student system with console based java. I'm trying to load a text file's content to an ArrayList and later on search with a student registration number and …
  • Member Avatar for llaspina
    llaspina

    Replied To a Post in Copy from text file to Object type arrayList in Java

    I'm trying to get better with the new Java 8 Streams API and this seems like a good candidate. Here goes: public static void main(String[] args) { final ArrayList<Student> studentList …
  • Member Avatar for llaspina
    llaspina

    Began Watching Record a video in java

    Hello friends, I want to develop a video conferencing project in java.For that i have spent some time to try recording video in java.But i finally thought to get some …
  • Member Avatar for llaspina
    llaspina

    Replied To a Post in Record a video in java

    As part of a First Robotics project (FRC) I placed a live video feed from a web cam mounted to a servo inside of a swing application (without recording the …
  • Member Avatar for llaspina
    llaspina

    Began Watching Help Me Please

    Hi there daniwebers. Its time for my project work and i want to create an sms based application that will aloow users to donate money to charity which will be …
  • Member Avatar for llaspina
    llaspina

    Replied To a Post in Help Me Please

    If this is from a summer college class, then the problem may be that the material was presented more quickly than it could be learned. I have found that CS …
  • Member Avatar for llaspina
    llaspina

    Replied To a Post in Why is my Wi-Fi Range Extender (802.11g/n) so weak?

    My house also has aluminuwm siding, but not everywhere. Moving the range extender to an exterior wall that has vinyl siding made a difference. It's not great, but it's better. …
  • Member Avatar for llaspina
    llaspina

    Created Why is my Wi-Fi Range Extender (802.11g/n) so weak?

    I purchased a Linksys N600 PRO Wi-Fi Range Extender because I would like to be able to work in my backyard. The product claims to expand coverage up to 7500 …
  • Member Avatar for llaspina
    llaspina

    Began Watching Why is my Wi-Fi Range Extender (802.11g/n) so weak?

    I purchased a Linksys N600 PRO Wi-Fi Range Extender because I would like to be able to work in my backyard. The product claims to expand coverage up to 7500 …
  • Member Avatar for llaspina
    llaspina

    Replied To a Post in i need help on where i can download a javax.speech.*?

    stultuske: Thanks for filling in the missing acronym: **jsapi**. That was really my issue with the LetMeGoogleThatForYou answer. A google search and the jar finder didn't quickly lead me to …
  • Member Avatar for llaspina
    llaspina

    Replied To a Post in i need help on where i can download a javax.speech.*?

    The snarky comment listed as the first reply wasn't justified. This jar was not that easy to find. Looking through maven I tracked it down: http://search.maven.org/#search%7Cga%7C1%7Cfc%3Ajavax.speech From the above link …
  • Member Avatar for llaspina
    llaspina

    Began Watching code jam

    please anyone prefer me good books for preparing various math olympaid and code jam competitions (best books)...... in which platform i have to prepare ?
  • Member Avatar for llaspina
    llaspina

    Replied To a Post in code jam

    I'm not sure what level we are looking for, but the MAA publishes books covering the USAMO which has the same format as the IMO (with easier questions). The first …
  • Member Avatar for llaspina
    llaspina

    Began Watching passing parameter from html form to java applet

    I have the following form that works: http://craigcoleman.com/java/julia/ I'm trying to do the same thing with this form and I can not get the parameters to work with the form. …
  • Member Avatar for llaspina
    llaspina

    Replied To a Post in passing parameter from html form to java applet

    I feel like this is a very old way of doing things. If you can, I would move the form fields into the Applet or (better) a JNLP application. But …
  • Member Avatar for llaspina
    llaspina

    Began Watching i need help on where i can download a javax.speech.*?

    hi!!.. my name is nathan i am trying to davelop voice to text java application i am required to use javax.speech package and i cant find it on my java …
  • Member Avatar for llaspina
    llaspina

    Replied To a Post in i need help on where i can download a javax.speech.*?

    Try http://www.jarfinder.com
  • Member Avatar for llaspina
    llaspina

    Began Watching using java codes in repository

    I am connecting to a repository for accessign to a code. I would like to run this code from the repository, but I read somewhere it is not possible to …

The End.