Java Video Tutorial 39

[ad_1]
Get the Code:

In this part of the Java Video Tutorial, I cover the JEditorPane Swing component. It allows you to both display rich text and HTML documents.

I also cover how to listen for events in JEditorPane, when users click on links for example. These events are handled by HyperlinkEvent and HyperlinkListener.

Because some people are having trouble with Eclipse, I also show how you can get Eclipse to do some coding for you.


Posted

in

by

Tags:

Comments

38 responses to “Java Video Tutorial 39”

  1. Pj Cohen Avatar

    when i run the program it says error can not load or find main class please help

  2. Shade Streak Avatar

    Hello……sir first of all your teaching style is awesome because of ur talking style……and second I learned a lot from ur videos…….. why because easy to understand the stuffs….Thanks a lot for ur Hardwork…..

  3. DheLegend Avatar

    What exactly does new <filename>(); mean again?

  4. Azadan Hormuz. Avatar

    Hello again! Could you please explain to me: 

    (a) why you now make a frame object, when previously in swing you used to just use the term "this".

    (b)defURL.addActionListener(this). Previously you used to make a method and implement actionlistener seperately. What does adding "this" do, and is there a benefit/risk of doing this?

    Thanks for any replies, and all your awesome tutorials!

  5. Armoni Visuals Avatar

    It says "Fagg" in the video URL =)

  6. TheRoxas13th Avatar

    I'm curious sir, is there any reason why do we need to extends the JFrame? 

  7. Danny Hunn Avatar

    If you have the time I would like to see a Data Access Object Design Pattern tutorial. 

  8. Derek Banas Avatar

    You're very welcome 🙂

  9. Derek Banas Avatar

    You have to have the HTML file in the same folder as your class. That would be easiest

  10. Styles P'yall Avatar

    Derek Hi. What are we supposed to do with the HTML file exactly(the second one on your website) and I can't go to any web page with the browser 🙁

  11. Derek Banas Avatar

    Thank you 🙂 You could always strip the structure tags and instead display everything like an rss reading tool

  12. Derek Banas Avatar

    It is very limited CSS wise. I doubt they will improve it

  13. nagalla pruthvi Avatar

    I did't quite get you.can please tell it detailed?

  14. Derek Banas Avatar

    CSS is rather limited and Oracle doesn't look like they will ever update it. This is kind of interesting djproject. sourceforge. net/ns/

  15. nagalla pruthvi Avatar

    This is really cool.Can we fix that CSS also on that Browser

  16. Derek Banas Avatar

    Oh, the good old days 🙂

  17. ravneiv Avatar

    Using the browser made me feel like it was 1997 again. Thanks for the nostalgia.

  18. Derek Banas Avatar

    Thank you very much 🙂

  19. Chingis Kussainov Avatar

    Great job, Derek. Started from first lesson and still learning a lot. Keep it up mate, you made many followers lifes easier…

  20. Derek Banas Avatar

    I've improved my mic dramatically in my newer tutorials. Sorry about that

  21. Likunder Avatar

    no, your voice isn't annoying. 🙂
    the mic isnt the best, thats why listening gets a bit annoying after a while.
    thanks for the videos !! great stuff !!

  22. ala slipknot Avatar

    it is not true :/ !!!!

  23. Derek Banas Avatar

    Sorry about that 🙂

  24. Melik Karapetyan Avatar

    thx but you have an annoying voice!!

  25. Derek Banas Avatar

    You are very welcome 🙂 May Allah(God) bless you and your family as well

  26. Mohammed AlRais Avatar

    Thanks dudeee, 🙂

    Great job, really appreciate your enormous effort,

    May Allah(God) bless you with his forgiveness,

    Thanks again,

    Mohammed.

  27. Derek Banas Avatar

    I'm going to expand on a bunch of things people have requested since I went from covering the Java API towards Java OOP concepts. I'll add that to the list. Thanks 🙂

  28. Panayiotis Psaltis Avatar

    However, are there any other videos related to that topic?

    Such as: a support for bookmarks, tabbed browser panes, history, or any other kind of feature that can make my browser look better

  29. Derek Banas Avatar

    Thank you :)I thought this was a topic that needed some attention

  30. Panayiotis Psaltis Avatar

    You are great!!!!! Thank you….

  31. Derek Banas Avatar

    You're very welcome 🙂

  32. Derek Banas Avatar

    I'm going to soon start a big graphics tutorial. It will first cover Java 2D / 3D and I'll show you how to graph everything

  33. Hamdi Ben Hamouda Avatar

    hey 🙂 thnx for your exellent tutorials 🙂 it changed my programming stategie
    wanna ask you if you make a tutorial about JGraph
    i want to make a java application where it provide for the user graphs (courbes and diagramme ) and i didnt found any java lessen to help me in it

  34. penkis alat Avatar

    hey derekbanas, good work you doing here bro. keep it up. Can i get your email please? i need to discuss private stuff with you. thanks

  35. Derek Banas Avatar

    Thank you. I do my best. I'm going to teach actual programming soon. Design pattern and algorithm tutorials using Java are coming

Leave a Reply

Your email address will not be published. Required fields are marked *