Results 1 to 4 of 4
  1. #1
    gghgc is offline Member
    Join Date
    May 2014
    Posts
    9
    Rep Power
    0

    Lightbulb Multiple instance jinternalframe problem

    hi guys, im a newbie in java. i want to display my Jinternalframe just once. thank you in advance.

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    17,891
    Rep Power
    25

    Default Re: Multiple instance jinternalframe problem

    Do you have some code you are having problems with?
    If you don't understand my response, don't ignore it, ask a question.

  3. #3
    gghgc is offline Member
    Join Date
    May 2014
    Posts
    9
    Rep Power
    0

    Cool Re: Multiple instance jinternalframe problem

    Quote Originally Posted by Norm View Post
    Do you have some code you are having problems with?
    this is my code to call my Jinternalframe. i have a 1 paramater which is string.

    try{
    Download dl = new Download(holdThis);
    dl.setVisible(true);
    dp.add(dl);
    dl.setSelected(true);
    dl.setMaximum(true);
    }catch(Exception e){
    JOptionPane.showMessageDialog(null, e);
    }

    __________
    this is my jinternalframe the other methods are just methods in my class :)


    public Download(String holdThis) {
    initComponents();
    selectView();
    btnSave.setEnabled(false);
    this.holdThis = holdThis;
    }

    thank you sir :)

  4. #4
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    17,891
    Rep Power
    25

    Default Re: Multiple instance jinternalframe problem

    Can you make a small, complete program that compiles, executes and shows the problem for testing?

    Please edit your post and wrap your code with code tags:
    [code=java]
    YOUR CODE GOES HERE
    [/code]
    to get highlighting and preserve formatting.
    If you don't understand my response, don't ignore it, ask a question.

Similar Threads

  1. Replies: 1
    Last Post: 07-07-2012, 11:12 PM
  2. Replies: 4
    Last Post: 09-27-2011, 10:20 AM
  3. Replies: 14
    Last Post: 06-29-2011, 04:49 PM
  4. Replies: 2
    Last Post: 06-10-2011, 08:15 AM
  5. Multiple Instance of Web Application end Up Using Same JCA Resource
    By sjunejo in forum Enterprise JavaBeans (EJB)
    Replies: 0
    Last Post: 06-09-2011, 01:17 PM

Posting Permissions

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