Posts
 
Reputation
Joined
Last Seen
Ranked #1K
Strength to Increase Rep
+6
Strength to Decrease Rep
-1
55% Quality Score
Upvotes Received
84
Posts with Upvotes
58
Upvoting Members
20
Downvotes Received
82
Posts with Downvotes
58
Downvoting Members
12
14 Commented Posts
5 Endorsements
Ranked #341
Ranked #585
~47.9K People Reached
About Me

Well... I'm one of those programming freaks, and I cover everything from network sec. [not in Java though :(] to DB-Programming. Java Java Java. And I know a little bit of C++ too; and I've been designing front-end web applications for the last 6 years,…

PC Specs
Ubuntu Linux 10.04 LTS EditionMicrosoft Windows XP SP2

88 Posted Topics

Member Avatar for Phrren

[CODE]public static int compChoice () { Random rand = new Random(); int i = 0; i = rand.nextInt(2) + 1; //I've changed the statement below. Change it in your original code return i; }[/CODE] Look at the last line. The return statement had not been properly written. You must return …

Member Avatar for stultuske
0
1K
Member Avatar for blackcathacker
Member Avatar for daksh1998

He didn't tell us whether it was a GUI or CUI based application. @daksh1998, non-Graphical-User-Interface programs do not open when you double-click their JAR files on MS-Windows. You will HAVE to use the command line to open non-GUI based Java programs.

Member Avatar for stultuske
0
3K
Member Avatar for warlord902

Correct me if I'm wrong anywhere... Can't you just create an application on FB that can be contacted through your client? It's safer that way; and I guess it solves your access token problem. That's how most of the mobile clients work!

Member Avatar for psychman
0
1K
Member Avatar for uurcnyldrm

What you are looking for is the Desktop API. You can simply write the BufferedImage to a file (temporary, of course), and then use the Desktop API to send the file to the printer (read up on the Desktop API here: [url]http://java.sun.com/developer/technicalArticles/J2SE/Desktop/javase6/desktop_api/[/url] it's pretty easy to manipulate). Then, do away …

Member Avatar for dongiulio
0
642
Member Avatar for paulas24

@paulas24, Ubuntu 10.04 (Lucid Lynx) LTS comes pre-installed with Brasero Disc Burner which can be found under [icode]Applications > Sound and Video > Brasero Disc Burner[/icode]. Hope this helps! :)

Member Avatar for rubberman
0
195
Member Avatar for Vampiricx3

Seriously, dude, it does not matter. Pick any that you are acquainted with, and have already understood the structure of. It's always easier to develop on systems you understand fully. Ubuntu is not a bad choice. Easy-to-learn-to-use ------- Unleash the power of that penguin!

Member Avatar for jbennet
0
289
Member Avatar for SakuyaCross

Joomla was voted as the best CMS over the other last year by a panel of web developers in the so-and-so conference, and you can use it because it's very easy to set it up and go about it - more than th others, except WordPress maybe, but that's for …

Member Avatar for WebOutGateway
0
216
Member Avatar for Violet_82

Try linking it to a stylesheet with the following attribute, [code]media="handheld"[/code] put this attribute in the <link> tag (ext. stylesheets) Dunno much about this, doesn't work always; worked for me once or twice only, a little strange! Maybe something else was doing it/blocking it from doing it? If it still …

Member Avatar for Violet_82
0
211
Member Avatar for karthikprs
Member Avatar for karthikprs
0
3K
Member Avatar for XinJiki

You're looking at the [icode]overflow[/icode] property. Set the [icode]overflow[/icode] property to [icode]scroll[/icode]. [code=CSS]overflow: scroll[/code] This will make your element boxes scrollable, and attach a background using the [icode]background[/icode] attribute.

Member Avatar for XinJiki
0
103
Member Avatar for syfr

What do you mean by [B]linking[/B] an object to another? Like making one object a function of the other?

Member Avatar for syfr
0
444
Member Avatar for ujjwale

You have not set the Java environment properly... Set the path variable!

Member Avatar for javalover
0
137
Member Avatar for nidheeshkumar.r

This will help you in reading the image properties, well some of them, at least: [url]http://docs.oracle.com/javase/tutorial/2d/TOC.html[/url]

Member Avatar for NormR1
0
1K
Member Avatar for TIM_M_91

I recommend that you check out your SQL statement once, and get sure of it's correctness. Also, how are you checking whether/not the fields have been updated? That'll help me in solving your problem better! :)

Member Avatar for TIM_M_91
0
187
Member Avatar for veledrom

[url]http://www.w3.org/MarkUp/html-spec/html-spec_13.html[/url] If your symbols are not here, then what I recommend to you is that you change the encoding to UNICODE. That'll give you a fair bit of Turkish characters to use! :)

Member Avatar for veledrom
0
122
Member Avatar for javedsai

