No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
85 Posted Topics
Hi Manisha, I tried the exact same thing you are attempting to do. I found that it is possible but very difficult (I never did it) I found the best way is to just launch cmd with arguments.
Hey guys, I just reinstalled Windows on my machine, and the sound is SUPER quiet (barely audible). Here is what I have: [LIST] [*]Speakers (that work and use external power) [*]Asus P5S800-VM mobo (yes the AC'97 is enabled in BIOS) [*]Up-to-date drivers (freshly installed; I tried reinstalling no change) [*]All …
Hey guys, I have: [CODE=java]submitButton.addActionListener(new ActionListener() { @Override public void actionPerformed(ActionEvent e) { System.out.println("Hello World!"); } });[/CODE] in a class that [ICODE]extends JDialog[/ICODE] but it doesn't work. How can I get an action listener working in a JDialog? Thanks PO
Hey folks, I'm a student and I have been using Blue J. I have found it rather primitive and was wondering what the majority of other java programmers like to use? I thought about Net Beans but I honestly have no idea, So what do you use ?
Hey guys, I'm looking for articles on GUI's for touch screens. Preferably on larger ones, Ie. iPad size. I'm looking for something that just goes over the theory of what makes a good user interface for a touchscreen environment. I looked around couldn't find anything relative, I'm hoping some of …
Hello, I'm working on a web scraper of sorts, my main goal is data, I was wondering what a good, efficient way of organizing the data that I'm downloading is? Here is what I have, I download the webpage, and ends up as a FileReader object, then I send it …
Hey guys, I want to know how you guys parse html. I'm writing a program to compare products on a website. I already have a system that scrapes the websites. I looked at HTMLParser, I'm a little confused on how to use it, I was thinking about writing my own …
hey guys, I'm using eclipse C++ and the minGW compiler. I am trying to write a header file, and in my src folder, I have HelloWorld.cpp, and HelloHeader.h I'm getting "file or directory not found when I add: [ICODE]#include<HelloHeader.h>[/ICODE] could anyone help me out? Cheers PO
Hey guys I got this: [url]http://anubis.iseclab.org/?action=result&task_id=1d6bac2290116b4f451943bdef5f2eca6&format=html[/url] from a link on the infamous 4chan website...a friend thought it'd be funny to send me a link and now I have this virus...I have connected to their IRC and seen their botnet...how can I get rid of this!? Thanks PO edit: just thought …
Hey guys, I am starting a project using eclipse team CVS the problem I am facing is when my team grabs a copy of my project it doesnt give them a referenced library. I have googled and cant figure out how to fix! thanks PO
Hey guys I am calling two images using the code below, the first image called shows up when run, and when compiled into a executable jar. The other image shows up when run in eclipse but not when compiled into an executable jar: Here is the code: [CODE=java]image = Toolkit.getDefaultToolkit().getImage(this.getClass().getResource("myPicture.png"));[/CODE] …
Hey guys, I'm using a Point array to transfer to my panel class that draws the image. The reason I'm using coords is because it shows where the character is in the tileset for directions Ie. (20,5) is right step facing up. anyway its coming up with null pointer and …
Hey guys I'm trying to export my game from eclipse to an executable jar. When I launch it in eclipse it works perfectly. When I export it nothing happens and when I launch it through console i get this: [url]http://img697.imageshack.us/img697/899/errordc.png[/url] and I have main class [CODE=java]public class main { public …
Hey guys, I have two JPanels for my game, one jpanel shows my character, informational text and the other shows the map which is made up of a tileset. Is there anyway I can show the map behind the character and information without merging the two java files? the Map …
Hey guys I'm using Tiled (mapeditor.org) for the mapping in my game and I have made a few maps, and started implementing them in my game. The first thing I had to do was decode them from base64, then gunzip the string. Now I am on the last step and …
Hey guys I am playing around with tiled (tileset mapping system) it outputs the maps in an xml style format the core data of where the image pieces go in base64 gzip. [CODE=xml] <data encoding="base64" compression="gzip"> H4sIAAAAAAAAAO3DAQ0AAAwCIHuY4v3LGeSw0UuqqqpPDh0GsvgACwAA </data>[/CODE] I'm not sure where to go to unzip this string, I have …
Hey guys I am making a 2d RPG style game. I have a series of small images for each character choice, npc, etc which is integrated to each movement, how do you recommend I store these? Ie. Compile into a zip archive or jar archive...or just a folder within the …
First step would be, find if your Brand Company allows open development for the model. I own a Samsung instinct and I know Sprint offers emulator, api's and sample code for testing. Otherwise you might have to buy a development package including a special version of the phone, software, and …
Hey guys, I am making a block breaker type game. One panel houses the background, and one panel has the bricks, paddle, and such. and the other has the background. In my main class when I add the panels in this order: [CODE=java] add(new BrickBoard()); add(panelbg); [/CODE] the background image …
Just acquired a large quantity of wyse thing client terminals, 15" LCd monitors, keyboards and mice. What should I do with them all?
Hey guys, I'm working on a project with a few friends, and I want to share everything with them. I setup a SVN, but that only seems to do code. I'm the programmer, my two other friends are graphic and modeler. Is there a good way (similar to SVN) that …
Hey guys, I have a wicked web host that provides me with FTP. I have tons of space and a great connection on the server. The problem I am having is I have a piece of software that is 1.6Gb's and I need to upload it. My ISP knocks me …
Hey guys, I have been given the task of attempting to recover some data from a hard drive. This is what I know: -The hd failed the READ test, READ VERIFY test, and Internal Cache test. -When I plug it in using IDE cables, or using a IDE->USB external case …
Hey folks, Now java may be the wrong language for this but I would like to get a motion sensor program going (if possible). Basically I already have hooked my webcam up, and can import it to a window via java. I am trying to find a way to basically …
Hey I am sitting around here on my summer semester break. I am curious if anyone here is a java developer and actually makes good money at it? Basically I would like to know what kind of stuff you do, where you work from, office, home, etc. I'm just curious …
I am trying to execute a exe file within' a jar file. My question: 1. How do I locate the exe within' the jar? I am using the [ICODE]runtime().exec()[/ICODE] to launch it. Right now I have to extract it then launch it, then after it's finished delete it. Thanks PO
you could pre program the info into a class using the robot api. Though your computer would be unusable while it's running. That'd be easy to do...as long as resolutions are not changing.
Hi Guys, I am using JMF and a guide ( [url]http://www.mutong.com/fischer/java/usbcam/[/url] ). The problem I am facing is that I can't figure out how to output the data live as I take it in. Basically, I want to use my webcam as a mirror. Thanks PO
hi ithelp, as far as I know because of java's "safety" limitations it has difficulty working with other applications in this sense. I think it would be very difficult if not impossible... though I don't consider myself an expert nor should anyone else... PO
Do you want the code or do you want to write the code? Upload the file to where? like FTP? or send to another person? JFileChooser sounds like it would be the best place to start at this point.
Hi Folks, I am having difficult with a program. I have a program that downloads a file to the directory it is being run from and I need to move it to another one after its done downloading. I found code that should do it but it keeps failing, and …
I find that three beeps means either video card (usually not plugged in properly; maybe it's jarred a bit) or RAM. if the computer fell either of these could be the case, pop it open and make sure everything is secure, or take it out and put it back in.
Honestly I would throw it on your desk, plug the computer into a power bar stick a new cable in and turn it on, if it starts to smell like burning plastic turn it off (via power bar as to not danger yourself)
try this, [url]http://www.microsoft.com/windowsxp/using/setup/tips/advanced/ntfs.mspx[/url]
Hi Guys, I have been googling for a while, I think the problem is I don't know what I'm looking for is called. I want to write a program that watches my screen (I assume it would take screen shots really fast) and then analyzes them finding the moving pixels. …
Hi guys, I work at an internet cafe as a technician, and the own wants customers to be able to create their own Warcraft 3 games. I found the ports (6112-6119), but there are not enough forward spaces in the router (linksys) to forward every computer (not to mention i …
I guys, I am working on a program that does remote desktoping and I am finding the biggest issue is that most people have routers which block most ports. What port do you recommend to create the least amount of difficulties with routers. (This program will be used for technically …
I don't know if this helps but you could use JXTA (p2p via java) OR when I was in need of a chat system I used PIRC a java api for making IRC bots, works just as well making a chat system when integrated with a gui. here is the …
Hi guys, I am trying to use JavaWebstart to launch a application i have developed. I have two problems: 1. It doesn't launch in Firefox but it works in IE7 2. After loading the file says Unable to Launch Application Here is the link[URL="http://nerdaid.ca/offsitelaunch.jnlp"] http://nerdaid.ca/offsitelaunch.jnlp[/URL] please check it out let …
Hi Guys! I am trying to get a scroll bar to go to the lowest position possible. I am using a chat program and it bothers me that I have to scroll down to see new messages! I googled around and found lots of answers for flash, and other languages …
Hey guys, I am writing a small script that requires me to make text that is within a textArea multi coloured. I will show an example in the quote box below: [QUOTE] [COLOR="red"]Hello, How are do you?[/COLOR] [COLOR="green"]I am Fine, how are you?[/COLOR] [COLOR="red"]Great![/COLOR] [/QUOTE] I was wondering if there …
Hey guys, I want to writing a program that clicks. I want to be able to specify the area it clicks. Anyone know how to do this? I googled a bunch and couldn't find anything even close to this.
Hi guys, I am trying to execute a .jar executable within a java file but nothing happens, no errors, just nothing in general! [CODE=java]public void executeCmd(){ Runtime run = Runtime.getRuntime(); try { Process proc = run.exec(cmd); } catch (IOException e) { //sendmessage saying there was an error } }[/CODE]
Hey guys, I am trying figure out a way of updating my program. Since I am a newbie to programming I have no idea where to start. My first idea was to download a new jar, launch it, kill the old app, and then delete it with the new one …
Hey, I am writing a program and it requires me to place a file on the desktop. I know in cmd prompt you can use %USERPROFILE% to do it. Is there java equivalent? Thanks PO
Hi, First thing is layout your structure on paper, or a big white board (thats what I have in my room, 35$ at walmart :P) Then setup your basic layout in a program like eclipse. If this makes no sense to you start here [URL="http://www.daniweb.com/forums/thread99132.html"]http://www.daniweb.com/forums/thread99132.html[/URL] This is the beginner section.
Hey guys, I wanna download a file to a certain directory on the computer. I have code that downloads to the same place where it's launched but I want it to download the files do another directory. (This isnt my code I found it on a tutorial) Here is the …
Hey guys, I want to make a program copy output from a Command Prompt window, any idea how I can accomplish this? In my program I want to have a console type menu so the user can watch what is going on. Thanks PO
Hi Guys, I am trying to get a program I made to auto-start on my computer, but I don't wanna use the "startup" folder. How do these other programs automatically start? I went to my "msconfig" and then to the startup tab and found references to "HKLM\SOFTWARE\Microsoft\Windows\CurrentVer..." and I looked …
Okay I will help you out with the basic structure of your program. Firstly get the inputs. (and a if statement that figures out which number is larger. Secondly the loop. IE [ICODE]for(int i=smallerNumber; i<biggerNumber; i++)[/ICODE] good luck!!
The End.