Top.Mail.Ru
September 12th, 2004 - Java developers — LiveJournal
? ?

Java developers

September 12th, 2004
Image

02:13 pm - Imagebrazen_heart - Er... hi?

Well. I'm a complete n00b to programming, so please don't, uh, point and laugh at my inept coding. Or do, I don't care, just tell me what I'm doing wrong. I've only been in class for three weeks, so, um, I'm not very good. Anyway, my problem with this program is that I keep receiving an error for part of my code. It isn't accepting "private" as a valid start of the program. I'm guessing that I'm messing up something pretty simple, like a bracket in the wrong place or something not capitalized, but I can't see it. Any help would be very much appreciated.

The code, for those who don't want their friends page cluttered up.Collapse )

Thank you very much in advance!
 

05:29 pm - Imagetidalwav1 - Java Slideshow Program

Hi, everyone.

I myself use Windows on my main computer (and Linux on another one, so no one attack me), but I was at someone's house who had a Mac and I noticed iPhoto's Effects plugin, and its corresponding screensaver. I was blown away by the smooth, simple, and tasteful pan, zoom, and fade effects that were produced in between pictures. I was wondering if anyone would be interested in helping a novice Java programmer like myself to make a program/applet/secreensaver, in Java, that would produce the same effects for a photo slideshow.

Basically, the thing would work like this:

1) A JPEG photo would fade onto the screen.
2) It would slowly pan diagonally in one of four directions while zooming in or out.
3) Fade/Dissolve into another photo.
4) Repeat steps 2-4.

Anyone think this is a worthy project? If so, I'll make a project space on Sourceforge. It also needs a name, I was thinking of simply calling it jSlideshow.

Anyone want to help?
 

07:51 pm - Imagereuptake

Hello everyone! I'm new here and I'm taking a computer science course for my first year in college. I'm a bit stuck on a few questions for an assignment, and I was hoping I could get some hints.

"Give an abstraction for rational numbers (fractions) as they're used in arithmetic. Remember to state only what is necessary without non-essential details. (For example, is the "/" in 2/3 essential?) Also, state any properties that must be satisfied by your abstraction. "
"Give an abstraction for a two-dimensional coordinate as used when making a graph on graph paper. State any properties that must be satisfied by your abstraction. "

An abstraction, according to the textbook, is "the process of determining the relevant properties and features of an object while ignoring nonessential details."

I've started answering the first question, but I'm not sure if I'm going in the right direction.

Here's what I put:

"Abstraction for rational numbers (fractions) in arithmetic would
entail defining the relavent properties and features of rational
numbers. A number is rational if it can be written as the ration of
two integers. "1" could be a rational number because it can be written
as "1/1", "4/4", "5/5", etc. To represent 1+1, instead of doing "5/5 +
5/5" we could simply do "1 + 1" The "/" indicating a fraction is not
always necessary. For a fraction such as "2/3" we could represent it as a
decimal, 0.67. "

Am I headed in the right direction in my answer? The instructor gave me a hint as in to think about how to represent a single rational number. Any hints or comments would be greatly appreciated!
Powered by LiveJournal.com
Image