[COLOR="Red"]Buggy? Versions of Internet Explorer any lesser than 9 are all the anti-CSS types. And no, z-index does not work on IE8.[/COLOR]

Member Avatar for javedsai
0
499
Member Avatar for crazymidget01

No, you can delete it, though there is no quick function for doing this, I guess. You can just shift the values of the rows on top of it to that row. For example, if your array is this: X X X X X Y Y Y Y Y Z …

Member Avatar for ejosiah
0
3K
Member Avatar for vmehta91

It all about variable scope, which I'm sure you're aware of. Do it as zeroliken said, he's right.

Member Avatar for JamesCherrill
0
941
Member Avatar for yuvaece

Though we don't do other people's homework for them, and will not help you if you haven't done anything yourself, but since your post was marked [B]urgent[/B], you may have a look at this: [url]http://stackoverflow.com/questions/2399150/convert-rgb-value-to-hsv[/url]

Member Avatar for stultuske
0
110
Member Avatar for MichaelCJ10

Please edit your posts: wrap your code around the [code] tags for a little more clarity, then we'll see what we can do for you. :)

Member Avatar for MichaelCJ10
0
121
Member Avatar for dantinkakkar

I'm currently developing a program that has a lot of different, say, components to it that have to be linked together in some sort of manner. Now, what I wanted to ask is, is it viable to create all of the components as separate executables and access them programmatically?

Member Avatar for JamesCherrill
0
120
Member Avatar for ickyrr

These links are what you need, I guess: [url]http://docs.oracle.com/javase/tutorial/uiswing/index.html[/url] (Swing) [url]http://docs.oracle.com/javafx/index.html[/url] (JavaFX) [url]http://docs.oracle.com/javase/tutorial/2d/index.html[/url] (Image Manipulation) Hope this helps! :)

Member Avatar for JamesCherrill
0
229
Member Avatar for gatechie

@gatechie, can you be a little more clear? I really don't understand how you're gonna use a [icode]PrintWriter[/icode] instead of a [icode]BufferedReader[/icode]!

Member Avatar for dantinkakkar
0
1K
Member Avatar for h0427

[QUOTE]Hi, I'm working on a project and I am stuck on the AccountTest.java right at where the program is supposed to process the transaction-code within a while-loop. Below is the pseudocode for that was written for this particular assignment. This is my first post so I hope that I've formated …

Member Avatar for dantinkakkar
0
4K
Member Avatar for dantinkakkar

There's someone who downvotes 5-10 posts of mine everyday, and not like bad posts, whoever it is downvotes my good posts which have already been upvoted! I cannot understand why the person in concern is doing this; this is not community spirit! I request an admin for help: I'm not …

Member Avatar for dantinkakkar
4
227
Member Avatar for RazorNapster

[QUOTE=RazorNapster;1754311]Couple of friends and me came to an idea of making our own distribution.Our idea is to make Linux distribution suitable for not so geeky people(eg.older people like your mom or dad,or young people like children in elementray scholl).Thats how we started making Ubuntu Home Edition.Linux distribution based on Ubuntu …

Member Avatar for RazorNapster
0
346
Member Avatar for essaydoctor

What you're looking at is a good bit of JavaScript work. You'll need to trim the string from the '@' part, and put the rest, to rest. I really don't know how you are going to find the name of the college exactly, though you can always create a database …

Member Avatar for stultuske
0
234
Member Avatar for M.Waqas Aslam

Lol, to the asker: I agree completely with stultuske. You're better off coding sans an IDE, that will definitely help you learn the language better. But what you asked for - a .NET-based IDE WAS available, it's not available now, called Visual J++ (By Microsoft). It was their implementation of …

Member Avatar for M.Waqas Aslam
0
176
Member Avatar for nickliutw

Yes, please do that. You may be going wrong during the printing part. If [icode]AccountRecord.ser[/icode] is to be created while writing, as it seems from your code, you will have to define the file first, and then use the [icode]<newly_created_file's_object>.createFile()[/icode] method and [B]only then write to it[/B]. Hope this helps! …

Member Avatar for dantinkakkar
0
152
Member Avatar for .kaine

Or you may want to go ahead and toil for around one year learning server-side scripts, PHP/MySQL, HTML, CSS, etc. etc. If you're learning, though, do visit [url]http://www.w3schools.com/[/url] If you wanna search for someone who can do this, then, search. Oh, and Google does provide an excellent form builder that's …

Member Avatar for peter_budo
-5
309
Member Avatar for riahc3
Member Avatar for davy_yg
Member Avatar for 47pirates

This thread was on the same topic, though it wouldn't have come up on search since the name's a little irrelevant. The concept of private chat has been fully explained, better check it out: [url]http://www.daniweb.com/software-development/java/threads/413096[/url] Does this solve your problem? Reply if you need any more [B]specific help[/B].

Member Avatar for dantinkakkar
0
145
Member Avatar for softDeveloper

