Search Results

Showing results 1 to 19 of 19
Search took 0.01 seconds.
Search: Posts Made By: alba07
Forum: Python Apr 15th, 2007
Replies: 2
Views: 1,033
Posted By alba07
thank you for this helpful info.
Forum: Java Apr 15th, 2007
Replies: 2
Views: 870
Posted By alba07
Can someone help me rewrite this java program in python. This program takes a message from the shell and flashes the message one word at a time.

Now I am supposed to rewrite it in python...
Forum: Python Apr 15th, 2007
Replies: 2
Views: 1,033
Posted By alba07
I wrote a program in java that takes a message entered in the shell and flashes the message, then click the quit button to quit.

Now I am supposed to rewrite it in python. So far in TKinter I...
Forum: Java Apr 10th, 2007
Replies: 9
Solved: java error
Views: 1,396
Posted By alba07
Thank you very much. It is working now after several attempts, I am new and just getting to know the java language.

Again, thank you for your help.
Forum: Java Apr 9th, 2007
Replies: 9
Solved: java error
Views: 1,396
Posted By alba07
public class Book{

private String author, title;
private double price;

public Book (String abook){
book = abook;
title = title;
price = 0.0;
Forum: Java Apr 9th, 2007
Replies: 9
Solved: java error
Views: 1,396
Posted By alba07
I tried it and it works but I get an error somewhere else now that public String getBook (), is an illegal start of expression. No clue what's goin on.

Thanks for your help so far though.
Forum: Java Apr 9th, 2007
Replies: 9
Solved: java error
Views: 1,396
Posted By alba07
Yeh you are probably right but where do I put this constructor? I am sorry I have looked at java codes all day so, right now they all look the same.

My idea is to enter it where public void...
Forum: Java Apr 9th, 2007
Replies: 9
Solved: java error
Views: 1,396
Posted By alba07
Can someone help me fix this? After I compile I get ilegal start of expression for the line that says public String getBook(). I cannot see why this is not allowed.

My output should be as...
Forum: Java Apr 8th, 2007
Replies: 2
Views: 775
Posted By alba07
Thanks for the resource. If I am understaning this right I now can write:

public class Variable<T>{ (etc). or does Variable extend <Variable T>. I am sorry I am still a bit lost, I am new to...
Forum: Java Apr 7th, 2007
Replies: 2
Views: 775
Posted By alba07
I have the following class and I am now supposed to add a parameter T, so that the value of Variable <T> is of type T rather than object.

I am now lost with this and need some help. Not getting...
Forum: Java Feb 23rd, 2007
Replies: 0
Views: 998
Posted By alba07
I am supposed to do a sliding target class, then make a shooter class that shoots up three balls when the user clicks. I think I have the first two classes done, but I am stuck on the class that has...
Forum: Python Feb 22nd, 2007
Replies: 2
Views: 3,455
Posted By alba07
I am not sure If to sure the popen 4. I am supposed to popen 3.

I guess the hardest part if that I am supposed to make a menu that allows the user to select option for ls such as ls -R, etc,...
Forum: Python Feb 20th, 2007
Replies: 2
Views: 3,455
Posted By alba07
I am supposed to design a GUI for ls, where the user could select these options from pull down menus. After the user selects options, clicking on go should run the ls.

The way I am...
Forum: Python Feb 19th, 2007
Replies: 5
Views: 1,661
Posted By alba07
Also, just so I know, what is the difference between old style classes and new style classes, for example in this case. All that I was ever tought about the new style classes is that they inherit...
Forum: Java Feb 19th, 2007
Replies: 4
Views: 1,418
Posted By alba07
I also have the run ()

public void run (){
while(ball Graphic.getX() < canvas.getWidth(){
ballGraphic.move(X_SPEED, 0);
pause (DELAY_TIME);
...
Forum: Python Feb 19th, 2007
Replies: 5
Views: 1,661
Posted By alba07
Thanks.

I got it.
Forum: Java Feb 19th, 2007
Replies: 4
Views: 1,418
Posted By alba07
I have the first class Hit the target class as follows:

import jave.awt.*;
import object.draw.*;

public class HitTheTarget extends ActiveObject {
private static final int SIZE=15;
private...
Forum: Python Feb 19th, 2007
Replies: 5
Views: 1,661
Posted By alba07
I am to create an old-style class with a constructor __str__, and accessor methods, such that the following code:

abook = Book(author = "Amy Doe", title = "Sun rise", price = 13.50)
print...
Forum: Java Feb 19th, 2007
Replies: 4
Views: 1,418
Posted By alba07
I am supposed to create a hit the target class with multiple classes. First place a ball that moves horizontally on the cavas, then create another class with a square that shoot up three balls when...
Showing results 1 to 19 of 19

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC