Search results

  1. iamjon.smith

    JavaScript EXTJS Combobox problems

    I am creating the following combobox: //stations store var stationStore = Ext.create('Ext.data.Store', { id: 'stationStore', fields:[{name: 'station'}] }); the store is build on app load, and is empty to start. At this point the combobox is hidden Once the user runs a search...
  2. iamjon.smith

    Comp Sci C++ search algorithm with 3 sublists

    Homework Statement This is the assignment instructions:[/B] In C++, code a search algorithm that searches a list of strings for a particular song. The searching algorithm will have two inputs: the playlist, which is a string array that contains a list of songs in alphabetical order; and a...
  3. iamjon.smith

    Java Serialization/Deserialization of objects in Java

    Ok guys, I am working on a simple serialize/deserialize project. A user interface takes the following input: A Department ID (INT), A Department Name (String), and Three Employees (ArrayList) that have a Name, Department, and Salary. Once the Three employees are entered, the Department can be...
  4. iamjon.smith

    Dividing complex polynomials

    Homework Statement (3y-2/y+3) - (3y+1)/(y2+6y-9) Homework Equations The Attempt at a Solution Ok, I have attempted to solve in 2 steps, step 1: solve 3y-2/y+3 step 2: solve 3y+1/y2+6y-9 and then subtract the answers. This doesn't seem to work, as I get: 3y-2/y+3 = 3 remainder 11 and...
  5. iamjon.smith

    Complex Radical or Complex Root?

    solve a radical expression: 1.5r250 (*r denotes the radical symbol) in a radical expression where the index of the root is 1.5 and the number is 250 Use Calculator, Show Steps Homework Equations The Attempt at a Solution First of all, using a calculator the answer comes out to 39.685, but...
  6. iamjon.smith

    Algebra 2, solve with steps

    Homework Statement [/B] a1b1/x1= a2b2/x2 solve for x2 Homework Equations no relevant questions apply, this is a stand alone review question The Attempt at a Solution [/B] multiply times reciprocal to get rid of denominator on left (x1) (a1b1/x1)= (a2b2/x2)(x1) a1b1 = (a2b2x1/x2)...
  7. iamjon.smith

    Comp Sci Getting VALID range of Excel Cells in javascript

    Mod note: The OP has found an answer to his question. I am validating a text field in javascript in EXTJS 4 framework, based on the selected value of a text box: else if (record.get("type") === "CELL_VALUE" && record.get("apply_before") === true) { Ext.Msg.alert("Field Validation"...
  8. iamjon.smith

    Java JAVA, EntrySet(), iterator

    Using the following code: Set<Map.Entry<String,JsonElement>> mySet = jsonObject.entrySet(); for(Map.Entry<String,JsonElement> singleItem : mySet) { singleItem.getKey(); System.out.println("Set values: " + mySet); } mySet gets printed to the console as: Set values...
  9. iamjon.smith

    Java Decoding JSON object in JAVA

    I have a JSON Object being returned to a .jsp page. the object comes back...
  10. iamjon.smith

    Comp Sci Java simple array problem

    Ok, I have a java app that allows you to choose a class (wizard/elf) and is supposed to give a random amount of health (an array with 10 values) and 25 points of health. When I run the program it gives me the memory location from the array and not the value. I know I am missing something simple...
  11. iamjon.smith

    Please Review Database Tables for Advanced Database Class

    After you have analyzed the existing material used by the company for their day-to-day duties, the current Access database, and the additional requirements that the current system does not meet, the following requirements entity/attributes have been compiled: Customer information is tracked...
  12. iamjon.smith

    Comp Sci Advanced Java: Client/Server Application Problem

    Assignment: Write a client and server, Java Swing application using socket connections that allows the client to specify a filename to the server in a Textfield and the server send the contents of the text file back to the client if it exists. If the file does not exist, then it should send...
  13. iamjon.smith

    Comp Sci Java Comparable Interface due tonight

    Create a class Product that stores product ID, product name, and price. Using the Comparable interface, create a compareTo() method for your Product class that gives you a default sort order based on product ID. Create a test application that creates a list of Products, sorts them by product...
  14. iamjon.smith

    Comp Sci JAVA collections

    Develop an application that reads a file of inventory information containing product ID and quantity. An example inventory file: 10401 32 10522 25 10401 1 10402 15 The file can contain several entries for the same Product ID. Your application should accumulate the quantities for...
  15. iamjon.smith

    Comp Sci JAVA Collections (tree set)

    You have been tasked to develop an application that reads customer information from a file to determine in which states you have customers. The file contains records with customer first name, customer last name, street address, city, and state. The file could contain many customers living...
  16. iamjon.smith

    Comp Sci Java Program Input from file, output to file(s)

    Develop an application that reads city, state, and population from a text file. Example input census file: Jamestown FL 50000 Domville CO 10000 Jennyboro FL 30000 Lillyville CO 5000 If the population of the city is greater than or equal to 50,000, write the city information to a text...
  17. iamjon.smith

    Comp Sci Java GUI output to text file

    Develop an application that reads city, state and population entered from the user and writes this information to a file. The application should continuously prompt for this population information until terminated by the user. Example file: Jamestown FL 50000 Domville CO 10000 Jennyboro FL...
  18. iamjon.smith

    Comp Sci JAVA Animated Logo DUE TODAY HELP!

    JAVA Animated Logo **DUE TODAY** HELP! My instructor has provided the code to use, we were told to simply modify the images for the program to work with our logo. The code comes straight from the text book. I have followed the steps of my instructor but when I run the program I get the...
  19. iamjon.smith

    Comp Sci Java Graphics & 2D Help me animate this

    Java Graphics & 2D Help me animate this!! Instructions : Using Graphics and Graphics2D, create a neon sign for your business logo. Create your logo to include a shape and the name of your business. The logo should flash off and on continuously. You may get as creative as you wish with your...
  20. iamjon.smith

    Comp Sci Java GUI Mortgage Calculator

    Ok, Here is the assignment: Develop a mortgage payment calculator. Design a GUI to enter price of home, down payment, interest rate. Your bank only offers 10, 15, and 30 year mortgages. Use grouped radio buttons to select between 10, 15, or 30 year mortgage. Monthly payment should be...
  21. iamjon.smith

    Comp Sci Java Method Call Problems

    /* * Use Ticket as the superclass. WillCall, eDelivered, and Printed are subclasses Ticket. * All tickets have event name, date, time, event location, and ticket cost. * WillCall tickets have booth location attribute. * eDelivered has an email address attribute. * Printed has a mailing...
  22. iamjon.smith

    Simple Nim Game Due Tonight.

    Simple Nim Game Due Tonight. Please Help! Design and implement a Nim class and a NimGame application to allow two human players to play the game of Nim. The game starts with four piles of stones. The first pile has 3 stones, the second pile has 5 stones, the third pile has 7 stones, and the...
  23. iamjon.smith

    Comp Sci Java Tic Tac Toe issues please help

    Assignment: TicTacToe and TicTacToeGame. The TicTacToe class contains a 3x3 two-dimensional array of integers. The constructor should initialize the empty board to all zeros. It should have a method playerMove that accepts two integers as parameters, the first is the player (1 or 2) and the...
  24. iamjon.smith

    Comp Sci Java array issue

    Simple Array assignment, directions as follows: (Must be implemented using a one-dimensional array.) Write an application that inputs ten numbers from the user, each number can be between 10 and 100, inclusive. As each number is read in determine if it is a number already entered. If it is...
Top