Forum: *nix Hardware Configuration Aug 14th, 2007 |
| Replies: 5 Views: 3,676 :-/
It works in Ekiga... poorly.
But not in Kopete, or Camorama.
Perhaps it's a configuration issue, and it would otherwise work fine. By unsupported I vaguely meant that Logitech hasn't... |
Forum: *nix Hardware Configuration Aug 13th, 2007 |
| Replies: 5 Views: 3,676 The cam is Logitech QuickCam for Dell Notebooks
The mic is QuickCam for Dell Notebooks mic
I've had it running on Ubuntu in Ekiga. V4L and V4L2 are installed, etc.
The heating might even be the... |
Forum: *nix Hardware Configuration Aug 12th, 2007 |
| Replies: 5 Views: 3,676 Heyo
My laptop has a webcam and a mic built-in on top.
The laptop is XPS M1210
The distro is Kubuntu 2.6.20-16-generic
The problem I've had, ever since I bought the laptop and installed... |
Forum: Java Apr 10th, 2007 |
| Replies: 1 Views: 1,019 Hey! There has been a question on my mind for a while regarding the JRE and the class loader (or, loading classes into RAM if it's different).
Java classes define variable members, methods, and... |
Forum: Java Mar 28th, 2007 |
| Replies: 3 Views: 1,831 Have you researched this?
Perhaps, and especially for questions such as yours, you should check Google or some other appropriate search engine for results.
You seem to know the words "Java" and... |
Forum: Java Feb 18th, 2007 |
| Replies: 8 Views: 1,354 One reason for the "no" is that Java uses Java-specific resources.. Take the hundreds of importable classes, for example. Take swing, awt, net, etc, etc, and realize that all of these packages were... |
Forum: Java Feb 17th, 2007 |
| Replies: 2 Views: 1,073 You have to analyze the input one character at a time...
Say we have a string: myString
Set up a for loop with a lower limit of 0 and an upper limit of myString.length()-1 inclusive
Read... |
Forum: Java Feb 16th, 2007 |
| Replies: 7 Views: 1,827 Good thoughts. I've always been a strong supporter of the "open source" concept, even though (as you've made it clear) the source need not be distributed for another programmer to find out how the... |
Forum: Java Feb 16th, 2007 |
| Replies: 7 Views: 1,827 Yea, like someone in serious need of "homework help".
Jars are just another archive-type file.. The purpose is to hold a number of files under a common name, "myfile.jar", to keep organized and to... |
Forum: Java Feb 14th, 2007 |
| Replies: 4 Views: 1,220 Hmmm. I can't be super helpful before I fall asleep tonight, but..
First thing is working with Generics (http://java.sun.com/docs/books/tutorial/java/generics/index.html)
Regular expressions?... |
Forum: Java Feb 12th, 2007 |
| Replies: 3 Views: 2,867 *squints at code*
.....
Haha, silly me. I missed this at first glance.
1) instead of *.addActionPerformed(this); use *.addActionListener(this);
2) e.getSource() returns an Object, and... |
Forum: Java Feb 8th, 2007 |
| Replies: 3 Views: 965 Unplug the keyboard.
Or write the impossible virus.
Not sure what you want to know...
Locking, aka, disabling input?
Input to the entire system?
I dunno if Java can do that.
Maybe if... |
Forum: Java Feb 8th, 2007 |
| Replies: 6 Views: 2,912 Does (ballX, ballY) represent the center of the ball, or the top-left edge of the bounding square?
For one, this if statement looks somewhat "iffy":
if (ballY < 0 || ballY > (getHeight()-25) &&... |
Forum: Java Feb 8th, 2007 |
| Replies: 4 Views: 919 import java.io.*;
import java.util.*;
import Employee;
The problem is with import Employee; --- you can't import classes from the same package without at least giving the package... |
Forum: Java Feb 7th, 2007 |
| Replies: 0 Views: 5,893 Often we're faced with the need to represent primitive data types as readable/writable bytes that can be sent through a data stream. In Java, there are classes such as... |
Forum: Java Feb 7th, 2007 |
| Replies: 3 Views: 1,075 Is there any way we can filter threads like this from being posted? Or, can they be removed? I'm not sure, but I think DaniWeb could go without such dribble as do-my-homework demands. |
Forum: Java Feb 7th, 2007 |
| Replies: 4 Views: 1,838 Oh my.
For one, I think this is how you meant to represent your code:
class Rev {
char a[];
char i=3;
void str() {
for(i='A';i<'D';i++) { |
Forum: Java Feb 5th, 2007 |
| Replies: 7 Views: 22,503 I was thinking the same: wonderfully, unnecessarily large, but, that's how I used to code when I first started out. Make friends with arrays. Your exact program - the logic and all - could be... |
Forum: Java Feb 5th, 2007 |
| Replies: 1 Views: 3,183 Alright!
I love answering my own questions. I hope that someone can learn something from this!
I conducted two tests. The first test locks the entire myArray array. The seconds locks a... |
Forum: Java Feb 5th, 2007 |
| Replies: 1 Views: 3,183 My question today is regarding multidimensional arrays, and synchronization.. I'm working on a client/server project and I'm not sure about the theory of an idea I came up with:
I have an array:
... |
Forum: Java Feb 2nd, 2007 |
| Replies: 3 Views: 1,340 :o I noticed that little capital after posting.. Just didn't change it. Please excuse any naive stylistic choices, as I'm not yet completely accustomed to "convention".
And I did stumble upon the... |
Forum: Java Feb 2nd, 2007 |
| Replies: 3 Views: 1,340 Hi! I'm looking to learn something today, and I have just the question.
In writing a recent program, I found no Java method suited to compare two byte arrays. Maybe the method exists, or maybe... |
Forum: IT Professionals' Lounge Jan 12th, 2007 |
| Replies: 2 Views: 1,549 Hi.
I'm not sure where this belongs, but it'll be fine here.
I came up with an idea for a website/service..
It's a really good idea.
I've searched, and searched..
I've found nothing like my... |
Forum: Java Dec 28th, 2006 |
| Replies: 20 Views: 148,395 Only way I know how to emulate a switch on strings, and this has already been mentioned without example code, is like the following:
void StringSwitch (String str) {
if (str == null) { /* If the... |
Forum: Java Dec 28th, 2006 |
| Replies: 3 Views: 1,793 So I've run into this situation a million times in my "learning career" and I've always found a long way around the issue so as not to risk throwing unnecessary exceptions..
Let's look at a simple... |
Forum: Window and Desktop Managers Dec 5th, 2006 |
| Replies: 5 Views: 14,658 Hi.
I've had this problem with all my ubuntu installations (two, to date), and I can't find my way around it..
Even when I switch to runevel 3, by booting with special options or typing telinit... |
Forum: IT Professionals' Lounge Dec 3rd, 2006 |
| Replies: 2 Views: 1,522 Hey!
This is a "style" question.
Is there some defined custom for the order in which parameters are given to a function, or does it depend entirely on the programmer's stylistic preference? What... |
Forum: Java Dec 3rd, 2006 |
| Replies: 9 Views: 5,114 BECAUSE, that's not fun.
I "play" with Java to learn.
I know there's an easy way around everything, and if this were my job, I'd probably take the easy way. I, however, like to learn, and I like to... |
Forum: Java Nov 24th, 2006 |
| Replies: 9 Views: 5,114 Long post, I know, but I just discovered:
Likewise, for the chararray-to-int method:
(it doesn't work properly any other way. Try 2147483647 as the value.)
public static int ToInt (byte[] data)... |
Forum: Java Nov 24th, 2006 |
| Replies: 9 Views: 5,114 SO, I'm playing around with an idea. I'm trying to convert primitives to and from a char array for file logging. I've got all the details worked out, but I don't understand something.. Take the... |
Forum: Java Oct 23rd, 2006 |
| Replies: 3 Views: 6,058 Ahh! Thank you very much!
I reliased today when I found the "This project is not JDK 1.5 compliant" error that my workspace wasn't configured for 1.5, so I checked workspace settings and, sure... |
Forum: Java Oct 20th, 2006 |
| Replies: 3 Views: 6,058 I installed Ubuntu Linux this morning and got java jdk 1.5.0_09 installed, along with Eclipse, and then I imported a project I've been working on into the Eclipse workbench.
All configuration is... |
Forum: *nix Software Oct 9th, 2006 |
| Replies: 1 Views: 1,086 I found this odd...
Sometimes, and only sometimes, when I turn of on my laptop and log in, my sound system fails to function. No tune is played at startup, xine can't initialize sound drivers,... |
Forum: Storage Oct 7th, 2006 |
| Replies: 1 Views: 1,075 Hey! So, I have a laptop installed with both Windows and Linux.
Linux comes first, logically, so its partitions fill up the first 90 Gigs of my HD.
Windows comes at the Very end, filling the... |
Forum: Java Oct 6th, 2006 |
| Replies: 2 Views: 3,527 I hardly understand what you're doing or why, but here's the recursive solution.. Recursion is unnecessary and stack-dangerous, by the way. (StackOverflowErrors are ugly). Using a StringTokenizer is... |
Forum: Java Oct 6th, 2006 |
| Replies: 1 Views: 1,063 I think the proper way to escape Quotes is
"Here is some \"Text inside Quotes\"" :rolleyes:
And no. It's not platform-independent.. That would be the File Separator, which is "\" in Windows... |
Forum: Java Oct 6th, 2006 |
| Replies: 4 Views: 2,542 I think I may know what you're talking about, as I faced the apparent issue myself just last week. It was quite something. If I've misunderstood and all the following information is unrelated, then I... |
Forum: Java Oct 5th, 2006 |
| Replies: 0 Views: 1,466 Hi! Here's my scenario:
I have an application that utilized the DatagramSocket class. I also have a favorite Port number that I would like it to connect to Every time I load the application. One... |
Forum: *nix Software Oct 1st, 2006 |
| Replies: 2 Views: 1,427 So I've been having a problem with Gaim, the chat client, on both of my systems. Actually, I've reinstalled linux on them both atleast once, and each additional time I install Gaim, I get the same... |
Forum: Troubleshooting Dead Machines Sep 23rd, 2006 |
| Replies: 2 Views: 1,554 Hey.
My question is, can laptops have startup problems if they're cold? If the answer is No, or They Shouldn't, then I will call the depot and interrogate them as to Why my computer fails to start... |