dantinkakkar 19 Junior Poster

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

dantinkakkar 19 Junior Poster

You're looking at the overflow property. Set the overflow property to scroll .

overflow: scroll

This will make your element boxes scrollable, and attach a background using the background attribute.

dantinkakkar 19 Junior Poster

http://www.w3.org/MarkUp/html-spec/html-spec_13.html

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! :)

dantinkakkar 19 Junior Poster

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! :)

dantinkakkar 19 Junior Poster

You're looking for file input and output. The Java Tutorials would help you here.

This link is one of the best available, I guess:

http://docs.oracle.com/javase/tutorial/essential/io/

dantinkakkar 19 Junior Poster
background:url(../images/bodybg.jpg) repeat-x 0 0;
	background-color:#1a3c4b;
	/*height:3000px;*/

The background-color might be interfering with the image. Try removing it, and then view it on IE8. Just a suggestion because IE8 does god-knows-what to perfectly valid CSS...

dantinkakkar 19 Junior Poster

It is coming up on my IE9 and Firefox and even Chrome! Give me a little more time, and I'll add something to this reply.

dantinkakkar 19 Junior Poster

Won't that be very data-consuming? OR if you are going through the same array again and again, at the point where you wanna delete a row/column, copy out that array EXCEPT that row/column into another array, and then re-initialize your old array, and copy back the values into it. That way, you can use the same two arrays and get your work done easily.

dantinkakkar 19 Junior Poster

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

dantinkakkar 19 Junior Poster

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 Z Z Z Z
N N N N N

To delete the, say, second row, that is Y Y Y Y Y, just move the rows below it by one.

dantinkakkar 19 Junior Poster

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 urgent, you may have a look at this:

http://stackoverflow.com/questions/2399150/convert-rgb-value-to-hsv

dantinkakkar 19 Junior Poster

@Violet82: I meant this:

<img src="image.jpg" width="200" height="150">

This was how we resized images seven to eight years ago. I think it's gonna work, but you gotta give it a try first.

dantinkakkar 19 Junior Poster

Java will link to classes in other jars at run time without any difficulty.

That solves my problem, thank you. :)

dantinkakkar 19 Junior Poster

So basically you want to store the number in a separate PDF file after extracting it or what?

dantinkakkar 19 Junior Poster

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. :)

dantinkakkar 19 Junior Poster

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?

dantinkakkar 19 Junior Poster

No worries there :)
Lets get back to solving his problem, shall we?

@gatechie: Just give the following link a read:

http://docs.oracle.com/javase/tutorial/essential/io/index.html

(I'm not trying to be insulting or any of that stuff, I'm just saying that this will give a you a clear idea of file I/O. :) )

dantinkakkar 19 Junior Poster

What? Why should I do that? You're still not understanding me - I'M SAYING: you cannot replace an input reader with an output writer!

dantinkakkar 19 Junior Poster

@ejosiah, you didn't understand what I said... That's what I meant! How can someone replace an input reader with an output writer! Tha's what I meant.

dantinkakkar 19 Junior Poster

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

dantinkakkar 19 Junior Poster
dantinkakkar 19 Junior Poster

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

dantinkakkar 19 Junior Poster

By saying "default HTML attributes", I was referring to the height and width attributes of the <img> tag. They'll work hands down on mobile versions.

But wait, what's the predicament you're facing now?

dantinkakkar 19 Junior Poster

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

dantinkakkar 19 Junior Poster

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 everything correctly. Your help is much appreciated!

Can you specifically quote exactly what problem you are facing?

dantinkakkar 19 Junior Poster

@happygeek, I share the same suspicion. Won't take any names publicly, no proof. And after that flamed thread I was even called an a**ho*e on PM. Reported it... I'm ignoring the downvotes, I was concerned since I think someone's using a script to do so.

@priteas, I don't mind any legitimate downvotes...

@deceptikon... Yeah, I even got into a miniwar with an asker in the it pros forum.

Though I'm ignoring the -ve posts, is there a way of detecting whether or not a script has been used?

happygeek commented: looks like he's arrived here as well... so some + rep to help redress the balance +0
dantinkakkar 19 Junior Poster

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 saying that you should upvote my posts, at least find out who's doing this so that I can amicably resolve the matter with the person! Yesterday night, I'd 2 posts which were negative and now? Eight. I had 7-8 positive ones, and now? Two.

# Unique Posts Receiving Down-Votes: 23
# Members Who've Down-Voted: 9

Of this, I've checked, 7-8 are legitimate downvotes, by unique members. The rest? anonymously downvoted posts! And that too, on upvoted posts!? You can check my profile, too.

Thanks In Advance,
Dantin Kakkar

jbennet commented: quit whining about it +0
~s.o.s~ commented: Doesn't deserve a down-vote IMO +0
happygeek commented: Certainly doesn't deserve a downvote or the treatment you got for asking - upvoted and +repped here +0
ujjwale commented: agreed with happygeek and s.o.s +0
iamthwee commented: I am an upvoting troll +0
dantinkakkar 19 Junior Poster

Try linking it to a stylesheet with the following attribute,

media="handheld"

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 doesn't work, try using the default HTML attributes for image resizing

Hope this helps! :)

dantinkakkar 19 Junior Poster

Ya, I don't deny. :)

Just tried to put it in simple terms for the asker's benifit, 'coz I faced the same issue when I was a Java learner one and a half years ago... :P
Dunno whether I was successful, though :D

