Event making change in another file component (Help)

Hi there:
My situation is this: I have a tab with a jPanel, and the jPanel has a button click which will have the same tab displaying a new jPanel instead the old one having that button, I have all these jPanels in individual files. I found it always errors for making this. Can anyone help and thanx in advance.
tab( jpanel1 ( button <click it then it becomes like below> ) )
tab( jpanel2 ( button )
the tab remains the same but the jpanel changes with the event triggered by the button in the jpanel. All the jpanels are in individual class files.
I hope this explains clearly.
Thanx in advance
Message was edited by:
reddragonsmaug

Hei, thanx, but I meant that the event generated by the button in the jpanel and the action affects on the tab of the jpanel belongs to. The action makes the tab to delete the current jpanel and add a new one. The jpanel is in individual class file.

Similar Messages

  • How do we initialize DAL variables without making changes to INI files?

    We have an application which currently use only two DALs. We would like to add a DAL to popluate certain data on the form. We have encountered an issue with initialization of dal vairables.
    One of the solutionis that set FlushDalSymbo = Yes in the FSISYS file.
    However, this involves INI file change which we would like to avoid.
    So, is there a way to initialize dal variables, without making changes to INI files? If so, how?
    Thanks,
    Bala

    Hi Bala,
    Initializing a variable is simple, you just need to set the value to blank or zero:
    Variable = ""
    #Variable =0
    $Variable = 0.00
    You can place the declaration at the beginning of your script, of course replacing "Variable" with the actual name of you variable.
    Gaétan

  • Making changes in DME File TCode F111

    Hi Friends,
    I have to make changes in DME file in Transaction F111.
    Friend please help with some user exit or event module with some some info.
    Thanks in Advance,
    Best Regards

    Give yourself write access to the enclosing folder in that folder's Get Info window.
    (59544)

  • Single Go button for all prompts - without making changes to system files

    Hi All,
    I went thru several threads and blogs which suggest to do certain changes in the .js files to get a single go button for a group of prompts (saved as individual objects)
    Is it possible to have single go button in 11g for prompts which are saved separately without changing the system files?
    Many Thanks,
    RS

    Hi,
    I dont think so. But in 11.1.6 version there is a feasibility to avoid apply and reset buttons. so that will make to appear all the prompts together.
    And you can try to built a common prompt filter with all the columns, but it will be bad and cause lots of problems.
    Hope this helped/ answered.
    Regards
    MuRam

  • How to Read from two file and write to another file --Please help !!

    Hi all,
    Please suggest me where i'm goin goin wrng.
    I have 2 flat files. one of them is the main file(Ann.dat) has a about 150,000 lines (each line has unique ID from 00001 to 45000) of data and the the other(Miss.dat) has a just a list of IDs that are no longer in use & have to be deleted from the first file(NewAnn.dat). (Note that Ann.dat is a tab delimitted file and Miss.dat is just a list of all invalid IDs)
    Below is my code. It doesn't do what I'm supposed to. Please suggest me or help me with a code to do it. What I'm trying to do is read each of the lines from the 2 files compare the ID in ann.dat with all the IDs in Miss.dat & if it doesn't match with the ID in Miss.dat write the whole line to NewAnn.dat. And do the rest with all the lines in Ann.dat.
    It could be a real dumb question. since i'm not a software professional, I consider myself to be newbie to programming. I desperately need your help.
    import java.io.*;
    import java.util.*;
    public class anntemp{
         public static void main(String[] args)
              String keyAnn ="";
              String keyMis="";
              String recAnn =null;
              String recMis =null;
              try{               
              FileReader fr=new FileReader("C:\\Tom\\Ann.dat");
              BufferedReader br=new BufferedReader(fr);
              int couter=0;
              while ((recAnn = br.readLine())!=null)
                   couter++;
                   keyAnn = recAnn.substring(0, recAnn.indexOf("\t"));
              FileReader fr1=new FileReader("C:\\Tom\\Miss.dat");
              BufferedReader br1=new BufferedReader(fr1);
              while((recMis = br1.readLine())!=null){
              keyMis = recMis.substring(0, recMis.indexOf("\t"));
                   if(keyAnn.equals(keyMis)){
         FileWriter fw=new FileWriter("C:\\Tom\\NewAnn.dat",true);
         BufferedWriter bw=new BufferedWriter(fw);
         PrintWriter pw=new PrintWriter(bw);
         StringBuffer writeValue = new StringBuffer();
         writeValue.append(recAnn);
                                                 pw.println(writeValue.toString());
         pw.flush();
              }catch (Exception expe){
                   System.out.println("In Exception ");
                   expe.printStackTrace();
    Thank you all in advance,
    br

    I think you need to close the files when you are done in the inner loop. Plus I think you'll be overwritting the file in the inner loop if more than one match. It might be easier to read the unused id file into a map at the start, and then loop up the id's from the master file in the map. You can put the unused id's in as the keys, and a Boolean.TRUE as the value (value won't matter). Then just check if the map contains the key for the id read from the master file. That should cut down on disk activity. This assumes the unused id file is smallish.

  • Screen Resolution changes on published file - please help

    Hello,
    I currently have my screen res in my projects set at 1024 x 768 - on some files (not all) when I publish the output generates with a resolution of 1220 x 1220???
    I have absolutely no idea how this can be possible as I have checked and double checked my project size etc...
    Does anybody have any suggestions?
    Thankyou
    ali

    Yes it did help, in the respect that I felt confident that it wasn't anything to do with my project settings. The published files became corrupted when they were copied across to our intranet server. 
    thankyou
    Alison McLeavy
    Electronic Health Record Program
    Mater Health Services
    t: (07) 3163 6144    e: [email protected]
    f: (07) 3163 2685     w: www.mater.org.au

  • Making change to media file

    Here's the scenario:
    I captured an hour long segment and its about 20 frames out of sync with the audio all the way through. I have synced the video back up with the audio (in the timeline) and want to apply this change to the media file. I believe I read somewhere in the user manual how to do this but cannot find it now. Anyone know how to do this?
    Thanks,
    Jared

    Click the clip in the timeline:
    Are the clipnames on the clip in the timeline itself all underlined?
    If yes: Press 2 times Command-L to unlink and then relink the clips.
    If No: Press 1 time Command-L to relink the clip.
    FCP will now keep them sync.
    But to be hounostly: That is a poor workaround, make one mistake in your timeline during editing and it won't work anymore.
    So it's better to Export your synced timeline (Export > Quicktime movie), with current settings. and re-import that. But by doing so, be aware of the following:
    You can make it a reference movie: Make sure not to delete the original file from the disk. The reference movie is only a pointer to the original file.
    You can also make this syned clip as a selfcontained movie. Now you have a new Quicktime file that is sync. You may delete the original.
    And actually first off all:
    Make sure you find the cause of this 20! frames out of sync!
    You won't be happy to need to 'repair' every time.
    Rienk

  • Can anyone help me with an iWeb problem? I cannot save the site after making changes. I receive this error: "website.sites2 could not be saved"

    Can anyone help me with an iWeb problem? I cannot save the site after making changes. I receive this error: "website.sites2 could not be saved"

    You could try duplicating the Domain.sites2 file and launch this in iWeb. Delete the last page you edited and try saving. If that doesn't work, undo and try deleting another and so on...
    If you can find the problem page you would only have to rebuild it rather than the whole site.
    The other possibility is to create a new site on the same domain file and drag each page in turn down to it from the top site and try to save each time.

  • [b]Simple Deploy problem- making an Executable JAR File ...PLEASE HELP [/b]

    Hi all,
    I Trying to deploy a simple J2SE app by making an Executable JAR File, however I don'r understand how to add a valid value to the Main Class field.
    I followed the following description within Jdev, after creating a Deployment Profile:
    Deploying an Executable JAR File
    You can make your simple archive or J2EE Client Module into an executable JAR file that you can launch with the java command.
    To deploy an executable JAR file:
    1) Select and right-click the simple archive or client icon in the Navigator to display the context menu.
    2) Choose Properties.
    3) Click JAR Options in the tree.
    4) Select Include Manifest File (META-INF/MANIFEST.MF).
    5) In the Main Class field, enter the fully qualified name of the application class that is to be invoked.
    7) Click OK.
    8) Launch the executable JAR file from the command line:
    java -jar myapp.jar
    where myapp represents your JAR file name.
    Like I said it's in 5) I'm doing something worng
    My deploy-file (PlotPrint.deploy) looks the following:
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <client-deployment xmlns="http://xmlns.oracle.com/jdeveloper/903/deploy/j2ee-client-jar" nselem="client-deployment" class="oracle.jdeveloper.deploy.jar.ClientProfile">
    <archiveOptions>
    <additionalManifests/>
    <compressed>false</compressed>
    <hasManifest>true</hasManifest>
    <mainClass>PlotPrintClient</mainClass>
    </archiveOptions>
    <archiveTargetPlatform/>
    <cdaSettings>
    <additionalArchives/>
    <afterFilters/>
    <beforeFilters/>
    <duringFilters/>
    <selectedArchives>
    <archives>
    <Item protocol="jar" path="file:/C:/Oracle9i_Jdev/jdevbin/jdbc/lib/classes12.jar!/"/>
    <Item protocol="jar" path="file:/C:/Oracle9i_Jdev/jdevbin/jdbc/lib/nls_charset12.jar!/"/>
    <Item protocol="jar" path="file:/C:/Oracle9i_Jdev/jdevbin/jdev/lib/jdev-rt.jar!/"/>
    <Item protocol="jar" path="file:/C:/Oracle9i_Jdev/jdevbin/soap/lib/soap.jar!/"/>
    <Item protocol="jar" path="file:/C:/Oracle9i_Jdev/jdevbin/lib/xmlparserv2.jar!/"/>
    <Item protocol="jar" path="file:/C:/Oracle9i_Jdev/jdevbin/jlib/javax-ssl-1_2.jar!/"/>
    <Item protocol="jar" path="file:/C:/Oracle9i_Jdev/jdevbin/jlib/jssl-1_2.jar!/"/>
    <Item protocol="jar" path="file:/C:/Oracle9i_Jdev/jdevbin/j2ee/home/lib/activation.jar!/"/>
    <Item protocol="jar" path="file:/C:/Oracle9i_Jdev/jdevbin/j2ee/home/lib/mail.jar!/"/>
    <Item protocol="jar" path="file:/C:/Oracle9i_Jdev/jdevbin/j2ee/home/lib/http_client.jar!/"/>
    <Item protocol="jar" path="file:/C:/Oracle9i_Jdev/jdevbin/webservices/lib/wsdl.jar!/"/>
    <Item protocol="jar" path="file:/C:/Oracle9i_Jdev/jdevbin/lib/xmlparserv2.jar!/"/>
    <Item protocol="jar" path="file:/C:/Oracle9i_Jdev/jdevbin/lib/xmlcomp.jar!/"/>
    </archives>
    <selectionMode>0</selectionMode>
    </selectedArchives>
    </cdaSettings>
    <defaultConnection class="java.lang.String"/>
    <deployClientMaxHeapSize/>
    <earURL path="deploy/PlotPrint.ear"/>
    <enterpriseAppName/>
    <jarURL path="deploy/PlotPrint.jar"/>
    <profileDeps/>
    <properties/>
    <selectedProjectFiles>
    <autoInclude>true</autoInclude>
    <deploySourceAs>0</deploySourceAs>
    <files class="[Ljava.net.URL;"/>
    <selectionFilters/>
    </selectedProjectFiles>
    </client-deployment>
    I using Oracle9i Jdev, but have also tried it un the new Jdev 10g version, but the same problem everytime:
    Error message: Could not find the main class: program will exit.
    Please help I really need this to work
    Message was edited by:
    MHCI
    Message was edited by:
    MHCI

    Yes that was the problem so I have changed the element mainClass to
    <mainClass>xxPlotPrint.MHCI.PlotPrintClient</mainClass>
    But now another probem has occured, since I get the following error when run the jar-file (When I run the app from within Jdev there are no warnings or errors).
    ----Batch-file-----
    @echo off
    java -jar PlotPrint.jar
    echo Test Plot and Print Batch-file!
    pause
    ---- out to cmd ----
    Exception in thread "Thread-0" java.lang.ClassCastException: com.sun.org.apache.xerces.internal.dom.DeferredDocumentImpl
    at xxPlotPrint.MHCI.NNE35_worker.run(NNE35_worker.java:42)
    at java.lang.Thread.run(Unknown Source)
    Exception in thread "Thread-2" java.lang.ClassCastException: com.sun.org.apache.xerces.internal.dom.DeferredDocumentImpl
    at xxPlotPrint.MHCI.OCEJobDB_worker.run(OCEJobDB_worker.java:41)
    at java.lang.Thread.run(Unknown Source)
    Exception in thread "Thread-1" java.lang.ClassCastException: com.sun.org.apache.xerces.internal.dom.DeferredDocumentImpl
    at xxPlotPrint.MHCI.NNE27_worker.run(NNE27_worker.java:42)
    at java.lang.Thread.run(Unknown Source)
    It's the same problem in all three exceptions (the exactly the same code), however I was a bit to quick this is the line (the line before I process the xml doc :-)
    import org.w3c.dom.Element;
    responseData = new Vector();
    responseData = test_NNE35_SOAP.getXSDdoc();
    Element elements = ( (org.w3c.dom.Element)responseData.elementAt(0) ); (line 42)
    Please help I don't understad why I receive this exception, since I included the xmlparserv2.jar file, and don't even have a workaround :-(

  • What does "extracted channel PDF" mean and why does it continually duplicate on my desktop?  I think it happens when I move a file in Finder to another file and when I copy some web files.  How do I avoid this on my Mac (Mavericks)?  Thanks for your help!

    What does "extracted channel PDF" mean and why does it continually duplicate on my desktop?  I think it happens when I move a file in Finder to another file and when I copy some web files.  I have to immediately move to trash all the duplications on my desktop.  How do I avoid this on my Mac (Mavericks)?  Thanks for your help!

    What application is set to open PDF files? If you CNTRL click on the file and open with Preview does the problem occur?
    If not change the default application to open PDF files to Preview.
    You can do this by highlighting the file and either use CMD i or Get Info , this will open a window with the info on the file with an option to change the application that opens the file.
    That's all I can think of.

  • "The file [name of file] may have been changed by another user since you last saved it." Issue affects both network and local files.

    When a certain user saves a file in Excel 2010, she gets a message: "The file <name of file> may have been changed by another user since you last saved it."  She can choose to save as another file or overwrite with her changes. 
    This just started happening a week or so ago.  She was concerned that someone else was accessing her files, but we did several tests that opened, made a change and saved in a matter of seconds, and she still gets the message.  It happens on
    most files, but not all – both network and local.
    We already tried the QFE_Saskatchewan registry fix.  I also checked the file server for Services for Macintosh.

    You may be confused by the error in Excel saying “another user”. Actually Excel cannot tell who (the real human) is editing the file. Based on my research the No.1 possibility of the error is KB2626998.
    2626998  Connection to a network document is lost in the 2007 Office system or in Office 2010 after the computer resumes from standby
    http://support.microsoft.com/kb/2626998
    For Excel 2010, follow these steps:
    a.  Click Start , click Run , type regedit in the Open box, and then click OK .
    b.  Locate and then select the following registry subkey: HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Excel\Options
    c.  On the Edit menu, point to New , and then click Dword Value .
    d.  Type NetworkAvailableTimeInSeconds , and then press Enter.
    e.  Right-click NetworkAvailableTimeInSeconds , and then click Modify .
    f.  In the Value data box, click Decimal , type a number value, and then click OK .
    Note This registry subkey sets the time, in seconds, that Excel waits for the network to resume. For example, if you type 15 for the number value, Excel waits 15 seconds for the network to resume. You might have to do some tests in your own environment to
    determine an appropriate value. You may have to try multiple numbers.
    g.  Locate and then select the following registry subkey.
    HKEY_CURRENT_USER\Software\Microsoft\office\14.0\common\Internet
    h.  Repeat step 2C through step 2F again. Reuse the same value that you used previously.
    i.  Exit Registry Editor.
    Feel free to post back. Thanks.
    Cheers,
    Tony Chen
    Forum Support
    Come back and mark the replies as answers if they help and unmark them if they provide no help.
    If you have any feedback on our support, please contact
    [email protected]

  • I'd like to change the dfault file location, C:My pictures, to another file location, eg E or G. What can I do to change it?

    See above question.

    Hi trshaner,
    Thanks again for your complete reaction. I’ve looked at the video and the help-information. This made me decide to leave the file My pictures where it is (C) and move some of the other folders/files to the E-drive. Thanks for your help.
    Met vriendelijke groet,
    Aad Oudshoorn
    Edelsteensingel 166
    2719 RC Zoetermeer
    06-22250606
    Van: trshaner 
    Verzonden: dinsdag 22 juli 2014 20:09
    Aan: Aad Oudshoorn
    Onderwerp:  I'd like to change the dfault file location, C:My pictures, to another file location, eg E or G. What can I do to change it?
    I'd like to change the dfault file location, C:My pictures, to another file location, eg E or G. What can I do to change it?
    created by trshaner <https://forums.adobe.com/people/trshaner>  in Photoshop Lightroom - View the full discussion <https://forums.adobe.com/message/6573614#6573614>

  • Cannot save ... The file has been changed by another application.

    Hi,
    This is to report a wierd behavior when pages is auto saving documents.
    An error pops up  "Cannot save ... The file has been changed by another application."
    Clicking "save anyways" seems to save the document OK, but still this is very anoying.
    Saving the document manually (from the menu) isn't showing any error message.
    Can someone help with a hint as of when this will be fixed or is there a workaround?
    Thank you in advance,
    Best Regards,
    Michel.
    Pages version 5.0.1 (1478) on OS X 10.9

    The phrase "by another application" makes it pretty clear that it is not Pages (or, in your case, Keynote).
    What seems to be happening is that between the time that Pages opens a document, or saves it and the next time that it attempts to save it, something updates the document's file on the hard drive. Pages, recognizing that the file contains changes for which it is not responsible, presents this alert so you can decide whether you want to overwrite those changes. The usual suspects are backup and synchronization applications, like iCloud, which may not recognize the "Open" flag on the file, but I think it can also be triggered by AppleScripts, Automator workflows and Services, if they perform a "Save" action on the file.

  • How to tackle the dataflow problem when Value Change event always triggers after another GUI event

    We know that Value change event always triggers after another GUI event. Eg, the user modifies string control, the user clicks on a boolean control. Then event boolean clicked is triggered before event string control value change.
    Now suppose somehow the GUI event that must happen to subsequently trigger the Value change event can potentially affect the data that Value change event is supposed to work on. How can we tackle this problem ?
    For example, in a mockup application that the grand purpose is to have user entered values in a textbox logged to a file (no missing information is accepted, and there is a boolean to determine how the information is logged).
    There are 2 controls, boolean A when clicked (mouse down) will load random number in text box B. Text box B is designed with event structure VALUE change which saves whatever values user enters into text box B to a log file.
    There are 3 problems when instead of clicking anywhere on the front panel after modifying text box B, the user ends up clicking on boolean control A.
    1. Event mouse down on Boolean control A will execute first, modifying text box B content before the user entered values in B get saved.
    2. The value of boolean A can potentially affect how textbox B is loggged.
    3. The value of boolean A affects how the file is logged and this is indeterminate. Somehow when running this VI with no Highlighting, the textbox B Value change event executes -before- boolean A value is updated (F to T). When running this VI with Highlighting, the boolean A value is updated (F to T) (because we click on it) -before- textbox B value change event occurs. Why is it like this ?
    Now the situation I made up seems non-sense, but I believe it resembles one way or another a problem that you might run into. How would you solve this problem elegantly ?
     

    You can set the string control to "update while typing".
    Are you sure appending the log to itself is reasonable? Wouldn't it grow without bounds if the users keeps entering strings or pressing the ingore button?
    Why isn't the "constant" a diagram constant instead of a control. Is the user allowed to change it?
    To reset just write empty strings or a false to local variables of the controls (renit to defaults" seems a bit heavy handed).
    All you probably need is a single event case for "ignore:value change" and "String" value changed", no need for the local variable..
    Also add a stop button and an event for it.
    You don't need the timeout event.
     

  • How can i change a pdf file type to another file type

    how can i change a pdf file type to another file type

    You can copy the contents and paste it into a Word file. Just don't expect everything to transfer or to retain all of the formatting.

Maybe you are looking for

  • I updated my Ipad 2 last night, and now my Kobo application is not working. Any ideas?

    So, last night, updated my Ipad 2, it took ages, but went smoothly. Two things I noticed right away--my Kobo application is not working (opens, but bookmarked screen is blank), and when I went to the App store to see if I had missed a Kobo update per

  • Windows 8 install killed M58p Motherboard

    I was running a Thinkcentre M58p (9965) with Windows 7 just fine for a few years.  I disconnected my hard drive and put in a blank one.  I then proceeded to install Windows 8.1 Enterprise.  The install went fine, did a few updates and restarted.  Whe

  • For CS6 is there an easier way to redirect all my files and folders for all of the programs?

    Hey adobe people, Im wondering, I know you can setup each preference individually, but I want to redirect all the catched space, storage of brushes, and etc for all my programs into another disk volume as in changing c/ to e/. Is there a way to do th

  • Most Recent Devices Not Currently Connected:

    HI, I'm getting error Most Recent Devices Not Currently Connected: in iTunes diagnostics for Device Connectivity Tests. Device: iPhone 4 Laptop OS: Windows XP iTunes: 10.5.3.3 I'm not able to restore iphone and it throws errors 1602 and 21 while rest

  • What is this file? urlclassifier3.sqlite

    I want to do everything I can to prevent snooping on my Mac. I'm running OS X Lion .7.2 and Firefox 7.0.1 I'm not satisfied with something that sites can either choose to honor or not. All these rotten javascripts, 1pixel square 'images' and iframes