Programming › Re: Guys, I Leant Java But I Don't Know How To & Where To Use It by wharley01(op): 9:04am On Jul 30, 2015 |
QuickSuccess: Why would we still be using notepad and command prompt in this modern age. Just download Netbeans or Eclipse IDE (i recommend Netbeans) and use it to write your app code. You can even export the .jar files using the netbeans so as to run ur written programs from your desktop. You need not worry about .exe files yet though thanks very much,bro, realy appriciate this contribution,  |
Programming › Re: Guys, I Leant Java But I Don't Know How To & Where To Use It by wharley01(op): 10:00pm On Jul 29, 2015 |
qwerty123qwerty: Create a JAR File Containing the Class File
Go to command prompt, change directory to the folder containing your.class file, Then type the following in your command window:
jar cvf NameOfFile.jar YourClassFileName.class
This creates a JAR file, NameOfFile.jar, and places the YourClassFileName.class file inside it.
Also, you could try this Go to command prompt, change directory to the folder containing your.class file, Then type the following in your command window: jar cfe AnyName.jar classNamewithMain() *.class
I mostly use the second option...
Give me feedback when you're done thank you bro, i will give it a tryal. You realy got my problem |
Programming › Re: Timeline With Comment Box Attached To Each Post by wharley01(m): 4:52pm On Jul 29, 2015 |
cbrass: What am saying is, it's not like those comments tie to another Id in the database but am just trying to let users know that their comments have been posted since Ajax will not refresh the page so in my own wisdom or folly I decided to tied the $_Post[post ] to a div element and later added it to the loop so as you post a comment you see your comment immediately but since it's a loop it will show in all the loops but in truth it's not like that in the db because if the user refresh the browser they will see the comment under the exact post it should be but I don't want them confused and beside that doesn't look professional since Facebook doesn't behave like that when you comment on a wall post. So is there a way out of this do you know much about json ? Before i proceed |
Programming › Re: Timeline With Comment Box Attached To Each Post by wharley01(m): 3:06pm On Jul 29, 2015 |
cbrass: When I comment on each post it shows on the other comments since it's in a loop, am using a div to show users their comments immediately else they will have to refresh the page before they see the comment, (it's Ajax am using to post the comments ) when you post with ajax, then you should refresh comments with ajax too, and to avoid comment appearing in other people's post except the one you are commenting on, create table for comments, then create a colomn specifying the post id in the comment's table, now when inserting your comment insert post's id too, and when fetching comments fetch with the post's id |
Programming › Re: Timeline With Comment Box Attached To Each Post by wharley01(m): 2:25pm On Jul 29, 2015 |
cbrass: Yea I know that nw.. then to do that, include comment box when looping though posts, submit comment with ajax |
Programming › Re: Guys, I Leant Java But I Don't Know How To & Where To Use It by wharley01(op): 11:05pm On Jul 28, 2015 |
qwerty123qwerty: I'll get back to you on this tomorrow... Compressing your app to get a desktop icon... ooh... Finaly.. Thank you very much bro.. Finaly someone understands me. |
Programming › Re: Guys, I Leant Java But I Don't Know How To & Where To Use It by wharley01(op): 10:38pm On Jul 28, 2015 |
What am wishing to know, is compressing my first app, creating app for deferent platform like old java phones, android and desktop, currently am running my script with command prompt as i already mentioned., if i completed my script will my user be using my app with comand prompt? Someone to bail me out |
Programming › Re: Guys, I Leant Java But I Don't Know How To & Where To Use It by wharley01(op): 10:36pm On Jul 28, 2015 |
ballantyne: if you are really as good as you think you are, you probably shouldn't be asking this question. bro, you don't understand my problem, and web development is much deferent from software development! |
Programming › Re: Guys, I Leant Java But I Don't Know How To & Where To Use It by wharley01(op): 8:15pm On Jul 28, 2015 |
Mrkelv: Start by developing pet projects.
Just think of any software and try to see if you can develop something like that. yes, that is my problem, don't know where to start, when trying to develop a software |
Programming › Guys, I Leant Java But I Don't Know How To & Where To Use It by wharley01(op): 6:59pm On Jul 28, 2015 |
Nairaland programmers, i can say am pretty good at web developement and designing, am very comfortable with PHP and JS(javascript). But being a high aimer, i want to proceed to software development, i spent day and night learning java, compiling and running my script with command prompt, but my main problem is where will i use my java knowledge and how will i use it, thanks in advance as you answer my question. |
Programming › Re: Timeline With Comment Box Attached To Each Post by wharley01(m): 6:42pm On Jul 28, 2015 |
Sql query |
Jokes Etc › Re: PHOTO: Admit It, You Are Guilty Of This. by wharley01(m): 2:56pm On Jul 23, 2015 |
Am addicted to it, . . . . . .. i don't know why, on ma way to church for deliverance D |
Nairaland General › Re: What Will You Change About Nairaland If You Had The Power by wharley01(m): 12:11pm On Jul 09, 2015 |
 am new here buddies |