User Profile

Collapse

Profile Sidebar

Collapse
lenin42001
lenin42001
Last Activity: Oct 7 '07, 05:50 PM
Joined: Jan 17 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • lenin42001
    started a topic Javascript interest rate

    Javascript interest rate

    Please can you help Have tried various means but cannot get this to work. The saver is prompted for the amount they wish to invest & a time period(in years) If initial investment is over £1000 & if investment period is more tham 12 years the interest rate is 7% otherwise use 6%. Have tried if else statement & two "for" statements but neither work..........< !-- Using the for loop -->

    [HTML]<html>...
    See more | Go to post
    Last edited by gits; Oct 7 '07, 04:16 PM. Reason: added code tags

  • lenin42001
    replied to JAVA & DATABASES
    in Java
    can you attach photographs to the database? We have a series of 6 jpeg images which have to go with each record & have to be displayed on GUI?
    See more | Go to post

    Leave a comment:


  • lenin42001
    started a topic JAVA & DATABASES
    in Java

    JAVA & DATABASES

    Is There Any Way To Connect A Database To A Java Gui So That
    Data Can Be Shown On The Screen And Added Too? Ideally The Data Returns To First Item Upon Completion..... .....
    See more | Go to post

  • lenin42001
    replied to Menu Item
    in Java
    import java.awt.*;
    import java.awt.event. *;
    import java.io.*;
    class FormDemo extends CloseableFrame implements ActionListener, ItemListener
    {
    private FileOutputStrea m outStream;
    private PrintWriter outFile;
    public boolean storeOpen;
    public boolean fileOpen;
    public boolean fileSaved;
    Button closeButton, saveButton;
    private MenuBar mb = new MenuBar();
    ...
    See more | Go to post

    Leave a comment:


  • lenin42001
    started a topic Menu Item
    in Java

    Menu Item

    public void actionPerformed (ActionEvent e)
    {


    MenuItem choice = (MenuItem)e.get Source();
    if (choice == Display)
    display();
    Please can someone help we've tried tons of solutions but none seem to work.
    We've constructed a primitive GUI with input text such as name,address etc and are now trying to display the results of our file save to the screen. We've tried setText() &...
    See more | Go to post

  • lenin42001
    replied to Set Text ()
    in Java
    Code:
    import java.awt.*;
    import java.awt.event.*;
    import java.io.*;
    class FormDemo extends CloseableFrame implements ActionListener, ItemListener
    {
    	private FileOutputStream outStream;
    	private PrintWriter outFile;
    	public boolean storeOpen;
    	public boolean fileOpen;
    	public boolean fileSaved;
        Button closeButton, saveButton;
        private MenuBar mb = new MenuBar();
    ...
    See more | Go to post
    Last edited by horace1; Mar 16 '07, 02:21 PM. Reason: added code tags

    Leave a comment:


  • lenin42001
    started a topic Set Text ()
    in Java

    Set Text ()

    Please can you help. We've set defaults to a class employee & added data for each of the input form values 'age', 'dob', 'street' etc now we are asked to print void display for the values we have added . Have tried setText=P[0].age but this is not recognised, what is the syntax please to display the data we have read in onto the screen? All clues gratefully recieved
    See more | Go to post

  • lenin42001
    replied to IncrementPointer( )
    in Java
    YEH I'D ALREADY GOT THAT...It was kind of you and all that, but what is the incrementPointe r trying to do? Is it pointing to a particular name in the store?There is another part to the question. Shall I send it?
    See more | Go to post

    Leave a comment:


  • lenin42001
    replied to IncrementPointer( )
    in Java
    public class Store
    {
    private Person list[];
    private int count;
    private int maxSize;
    private int current;


    // constructor

    public Store(int max)
    {
    list = new Person[max];
    maxSize = max;
    count = 0;
    current = 0;
    }

    // transformer



    public void add (Person p)...
    See more | Go to post

    Leave a comment:


  • lenin42001
    started a topic IncrementPointer( )
    in Java

    IncrementPointer( )

    Add the following to class Store.
    private int current =0;
    public incrementPointe r()
    // pre: store is not empty
    // post: increments current;
    // if current is already pointing to the
    // last record in the Store then reset it to 0

    Please can someone help. We have to increment a class Store as part of an assignment....
    See more | Go to post

  • lenin42001
    started a topic Save File to Store then to File to Disc
    in Java

    Save File to Store then to File to Disc

    Is there anyway of saving text/images to an intermediary store before saving them to file on C:? Preferably in list form. Saving stuff to and from file seems pretty easy with filereader input/output but we can't find anything which will store stuff to an intermediary java store programme. What is a good related topic to research?
    See more | Go to post

  • lenin42001
    started a topic Java GUI
    in Java

    Java GUI

    Can someone help please. We've been given an assignment which involves storing and retrieving a series of jpeg files on a GUI. We've tried various means FIleManger etc in the BLueJ book but this seems to only reference one image at a time. Is there any way one can access a series of images in a list say?All hints as to direction to look gratefully recieved....... .
    See more | Go to post

  • lenin42001
    replied to INPUT OUTPUT with gui
    in Java
    Yes. I know they are Swing components. It s not the retrieving text from file or jpeg, gif images that s the problem, but displaying them in order.........t hanks anyway,,,,,...
    See more | Go to post

    Leave a comment:


  • lenin42001
    started a topic INPUT OUTPUT with gui
    in Java

    INPUT OUTPUT with gui

    Can someone be off assistance? We're trying to input/output some patients data in a hypothetical form. The records display sequentially & can be retrieved from a data store.......... ......This must be coded in BLUeJ using SWing. Thanks
    See more | Go to post

  • lenin42001
    started a topic Visual Basic Design

    Visual Basic Design

    Please can somebody help. We are designing a customer-interface for a hypothetical CD/DVD lending-company. We require the potential customer to enter either a) his/her bank details & an "Add to cart" facility for the products borrowed. Are there preset interfaces or templates which one can use to request this information ? If so where do you find them........... ...?
    See more | Go to post

  • lenin42001
    started a topic incorporating database into VB6

    incorporating database into VB6

    Can anyone be of assistance? I,m trying to incorporate an access databse into VB6. Ive added an ADO & Datagrid, selected the Project\Compone nts, clicked OK. Added Microsoft Jet 4 , used OBCD Data Source Name & Connection String. Done test connection, double clicked RecordSource property, changed
    Command Type to cmdTable click OK. F5 to test but no luck. Can anyone tell me where I am going wrong. All clues gratefully recieved.........
    See more | Go to post

  • lenin42001
    started a topic Txt file into BlueJ
    in Java

    Txt file into BlueJ

    Can you help please. I am trying to import a text file a simple notepad sample with a few words into a blueJ project. I have tried:

    N:Text
    N: Bigone6.Text
    N: Bigone.Text.txt
    None seem to work, please what is the right solution. BIgone6 is the name of the project i've created......
    See more | Go to post

  • lenin42001
    replied to Checkboxes
    what should i do............. .....?
    See more | Go to post

    Leave a comment:


  • lenin42001
    replied to Checkboxes
    Help I think its in Visual Basic6. Does this make any difference..... ......?
    See more | Go to post

    Leave a comment:


  • lenin42001
    started a topic Buffered Reader
    in Java

    Buffered Reader

    All help gratefully recieved. What exactly is a buffered reader? We know it reads
    bytes from a zip.file but can it also read input that has been put into the terminal-window? We are using BlueJ & it is very confusing...... ......
    See more | Go to post
No activity results to display
Show More
Working...