- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
Windows tech support for several years, back at college doing computer systems.
- PC Specs
- Samsung N130 windows xp. Vostro desktop running Ubuntu 8.04. Several homebuilt running Ubuntu.
I'm trying to get my JPanel (JFrame?) to resize itself to fit randomly drawn shapes. I have a shape superclass and right now I'm working with my line subclass. Everything is working fine except I can't figure out how to make the shapes fit the size of the JPanel. Should … |
|
Hi all, I have a programming assignment to store sparse matrices using a list<list <myclass> >. I have pretty much everything nailed down but I'm going wrong at some point, the output is incorrect. Instead of giving me 4 lines with the column position and value of non zero values … |
|
Hi guys, I'm a bit stumped at the moment trying to figure out a way to keep track of the following scenario - I want to track a list of events and members of our club who attend them. Each member currently has a member ID as a primary key … |
|
Hi all, I'm mostly into my Java so I'm not even sure if I gave the post a proper heading. Basically I'm trying to read two matrices from the command line and print them out. Reading works as far as I can tell but when my program tries to call … |
|
Hi Guys, These generics are melting my brain.I'm trying to have a list superclass with an arraylist of type T. I then want to invoke the superclass constructor in the subclasses using the type I want to substitute for T, example Product. I'm getting type hiding warnings and quite a … |
|
Hi all, I'm working on a project where I will have 4 ArrayLists of different types of items(stock, sales etc.). I have one list done but there is going to be a lot of duplication between the 4 list types. I'm trying to create a List superclass which will accept … |
|
Re:
Whenever I start a video conference call through MSN messenger, the sound is distorted. If someone is talking to me, all I can hear is a distorted and crackling sound. Can anyone please help? |
|
Hi all, I've been trying to do this for a few hours now, I've seen several suggestions that castin the toArray() method to a (String[]) should work but this results in runtime errors for me. Code is below, any help would be appreciated. Error is with the getStudents() method, there … |
|
Simple assignment - create a java program to print j a v v a j a a v v a a j j aaaaa vv aaaaa jj a a v a a I'm using a 2d array rather than escape characters and print sequences but can anyone thing of a … |
|
Hi all I'm having a bit of trouble wrapping my head around exactly what hiding a class method does, can somebody try giving it to me in plain English? I'm going by the [URL="http://download.oracle.com/javase/tutorial/java/IandI/override.html"]Sun Java Tutorial[/URL] but I find the example a bit vague when it comes to the hiding. … |
|
Re:
Hello, I am having trouble with my sound card on a windows XP machine. It is not any specific manufacturer (It was a machine put together by a local computer shop) When I go into my system information to see my sound device it is comug up blank, also, in … |
|
Re:
Hi I kno i have been around for long time, but i had a problem and thought i would post it on daniweb to see if i can get any help, so here is the problem i have recently bought a belkin n router, and i was left with my … |
|
Re:
I have a static pc linked to a broadband. I now have a laptop and want to be able to use it elsewhere in my home. I have a wireless connection but do not know how to set this up so that i can use my laptop in my conservatory. |
|
Below is code taken from [URL="http://download.oracle.com/javase/tutorial/java/javaOO/QandE/enum-answers.html"]Sun Java Tutorial[/URL]. From my reading of the code the first time this loop executes should it not populate cards[1] with the first card skipping cards[0]? I've tested the code in eclipse and it seems to work properly first populating card[0] so I'm hoping somebody … |
|
Hi guys, Just a quick question, I'm working on a general stack class for use with my card game and rather than creating an overloaded constructor for every single object and primitive type I'm wondering is there a way to supply the data type when invoking a basic constructor? Basically … |
|
Hi all, I'm working through the java tutorials on sun.com and trying to create a card class and a deck class which populates with card objects. Having trouble getting things running and I'm not sure where the problem is, pasted below are the card class and deck class, I'd appreciate … |
|
Hi All, hopefully someone can help me out, I'm using the below code to try and play sound and switch image on rollover, works perfectly in IE but intermittently with broken sound on firefox and not at all on chrome(image swap works fine on all) I've already tried using an … |
|
Hi all, I'm just starting java and had to create a method to return the amount of text messages needed for a message x characters long. I'm having trouble compiling and not sure exactly why [CODE] public void msgsReqd(int msgLength) { int numMsgs, smsLength = 160; msgLength / smsLength = … |