Wanted: Java wizard. :o

Okay, I am in dire need of help here. :smiley: And I wouldn’t write this into the forum (because it is teh embarrassing that I can’t get this figured out on my own) but time is running out now, so, here’s the thing:

I have this java- programming course which is run by uber- wizards who expect us to write 3 huge programs within 3 weeks (1 week for each program obviously, but that’s pretty utopical because we only had 12 lectures in this course, 4 of which actually dealt with java at all). I already have one of them which is complete, one program which still has a couple of minor errors which I am currently trying to fix, and one third thing which I can’t figure out for the life of me and am thereby asking for help. 1 week to go, deadline is the 27th of january.

What we need to write is an interface for this thing: http://blinkenlights.net/
a thingie which runs blinkenlights- movies in the console. now I’ve got most of the classes and methods already, the only thing missing is the iterator (I wrote one but I have no clue if it works correctly or not) and two classes, namely some InputStream method which we have to use and StringBuffer or StringReader in order to load the movie into the program and play it. And I just can’t figure it out.
So yes I’m basically asking someone to do part of my homework here :stuck_out_tongue: or at least explain it to me. Help, anyone? :o

  • Can send all files I have so far/ project in a zip. The package name, methods and classes/ class names are given, because we have to turn it in using an automatic system which is supposed to recognize all of this (which is aggravating enough becxause it keeps producing errors over the most ridiculous things, which takes up even more time). :thud::thud:

i put on my robe and java wizard hat

serious replies appreciated, spam cluttering this up not quite as much, kthx

rec

+1

would read again

I can mod Javascipt, but I can’t write complete code. :confused:

I can probably help you out, I sent you a pm.

And the people rejoiced. Good on you!

wheehee! thanks epic :smiley: my ass is just about saved now <.<

And what an ass it is!

AHAHAHAHA!

damn right!

… well actually it’s not completely solved yet, if I can’t get it done in time I’ll send it to my prof as a zip and whine at him until he accepts it or something <.<

I don’t want to sound like a dick or anything, but if you can’t pass on your own than why should you at all?

Java (Indonesian: Jawa) is an island of Indonesia. With a population of 136 million, it is the world’s most populous island, and one of the most densely populated regions in the world. It is home to 60% of Indonesia’s population. The Indonesian capital city, Jakarta, is in west Java. Much of Indonesian history took place on Java; it was the center of powerful Hindu-Buddhist empires, Islamic sultanates, the core of the colonial Dutch East Indies, and was at the center of Indonesia’s campaign for independence. The island dominates Indonesian social, political and economic life.

Formed mostly as the result of volcanic events, Java is the 13th largest island in the world and the fifth largest island in Indonesia. A chain of volcanic mountains forms an east-west spine along the island. It has three main languages, though Javanese is dominant and is the native language of 60 million people in Indonesia, most of whom live on Java. Most residents are bilingual, with Indonesian as their first or second language. While the majority of the people of Java are Muslim, Java has a diverse mixture of religious beliefs, ethnicities and cultures.

The island is divided into four provinces, West Java, Central Java, East Java, and Banten, and two special districts, Jakarta and Yogyakarta.

The origins of the name ‘Java’ are not clear. One possibility is that the island was named after the jáwa-wut plant, which was said to be common in the island during the time, and that prior to Indianization the island had different names.[1] There are other possible sources: the word jaú and its variations mean “beyond” or “distant”.[2] And, in Sanskrit yava means barley, a plant for which the island was famous.[2] “Yawadvipa” is mentioned in India’s earliest epic, the Ramayana. Sugriva, the chief of Rama’s army dispatched his men to Yawadvipa, the island of Java, in search of Sita.[3] It was hence referred to in Indian, specifically Tamil literature by the Sanskrit name “yāvaka dvīpa” (dvīpa = island). Another source states that the “Java” word is derived from a Proto-Austronesian root word, meaning ‘home’.[4]

Fossilised remains of Homo erectus, popularly known as the “Java Man”, dating back 1.7 million years were found along the banks of the Bengawan Solo River.[8]
The island’s exceptional fertility and rainfall allowed the development of wet-field rice cultivation, which required sophisticated levels of cooperation between villages. Out of these village alliances, small kingdoms developed. The chain of volcanic mountains and associated highlands running the length of Java kept its interior regions and peoples separate and relatively isolated.[9] Before the advent of Islamic states and European colonialism, the rivers provided the main means of communication, although Java’s many rivers are mostly short. Only the Brantas and Sala rivers could provide long-distance communication, and thus their valleys supported the centres of major kingdoms. A system of roads, permanent bridges and toll gates is thought to have been established in Java by at least the mid-seventeenth century. Local powers could disrupt the routes as could the wet season and road use was highly dependent on constant maintenance. Subsequently, communication between Java’s population was difficult.[10]

The Taruma and Sunda kingdoms of western Java appeared in the fourth and seventh centuries respectively. However, the first major principality was the Medang Kingdom which was founded in central Java at the beginning of the eight century. Medang’s religion centred on the Hindu god Shiva, and the kingdom produced some of Java’s earliest Hindu temples on the Dieng Plateau. Around 8th century the Sailendra dynasty rose in Kedu Plain and become the patron of Mahayana Buddhism. This ancient kingdom built monuments such as 9th century Borobudur and Prambanan in central Java.

