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>...
User Profile
Collapse
-
Javascript interest rate
-
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? -
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..... ..... -
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();
...Leave a comment:
-
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() &... -
...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();Leave a comment:
-
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 -
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?Leave a comment:
-
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)...Leave a comment:
-
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.... -
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? -
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....... . -
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,,,,,...Leave a comment:
-
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 -
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........... ...? -
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......... -
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...... -
-
Help I think its in Visual Basic6. Does this make any difference..... ......?Leave a comment:
-
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...... ......
No activity results to display
Show More
Leave a comment: