Psyguy's Profile User Rating: -----

Reputation: 71 Whiz
Group:
Authors
Active Posts:
322 (0.24 per day)
Joined:
12-January 11
Profile Views:
9,231
Last Active:
User is offline Aug 14 2014 12:11 PM
Currently:
Offline

Previous Fields

Country:
US
OS Preference:
Windows
Favorite Browser:
Chrome
Favorite Processor:
Intel
Favorite Gaming Platform:
PC
Your Car:
Who Cares
Dream Kudos:
250

Latest Visitors

Icon   Psyguy I reject your reality and replace it with my own...

Posts I've Made

  1. In Topic: Where to begin? (website application)

    Posted 14 Aug 2014

    You have to think of several things when you are starting to get into web development:

    1. What server side language will I use? (C#, Java, etc.)
    2. What database will I use to store the data and where will it be hosted? (SQL Server, MySQL, etc.)
    3. Where will the web app be hosted? (do you have a server, will you rent a server, etc.)
    4. Do I know all of the languages involved? (CSS, HTML, javascript/jQuery, XML)
  2. In Topic: ArrayList Displaying same item repeadly

    Posted 14 Aug 2014

    It appears that you are only using ONE object to add to the list, then changing the values of that object and adding it to the list over and over. You should create a new StudentData, populate the data, and add it to the list all in the addBtnActionPerformed method.

    EDITED for example:

    private String name;
       private String  number;
       private int year;
       private int count;
       private ArrayList<StudentData> myList;
       
       public StudentGUI()
       {
           initComponents();
           name = new String();
           number = new String();
           year = 0;
           count = 0;
           myList = new ArrayList<>();
       }
    
    private void addBtnActionPerformed(java.awt.event.ActionEvent evt)                                       
       {        
           StudentData myData = new StudentData();
                                       
           name = nameTf.getText();
           number = numTf.getText();
           year = Integer.parseInt(yearTf.getText());
           
           myData.setName(name);
           myData.setNumber(number);
           myData.setYear(year);
           
           myList.add(myData);
           
           nameTf.setText("");
           numTf.setText("");
           yearTf.setText("");
           
           count++;
           
       }        
    
    
  3. In Topic: Make items in list clickable

    Posted 13 Aug 2014

    $('#customer').change(function(){
        //go to destination link here based on the selected option   
    });
    
    


    How about that?
  4. In Topic: simple doubt on basic sorting in c++

    Posted 13 Aug 2014

    I'm trying to remember my C++ syntax, but wouldn't you want to change the line
    for(j=0;j<3;j+2)
    
    


    To...
    for(j=0;j<3;j+=2)
    
    


    Since j++ would be equivalent to "j = j+1;" which is also equal to "j+=1", then it should work the same way...assuming I am remembering correctly. This would mean your loop never changes the value of j and thus, you are stuck in an infinite loop.

    EDIT: I'm not saying that is all that is wrong with it, but on first look it appears to be a point that would immediately cause issues.
  5. In Topic: Looking for advice on how to learn MVC

    Posted 6 Aug 2014

    Don't forget to add jQuery, CSS, and HTML to your list of necessary skills. While jQuery isn't technically "required" to create MVC applications, it can be extremely helpful. Additionally, there isn't (as far as I am aware) a GUI for creating the UI of the application, therefore, knowing HTML and CSS is going to be necessary to present the views to whomever will be looking at it.

My Information

Member Title:
D.I.C Regular
Age:
36 years old
Birthday:
October 14, 1977
Gender:
Location:
Eugene, OR
Full Name:
Joel M. Priddy
Years Programming:
3
Programming Languages:
VB.NET, C#, ASP/ADO.NET, C++, Java, XML, SQL

Contact Information

E-mail:
Click here to e-mail me
LinkedIn:
http://www.linkedin.com/pub/joel-priddy/12/49/7b5/
Twitter:
joel_priddy

Friends

Comments

Psyguy has no profile comments yet. Why not say hello?