Search:

Type: Posts; User: DuvanSlabbert

Page 1 of 2 1 2

Search: Search took 0.06 seconds.

  1. Replies
    21
    Views
    2,001

    Re: How do i create this board ?

    o my... I hope by this time you know how to use JFrame... lets move over to JPanel... here is some links
    Using JPanel as a canvas : JPanel**Swing**Java Tutorial

    Now for some drawing.
    Draw a...
  2. Replies
    3
    Views
    882

    Re: frame within a frame

    It s not possible to create any sup-class of the window class inside another one... for instance creating 2 JFrame's and adding the one inside the other, as go for the JDialog and JWindow, But not...
  3. Replies
    21
    Views
    2,001

    Re: How do i create this board ?

    Well... you need to at least have some sup-class of the Window, like the JFrame, JWindow or JDialog... I would recommend using a JFrame as it seems like you are more of a new guy in java, next I...
  4. Replies
    2
    Views
    1,464

    Re: Retrieve File Thumbnail

    I have been battling:(punch): with this subject and reading up on allot of stuff... seems like its just not possible yet with Java:@:.

    so for now my answer would be to stay at


    Image...
  5. Replies
    2
    Views
    1,464

    Re: Retrieve File Thumbnail

    ok, been searching high and low... even try to search for extracting icon from file in java and it seems like this is a dead subject... like not allot of ppl have tried this and seems to get it in...
  6. Replies
    2
    Views
    1,464

    Retrieve File Thumbnail

    I'm trying to get the thumbnail of a Directory, whether it is a file or a folder.

    I have this code and works 100%

    ImageIcon img=(ImageIcon)FileSystemView.getFileSystemView().getSystemIcon(new...
  7. Re: Issue with adding a JPanel and add a mouselistener to it

    that's the problem with copying code... you don't learn anything and you don't understand what or why something happened, at the end of the day there is going to be more questions than salutations.
  8. Re: Issue with adding a JPanel and add a mouselistener to it

    HeHe.. sorted then... next homework assignment please.... :D: :(handshake):
  9. Re: Issue with adding a JPanel and add a mouselistener to it

    I think this would be a good place to start... please note that this code is not the perfect solution to the problem but rather a guideline to what can be done and to spark creativity of your own...
  10. Re: Issue with adding a JPanel and add a mouselistener to it

    gargamel7 my man, I went through the trouble of downloading your code and for the first time in my life I have decided to kick my 4year old nicotine addicted dog... There is so much wrong in that...
  11. Re: getRuntime().exec(run) in Linux. a path related problem?

    and you sure that in the directory of the jar file "home/me/desktop/projekt_folder/mainjar.jar" there is also a the "update" folder witch contains the update.jar file??? if so, then like I said, went...
  12. Re: getRuntime().exec(run) in Linux. a path related problem?

    Have you tried to surrounding the


    Runtime.getRuntime().exec(run);

    With a try catch exception, like so?


    try {
    Runtime.getRuntime().exec(run);
  13. Re: getRuntime().exec(run) in Linux. a path related problem?

    I might be going over my head hear... but have you tried setting the string to

    String run[] = {"java", "-jar", "./update/update.jar"}
  14. Replies
    4
    Views
    699

    Re: Help me displays an image

    o yeah, that is also true... forgot about those. So use to working with paint on JPanels and JWindows with png images to get a desired effects I want.
  15. Replies
    4
    Views
    699

    Re: Help me displays an image

    I have to agree with doWhile. Forums is used to discus problems, not to do homework for other ppl. I can help you so far by only saying you will need a JFrame, set the layout to null, add a JPanel...
  16. Thread: TreeView

    by DuvanSlabbert
    Replies
    4
    Views
    821

    Re: TreeView

    Final update is in, most of the bugs has been sorted out, if any occur again, please report them back or if you have any ideas feel free to let me know. I will be making a blog about this for those...
  17. Thread: TreeView

    by DuvanSlabbert
    Replies
    4
    Views
    821

    Re: TreeView

    Hey, I can do that... didn't know, but surely will give it a try. Had some ppl linked to this site to have a look around and mailed me some comments on the code, there is still some problems I'm...
  18. Thread: TreeView

    by DuvanSlabbert
    Replies
    4
    Views
    821

    Re: TreeView

    Thank you all for replying, the new updates has been made and all seems to be in order now.
  19. Re: Regarding length of task for the JProgressBar

    . . . interesting. how do one code that it cant be accessed. :^):
  20. Re: Jpannels with in Jpannels and no flow layout just postion

    o my... over 200 views and not a single reply???
    I hope this can help you.

    first set the masterPanel layout to null.

    masterPanel.setLayout(null);

    when you set the containers layout to null...
  21. Re: Swing application not compatible on Windows 7

    wow... another one of those rather vague questions. There can be so many problems its not even going to be funny and by that I mean re-designing everything. The thing with swing applications is that...
  22. Replies
    1
    Views
    2,693

    Re: beautifying the GUI

    Well it shouldn't be to hard... create a JWindow, set to always on top, maximize to full screen, disable monitors that is not the main screen and start learning allot of Photoshop skills and how to...
  23. Re: Regarding length of task for the JProgressBar

    the problem with this is that the time consumed to concat the pdf file into one defers from pc to pc... you will have to calculate the size of sum of pdf files and then set that as the maximum value...
  24. Re: the graphics won't show up when i use the methord paintComponent of JPanel class.

    No problem man, always happy to help. First things first, as soon as you minimize, maximize, move, setVisible to false or true the components inside the container will repaint itself to the original...
  25. Replies
    2
    Views
    3,298

    Re: DrawImage with transparency ?

    I hope this can help you.


    import java.awt.Graphics;
    import java.awt.Window;
    import java.lang.reflect.Method;
    import javax.swing.ImageIcon;
    import javax.swing.JWindow;
    ...
Results 1 to 25 of 28
Page 1 of 2 1 2