dantinkakkar 19 Junior Poster
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;
}

Look at the last line. The return statement had not been properly written. You must return a value.

You had forgotten to return a value here, too! (Below)

public static String choiceTree (int player, int comp)
       {
           String answer = " ";
           if (player == 1)
           {
               if (comp == 2)
               {
                   answer = "You lose.";
               }
               if (comp == 3)
               {
                   answer = "You win!";
               }
           }
           if (player == 2)
           {
               if (comp == 1)
               {
                   answer = "You win!";
               }
               if (comp == 3)
               {
                   answer = "You lose.";
               }
           }
           if (player == 3)
           {
               if (comp == 1)
               {
                   answer = "You lose.";
               }
               if (comp == 2)
               {
                   answer = "You win.";
               }
           }
           else
           {
               
           }
           //look at the line below... Add this to your original code
           return answer;
       }

P.S. I've corrected your code at both of the places! :)

dantinkakkar 19 Junior Poster

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

dantinkakkar 19 Junior Poster

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.

dantinkakkar 19 Junior Poster

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 Java, but has been discontinued now. Just for a little history-related knowledge, see http://en.wikipedia.org/wiki/Visual_J%2B%2B

It's not available now, and as for the IDE-war peter, NETBEANS #1

DavidKroukamp commented: netbeans all the way!! +9
dantinkakkar 19 Junior Poster

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:

http://www.daniweb.com/software-development/java/threads/413096

Does this solve your problem?

Reply if you need any more specific help.

dantinkakkar 19 Junior Poster

See what James has posted, check the java tutorials.

dantinkakkar 19 Junior Poster

Read this first:

http://en.wikipedia.org/wiki/File_Transfer_Protocol

It describes the exact communication methodology used for transfer of Files from server to client. For more detail, refer to the external links at the end of the page which is being linked to.

If you have the python code under control, make it as per FTP specifications and do the same with the Java code. Then, give a run to your project - it should work fine.

To make your client as per FTP, you can use an API to simplify things. This thread should help you: http://stackoverflow.com/questions/295178/what-java-ftp-client-library-should-i-use

dantinkakkar 19 Junior Poster

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 a connection request to "wwww.google.com" using the URI connection classes in the JDK, I get a valid reply consisting of the html for the page. The client in this case is in Java, while the server, most probably, is not.

dantinkakkar 19 Junior Poster

@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 to 0. Loop through your string and increase word_count by 1 for every space you encounter. After the second space, you'll be on the third word. Loop through and record the String till the next space, and print to the screen.]

Philippe.Lahaie commented: James way is more efficient, thats what split() does. -1
dantinkakkar 19 Junior Poster

But your navigation bar's perfectly horizontal!

dantinkakkar 19 Junior Poster

"MS" "Frontpage", in which allows the IT person to design the basic form or forms....

Cause I have "googled and googled" till I passed out researching software and I'm and just soo so tired of looking....

Alright, no mention of Google docs. No mention of Excel.

End of convo. You flamed your own thread.

happygeek commented: don't blame you +0
dantinkakkar 19 Junior Poster

Is there any software out there, where an IT person can design a form in a form-builder application whether it be a web-interface or a program where they can add input fields with functions that work like the asp.net form wizard in MS Frontpage, in which allows the IT person to design the basic form or forms, then save the files on their computer, to install the files to a web server and make the form work in an intranet, and the data from the forms submitted to the database, and the results view-able by e-mail or a web interface. Or is there a developer out there that can make something like this work, Cause I have googled and googled till I passed out researching software and I'm and just soo so tired of looking through business scams, spams, and just add-ware or online websites that charge a monthly fee for what I'm looking for; when I can just pay a developer a onetime price and host the app on my own server.

I have examples, screen shots, website examples and other material that will maybe explain what I need better than this post. And if this is not posted in the correct area, instead of flaming on about it, please inform me of the correct section to post this thread, or the correct method to go about this.

And just WHERE have you mentioned? I cannot see either MS or G-Docs.

dantinkakkar 19 Junior Poster
try(output = new DataOutputStream(new FileOutputStream(filename)))

is wrong. This is incorrect try... catch syntax.

try
{
//
}
catch(Exception e)
{
//
}
dantinkakkar 19 Junior Poster

Well, I'm sorry for that, but you sounded like a little rude to me. So I hit back at you. Apologies for any mistake made by me.

~s.o.s~ commented: No worries +17
dantinkakkar 19 Junior Poster

He wanted to find out the value of something raised to the power of something, and those something's were well within long range. And by the way, please be a little more polite. I am not challenging your post.

dantinkakkar 19 Junior Poster

Then open up your CPU and reconnect your CD-Drive, because I was having the same problem and doing this worked for me!

dantinkakkar 19 Junior Poster

thanks dear it worked, but isn't there any direct way for such a conversion??

It worked. -.-

dantinkakkar 19 Junior Poster

Window = size of browser window.

Use CSS to change the size of the page; you cannot change th size of the browser window, and why would you want to do that, by the way?

dantinkakkar 19 Junior Poster

Convert it to long first using Long.parseLong() and then convert the long to BigInteger using BigInteger.valueOf(long val) .

Cheers! :)

dantinkakkar 19 Junior Poster

You're welcome! :)

dantinkakkar 19 Junior Poster

It wasn't obvious that the component was obvious. Nor is the page on which it is obvious. Which page?