Results 1 to 20 of 21
Thread: 100% totally new to Java...
- 04-05-2012, 06:36 AM #1
Member
- Join Date
- Apr 2012
- Posts
- 10
- Rep Power
- 0
100% totally new to Java...
Um I want to start out by saying that this is NOT homework. I'm doing a project for my step mother. Its your choice to believe that but I've been deleted by numerous sites because of being told they wouldnt help with my "homework" and Im starting to get tired of it.... Anyway, I need someone who can help me with a few things.. Okay, a lot of things.. So I need someone who can stick with me for a while, if they don't mind...
Um first, I dont know anything inside anything about Java but I have NetBeans installed. I dont have time to work with anything else... So I found a tutorial to tell me how to put an image in... The link for that is Handling Images in a Java GUI Application - NetBeans IDE 7.1 tutorial Not sure how good it is, but it got an image is, I guess.. Outside of that, I dont know how to input code itself.. Ive been told thatshould make it "so that there is no borders on the window to allow resize or exit." I'm not sure if thats true, what it will do or even how to make it work. But for now, thats the first thing I have to do.Java Code:JFrame.setUndecorated(true);
Thanks for your help~
- 04-05-2012, 06:40 AM #2
Re: 100% totally new to Java...
You know nothing about Java and yet you are trying to write a GUI. Bad idea. You have to learn to crawl before you can walk or run. I suggest your stepmother hires someone who knows what they are doing.
- 04-05-2012, 06:44 AM #3
Member
- Join Date
- Apr 2012
- Posts
- 10
- Rep Power
- 0
Re: 100% totally new to Java...
She cant afford it... I already got the image down and the person told me... "Download netbeans 7.0.1 and go through a few tutorials this is a simple enough program that you should be able to create it using netbeans WITH ZERO java experience and 30-40 mins of googling for snipits/tutorials."
Personally, I have no idea if I did was right. All I want to do is make an image pop up, taking over the entire screen, and pretty much allowing no way out of the image without having to "restart" the computer. Um, its a long story, but just go with that, okay?
- 04-05-2012, 06:47 AM #4
- 04-05-2012, 06:48 AM #5
Member
- Join Date
- Apr 2012
- Posts
- 10
- Rep Power
- 0
Re: 100% totally new to Java...
No need to be rude about it. I'm comming for help. You told me she should hire someone and I said she cant. Thus why i still need help. And the person is someone else on another forum. I wont release names without the persons permission. Sorry.
- 04-05-2012, 06:52 AM #6
- 04-05-2012, 06:56 AM #7
Member
- Join Date
- Apr 2012
- Posts
- 10
- Rep Power
- 0
Re: 100% totally new to Java...
I was told this:
Step one- write a java program that uses JFrame.setUndecorated(true); so that there is no borders on the window to allow resize or exit.
Step two- assign the frames focus to"NULL" so that it will auto center, and define minimum dimensions aprox 20 pixels larger than the screen
Step three- use the your photo as the background of said java program
step four- define default behavior of the program to request focus and do not add a method to release focus
Step ive- set browser homepage to \\C:\(your file location)\Name.JAR
- 04-05-2012, 07:07 AM #8
Re: 100% totally new to Java...
I'll add this (Windows only)
Step 6 - Press Ctrl-Alt-Del
Step 7 - Click Task Manager
Step 8 - Select the Processes tab
Step 9 - Select java.exe form the list
Step 10 - Click End Process and follow the prompts to really end the process
Now stop trying to write malware and turn your brains to something more useful.
dbWhy do they call it rush hour when nothing moves? - Robin Williams
- 04-05-2012, 07:17 AM #9
Member
- Join Date
- Apr 2012
- Posts
- 10
- Rep Power
- 0
Re: 100% totally new to Java...
Oh, youre hilarious. I'm just trying to hack into the White House. Seriously? My step mom wants me to screw up her boyfriends account on her pc. And the reason why is no concern because Im getting sick of typing the reason. That plays no part in what I want. Also, there's also a way to disable CTRL, AND he's not even smart enough to know what ctrl-alt-del is anyway. So thank you for your assumption. Also, name me any idiot who comes here for help writing a virus? Seriously. If you just google the quote I gave you, even the background story youre going to desperately want is there.
< Just in case you say 'it cant be done.'Oh one thing I forgot to list there is also after the window is set to visible you want to use JFrame.setCursor( [new cursor here] ); to design a 1x1px transparent cursor so that the mouse cursor is invisible.
I would also disable the use of the CTRL key to prevent system from detecting a ctrl+alt+del issue and allowing them to escape the screen. This would leave the default Alt+F4 available to terminate the window. Of course you could always use a keyboard listener to define a custom close shortcut and disable the alt key also.
- 04-05-2012, 07:22 AM #10
Re: 100% totally new to Java...
The reason for wanting a program isn't relevant. Any program that would try to take control of a computer away from the (human) user would by definition be malware.
You'd be surprised. Many are even blatantly open about it, with a subject line like "Help writing a virus in Java"Also, name me any idiot who comes here for help writing a virus?
Of course, you won't find those threads if you search any forum ... they've been consigned to the pit in which they belong.
Then just unplug the keyboard and mouse. That should suffice.he's not even smart enough to know what ctrl-alt-del is anyway
dbWhy do they call it rush hour when nothing moves? - Robin Williams
- 04-05-2012, 07:23 AM #11
- 04-05-2012, 07:24 AM #12
Re: 100% totally new to Java...
BTW
If you did get all this help from "the person" in another forum then why not go back there?
- 04-05-2012, 07:24 AM #13
Member
- Join Date
- Apr 2012
- Posts
- 10
- Rep Power
- 0
Re: 100% totally new to Java...
Its a laptop. And we're not allowed to do anything that shows WE actually are the ones stopping him. Last time my step mom removed his account, he threatened her, my fiance and myself. Yes, we did call the police. We were told nothing can be done about it unless he actually DOES something. He has also threatened to break the laptop if no one can use it. Thanks<3 And Malware hurts the computer. This wont hurt it. It will just fake a BSOD
- 04-05-2012, 07:25 AM #14
- 04-05-2012, 07:25 AM #15
Member
- Join Date
- Apr 2012
- Posts
- 10
- Rep Power
- 0
Re: 100% totally new to Java...
And because hes not online? I did send him a message but he told me what to do, not how to do it. I thought I could find help here. Apparently very wrong as people are very bloody opinionated.
- 04-05-2012, 07:27 AM #16
Member
- Join Date
- Apr 2012
- Posts
- 10
- Rep Power
- 0
Re: 100% totally new to Java...
Its her computer but his account. Because she no longer wants him on said computer, the only way we can do it without facing family drama, OR WORSE, is to fake a break.
- 04-05-2012, 07:27 AM #17
- 04-05-2012, 07:28 AM #18
Re: 100% totally new to Java...
You are just digging a bigger hole. Quit now!
- 04-05-2012, 07:28 AM #19
Member
- Join Date
- Apr 2012
- Posts
- 10
- Rep Power
- 0
Re: 100% totally new to Java...
Digging a bigger hole how?!
- 04-05-2012, 07:37 AM #20
Member
- Join Date
- Apr 2012
- Posts
- 10
- Rep Power
- 0
Similar Threads
-
i'm totally new in java..help me to [build snake game using java]
By nabil in forum New To JavaReplies: 4Last Post: 01-24-2012, 03:51 PM -
totally stumped -- java applet with buttons
By babyruth1193 in forum Java AppletsReplies: 2Last Post: 11-30-2011, 08:41 AM -
totally beginner
By chipp in forum New To JavaReplies: 19Last Post: 07-22-2011, 02:17 PM -
please help me,,,, i m totally confused
By uday shankar singh in forum AWT / SwingReplies: 3Last Post: 04-10-2010, 03:26 AM -
New to Java - totally lost as to what to download
By RR_QQ in forum New To JavaReplies: 1Last Post: 09-04-2008, 09:07 AM


1Likes
LinkBack URL
About LinkBacks
Reply With Quote
.gif)

Bookmarks