The 9th century Borobudur buddhist stupa in Central Java.
Around 10th century the center of power shifted from central to eastern Java. The eastern Javanese kingdoms of Kediri, Singhasari and Majapahit were mainly dependent on rice agriculture, yet also pursued trade within the Indonesian archipelago with China and India.
Majapahit was established by Wijaya and by the end of the reign of Hayam Wuruk (r. 1350-89) it claimed sovereignty over the entire Indonesian archipelago, although control was likely limited to Java, Bali and Madura. Hayam Wuruk’s prime minster, Gajah Mada, led many of the kingdom’s territorial conquests. Previous Javanese kingdoms had their power based in agriculture, however, Majapahit took control of ports and shipping lanes and became Java’s first commercial empire. With the death of Hayam Wuruk and the coming of Islam to Indonesia, Majapahit went into decline.

By the end of the 16th century, Islam, through conversion firstly amongst the island’s elite, had surpassed Hinduism and Buddhism as the dominant religion in Java. During this era, the Islamic kingdoms of Demak, Cirebon, and Banten were ascendant. The Mataram Sultanate became the dominant power of central and eastern Java at the end of the 16th century. The principalities of Surabaya and Cirebon were eventually subjugated such that only Mataram and Banten were left to face the Dutch in the 17th century.

Java’s contact with the European colonial powers began in 1522 with a treaty between the Sunda kingdom and the Portugese in Malacca. After its failure the Portugese presence was confined to Malacca, and to the eastern islands. In 1596, a four-ship expedition led by Cornelis de Houtman was the first Dutch contact with Indonesia.[11] By the end of the 18th century the Dutch had extended their influence over the sultanates of the interior (see Dutch East Indies). While the Javanese were great warriors, internal conflict prevented them forming effective alliances against the Dutch. Remnants of the Mataram survived as the Surakarta (Solo) and Yogyakarta principalities. Javanese kings claimed to rule with divine authority and the Dutch helped them to preserve remnants of a Javanese aristocracy by confirming them as regents or district officials within the colonial administration.
Java major role during early part of colonial period is as producer of rice. In spice producing islands like Banda, rice was regularly imported from Java, to supply the deficiency in means of subsistence. [12]
In 1815, there may have been 5 million people in Java.[13] In the second half of the eighteenth century, population spurts began in districts along the north-central coast of Java, and in the nineteenth century population grew rapidly across the island. Factors for the great population growth include the impact of Dutch colonial rule including the imposed end to civil war in Java, the increase in the area under rice cultivation, and the introduction of food plants such as casava and maize which could sustain populations that could not afford rice.[14] Others attribute the growth to the taxation burdens and increased expansion of employment under the Cultivation System to which couples responded by having more children in the hope of increasing their families’ ability to pay tax and buy goods.[15] Cholera claimed 100,000 lives in Java in 1820.[16]
The advent of trucks and railways where there had previously only been buffalo and carts, telegraph systems, and more coordinated distribution systems under the colonial government all contributed to famine elimination in Java, and in turn, population growth. There were no significant famines in Java from the 1840s through to the Japanese occupation in the 1940s.[17] Ethnological factors are also thought to have contributed to the increase in population. In Java, there was no absolute preference for boy babies which was significant in Java where agriculture depends on the labour of both men and women. Furthermore, the age of first marriage dropped during the nineteenth century thus increasing a women’s child bearing years.[17]

Indonesian nationalism first took hold in Java in the early twentieth century (see Indonesian National Awakening), and the struggle to secure the country’s independence following World War II was centred in Java. The abortive coup and the subsequent violent anti-communist purge in 1965/66 largely took place in Java. The island has dominated Indonesian social, political and economic life, which has been the source of resentment. In 1998, preceding the fall of Suharto’s 32-year presidency, large riots targeted the Chinese Indonesians in another series of pogroms.[18]

I bet if you took the wordcount from all of these shit posts this GOD BLESS AMERICA has been making, and you took the wordcount from the 1,000+ posts from my first year here, you would find that GOD BLESS AMERICA has posted more bullshit than I ever have.

  1. you sound like a dick

  2. because it’s an entire semester’s course which had over 20 or so small scripts and programs which I had to turn in which were a real pain to do, and I’ve got all of them, however if I fail this last one and the system doesn’t take it I have to redo the entire thing and repeat the entire dumb course.

also, I really can’t hear the “Java is an island”- joke anymore. x_X

I butt if you took the wordcount from all of these shit posts this GOD BLESS AMERICA has been making, and you took the wordcount from the 1,000+ posts from my first year here, you would find that GOD BLESS AMERICA has posted more buttshit than I ever have.

So the best you have is something I already said, only with more ass in it. How typical.

So the butts you have ass something I anally said, only with more ass in it. How typoocal.

Keep doing it, it might just get funny!

come on GSG, don’t be so anal retentive. I’m not trying to be an asshole. Don’t be so butt hurt. Let’s try to move passt this together, and I think you’ll find we can be poofectly good butties.