Try this - seems fine to me; you can hack into the JavaScript if you want to adjust the speed! [url]http://www.kryogenix.org/code/browser/smoothscroll/#p3[/url] [url]http://www.kryogenix.org/code/browser/smoothscroll/smoothscroll.js[/url] [CODE=Javascript] // Now loop all A tags until we find one with that name var allLinks = document.getElementsByTagName('a'); var destinationLink = null; for (var i=0;i<allLinks.length;i++) { var lnk …

Member Avatar for Troy III
0
156
Member Avatar for gedas

@James, I think he means "words" by saying tokens, because, as he said, he wants "this" from "i want this". So I guess he wants to extract the third word. [EDIT: Almost forgot this; dude gedas use a loop and a variable, name it as, say word_count and initialize it …

Member Avatar for JamesCherrill
0
1K
Member Avatar for 47pirates

That's what transfer protocols are for. As long as you abide to them, you will not face any cross-language incompatibilities. This reply is to the best of my knowledge, though you may want to give it a practical try once. Lemme explain; suppose I build a java client to send …

Member Avatar for dantinkakkar
0
171
Member Avatar for Stjerne

[CODE]try(output = new DataOutputStream(new FileOutputStream(filename)))[/CODE] is wrong. This is incorrect try... catch syntax. [code]try { // } catch(Exception e) { // }[/code]

Member Avatar for JamesCherrill
0
155
Member Avatar for dean8710
Member Avatar for dean8710
0
102
Member Avatar for ZeroEddy

Do you have it uploaded somewhere? If you do, I can help you better. If you can not do it immediately, don't. I'll review your code afterwards! :) A link is better anyday, however.

Member Avatar for Philippe.Lahaie
0
171
Member Avatar for adil_bashir

Convert it to [icode]long[/icode] first using [icode]Long.parseLong()[/icode] and then convert the [icode]long[/icode] to [icode]BigInteger[/icode] using [icode]BigInteger.valueOf(long val)[/icode]. Cheers! :)

Member Avatar for adil_bashir
0
1K
Member Avatar for TIM_M_91

These links should prove useful to you: [url]http://www.deitel.com/articles/java_tutorials/20060422/PlayingVideowithJMF/[/url] [url]http://docs.oracle.com/javase/tutorial/sound/index.html[/url] Note that I've provided the link to the sound tutorial since the user may want to change the volume of audio output too. For the rest, have a look at the first link, and best of luck! :)

Member Avatar for TIM_M_91
0
482
Member Avatar for deucalion0

@weekendrockstar is right. You can use CSS to do that... It'll make it damn easier... If you don't want anything to move around then I suggest to you to use absolute positioning. Since your content is already inside a <div>, it ain't gonna get affected! :)

Member Avatar for deucalion0
0
145
Member Avatar for Hitman Mania

Umm... What I suggest is, take two global variables [icode]frmc[/icode] and [icode]buttonc[/icode], and if they're equal to 0, add them up by 1 every time a JPanel/JButton is clicked. When both of them are equal to 1; do whatever you wish to.

Member Avatar for JamesCherrill
0
168
Member Avatar for adil_bashir

Funnily... [CODE]public class test { public static void main(String[] args) { long hyz = (long) Math.pow(11.0, 23.0); hyz = hyz%187; System.out.println(hyz); } }[/CODE] Output = 161? Also, I edited your code a bit and checked... [CODE]int c = 11; int d = 23; int n = 187; long dt; dt …

Member Avatar for dantinkakkar
0
167
Member Avatar for aagthosting

1. The username and password don't match/work/account not up yet. 2. You haven't told us what the old elements are exactly, so how are we supposed to recognize them? Please resolve these issues and get back to me [post on this thread]. Then I'll see what I can do! :)

Member Avatar for dantinkakkar
0
490
Member Avatar for igotaquestion
Member Avatar for bo0ga

You must use JavaScript. This is not the correct board. Please refer to the JavaScript Forum. I think you must have confused JavaScript with Java. They're different. JavaScript is an Internet scripting language, while Java is a full-fledged programming language. You shouldn't have deducted a repo from him for that.

Member Avatar for zeroliken
0
121
Member Avatar for miss_lovely

[CODE][/CODE]So, it is for simple interest or compunded interest? The calculation is pretty different for both of them, see. If you would explain further... And as for the JOptionPane.showMessageDialog() part, try this code: (Replace your text with it's text) [CODE]JOptionPane.showMessageDialog(null, "alert", "alert", JOptionPane.ERROR_MESSAGE); [/CODE]

Member Avatar for ztini
0
186
Member Avatar for ZeroEddy

You're going wrong there. Suppose your index.html file is located at the root [icode]/index.html[/icode] and your about folder is located in the same folder [icode]/about[/icode], you will access it using [icode]/about/whatever.html[/icode]. I hope your problem is solved now.

Member Avatar for dantinkakkar
0
156

The End.