Page 1 of 2 12 LastLast
Results 1 to 20 of 21
Like Tree1Likes

Thread: 100% totally new to Java...

  1. #1
    AzureKitsune is offline Member
    Join Date
    Apr 2012
    Posts
    10
    Rep Power
    0

    Default 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 that
    Java Code:
    JFrame.setUndecorated(true);
    should 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.

    Thanks for your help~

  2. #2
    Junky's Avatar
    Junky is offline Grand Poobah
    Join Date
    Jan 2011
    Location
    Dystopia
    Posts
    3,784
    Rep Power
    7

    Default 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.

  3. #3
    AzureKitsune is offline Member
    Join Date
    Apr 2012
    Posts
    10
    Rep Power
    0

    Default 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?

  4. #4
    Junky's Avatar
    Junky is offline Grand Poobah
    Join Date
    Jan 2011
    Location
    Dystopia
    Posts
    3,784
    Rep Power
    7

    Default Re: 100% totally new to Java...

    Quote Originally Posted by AzureKitsune View Post
    She cant afford it
    Not our problem.

    the person told me
    What person?

  5. #5
    AzureKitsune is offline Member
    Join Date
    Apr 2012
    Posts
    10
    Rep Power
    0

    Default 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.

  6. #6
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,193
    Rep Power
    19

    Default Re: 100% totally new to Java...

    Quote Originally Posted by AzureKitsune View Post
    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.
    Can't be done in Java. And before you ask, no, I don't know of any programming platform that can do this.

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

  7. #7
    AzureKitsune is offline Member
    Join Date
    Apr 2012
    Posts
    10
    Rep Power
    0

    Default 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

  8. #8
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,193
    Rep Power
    19

    Default 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.

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

  9. #9
    AzureKitsune is offline Member
    Join Date
    Apr 2012
    Posts
    10
    Rep Power
    0

    Default 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.

    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.
    < Just in case you say 'it cant be done.'

  10. #10
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,193
    Rep Power
    19

    Default 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.

    Also, name me any idiot who comes here for help writing a virus?
    You'd be surprised. Many are even blatantly open about it, with a subject line like "Help writing a virus in Java"

    Of course, you won't find those threads if you search any forum ... they've been consigned to the pit in which they belong.

    he's not even smart enough to know what ctrl-alt-del is anyway
    Then just unplug the keyboard and mouse. That should suffice.

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

  11. #11
    Junky's Avatar
    Junky is offline Grand Poobah
    Join Date
    Jan 2011
    Location
    Dystopia
    Posts
    3,784
    Rep Power
    7

    Default Re: 100% totally new to Java...

    Quote Originally Posted by AzureKitsune View Post
    My step mom wants me to screw up her boyfriends account
    You seriously want us to help you do that?

  12. #12
    Junky's Avatar
    Junky is offline Grand Poobah
    Join Date
    Jan 2011
    Location
    Dystopia
    Posts
    3,784
    Rep Power
    7

    Default 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?

  13. #13
    AzureKitsune is offline Member
    Join Date
    Apr 2012
    Posts
    10
    Rep Power
    0

    Default 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

  14. #14
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,193
    Rep Power
    19

    Default Re: 100% totally new to Java...

    Quote Originally Posted by Junky View Post
    You seriously want us to help you do that?



    What's even more crazy is the denial that it's malware.

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

  15. #15
    AzureKitsune is offline Member
    Join Date
    Apr 2012
    Posts
    10
    Rep Power
    0

    Default 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.

  16. #16
    AzureKitsune is offline Member
    Join Date
    Apr 2012
    Posts
    10
    Rep Power
    0

    Default 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.

  17. #17
    Junky's Avatar
    Junky is offline Grand Poobah
    Join Date
    Jan 2011
    Location
    Dystopia
    Posts
    3,784
    Rep Power
    7

    Default Re: 100% totally new to Java...

    Quote Originally Posted by AzureKitsune View Post
    people are very bloody opinionated.
    That's your opinion!
    DarrylBurke likes this.

  18. #18
    Junky's Avatar
    Junky is offline Grand Poobah
    Join Date
    Jan 2011
    Location
    Dystopia
    Posts
    3,784
    Rep Power
    7

    Default Re: 100% totally new to Java...

    You are just digging a bigger hole. Quit now!

  19. #19
    AzureKitsune is offline Member
    Join Date
    Apr 2012
    Posts
    10
    Rep Power
    0

    Default Re: 100% totally new to Java...

    Digging a bigger hole how?!

  20. #20
    AzureKitsune is offline Member
    Join Date
    Apr 2012
    Posts
    10
    Rep Power
    0

    Default Re: 100% totally new to Java...

    And yes, you are opinionated. Instead of helping you'd rather try to shove your opinions onto me. Its like if you go to a restaurant and try to order something and the waitress wont let you because shes a vegetarian and you're ordering steak.

Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 4
    Last Post: 01-24-2012, 03:51 PM
  2. totally stumped -- java applet with buttons
    By babyruth1193 in forum Java Applets
    Replies: 2
    Last Post: 11-30-2011, 08:41 AM
  3. totally beginner
    By chipp in forum New To Java
    Replies: 19
    Last Post: 07-22-2011, 02:17 PM
  4. please help me,,,, i m totally confused
    By uday shankar singh in forum AWT / Swing
    Replies: 3
    Last Post: 04-10-2010, 03:26 AM
  5. Replies: 1
    Last Post: 09-04-2008, 09:07 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •