How to add plugin into Edit preferences?

hi,
i want to show my plugin into Edit>preferences instead of extension.i added my plugin into menu>Edit>Preferences but it iis not added into preferences dialogbox where other plugin like general,type.
how can i add my panel/plugin into preferences.

You can only add C++ plugins to the prefs dialog.

Similar Messages

  • How to add TickMark into dropdownlist?

    Hello,
    i am looking for dropdownlist with multiple selection.
    Is there a DropDownList widget allows more than one menu item to be selected at a time?
    i got ans from forum
    http://forums.adobe.com/message/3319311#3319311
    they said we can add tickmark into dropdownlist.so that we can select more than one item.But How to add Tickmark into dropdownlist? OR can we custmize dropdownlist?
    please, give some hint.
    If Anybody knows the solution , please help me.

    I think there are two ways:
    1) Use a specific control with text tokenization, like a Telerik's one  RadAutoCompleteBox (user1's text is a token, and user2's text is an editable
    text area);
    2) Use CSR (client-side rendering; JSLink field of a list EditForm's web part) to make the original field (input tag) read only and dynamically add second text
    box for user2's editable text. Then on form submit you can combine the two values: read only one and dynamically edited. You may do so via overriding the PreSaveAction() JavaScript function in your JSLink file.
    v

  • How to add images into a java application (not applet)

    Hello,
    I am new in java programming. I would like to know how to add images into a java application (not an applet). If i could get an standard example about how to add a image to a java application, I would apreciated it. Any help will be greatly apreciated.
    Thank you,
    Oscar

    Your' better off looking in the java 2d forum.
    package images;
    import java.awt.*;
    import java.awt.image.*;
    import java.io.FileInputStream;
    import javax.imageio.ImageIO;
    import javax.swing.*;
    /** * LogoImage is a class that is used to load images into the program */
    public class LogoImage extends JPanel {
         private BufferedImage image;
         private int factor = 1; /** Creates a new instance of ImagePanel */
         public LogoImage() {
              this(new Dimension(600, 50));
         public LogoImage(Dimension sz) {
              //setBackground(Color.green);      
              setPreferredSize(sz);
         public void setImage(BufferedImage im) {
              image = im;
              if (im != null) {
                   setPreferredSize(
                        new Dimension(image.getWidth(), image.getHeight()));
              } else {
                   setPreferredSize(new Dimension(200, 200));
         public void setImageSizeFactor(int factor) {
              this.factor = factor;
         public void paintComponent(Graphics g) {
              super.paintComponent(g);
              //paint background 
              Graphics2D g2D = (Graphics2D) g;
              //Draw image at its natural size first. 
              if (image != null) {
                   g2D.drawImage(image, null, 0, 0);
         public static LogoImage createImage(String filename) { /* Stream the logo gif file into an image object */
              LogoImage logoImage = new LogoImage();
              BufferedImage image;
              try {
                   FileInputStream fileInput =
                        new FileInputStream("images/" + filename);
                   image = ImageIO.read(fileInput);
                   logoImage =
                        new LogoImage(
                             new Dimension(image.getWidth(), image.getHeight()));
                   fileInput.close();
                   logoImage.setImage(image);
              } catch (Exception e) {
                   System.err.println(e);
              return logoImage;
         public static void main(String[] args) {
              JFrame jf = new JFrame("testImage");
              Container cp = jf.getContentPane();
              cp.add(LogoImage.createImage("logo.gif"), BorderLayout.CENTER);
              jf.setVisible(true);
              jf.pack();
    }Now you can use this class anywhere in your pgram to add a JPanel

  • How to install plugins into final cut pro 7

    A friend of mine sent me some free plugins for Final Cut Pro 7. How do I get the plugins into Final Cut Pro 7? Clicking and dragging obviously doesn't work.

    You do NOT need Motion in order to use those transitions, effects, etc.!
    You only need it if you want to edit or create new such things.

  • How to add data into a List box

    CS3 SDk:Windows<br /><br />Hi all,<br />I am trying to add  data into a basic List box in CS3??<br /><br />// .fr<br />GenericPanelWidget<br />     (<br />     // CControlView properties<br />     kInvalidWidgetID, // widget ID<br />     kPMRsrcID_None, // PMRsrc ID<br />     kBindNone, // frame binding<br />     Frame(0,0,250,90) // left, top, right, bottom<br />     kTrue, // visible<br />     kTrue, // enabled<br />     // GroupPanelAttributes properties<br />     "", // header widget ID<br />     { <br />     <br />     WidgetListBoxWidgetN<br />     (<br />     kWFPListBoxWidgetID, kSysListBoxPMRsrcId, // WidgetId,RsrcId<br />     kBindAll, // Frame binding<br />     Frame(0,0,250,90) // Frame<br />     kTrue, kTrue, // Visible, Enabled<br />     1,0, // List dimensions<br />     19, // Cell height<br />     1, // Border width<br />     kFalse,kTrue, // Has scroll bar (h,v)<br />     kTrue, // Multiselection<br />     kTrue, // List items can be reordered<br />     kTrue, // Draggable to new/delete buttons<br />     kFalse, // Drag/Dropable to other windows<br />     kTrue, // An item always has to be selected<br />     kFalse,// Don't notify on reselect<br />     kFalse, <br />     {               <br />     }     <br />                    <br />),<br />},<br />),<br /><br />//-------ID.h--------<br />DECLARE_PMID(kWidgetIDSpace, kWFPListBoxWidgetID, kWFPPrefix + 2)<br /><br />//observer.cpp-----------WFPDialogObserver::Update<br /><br />//get currently selected/active widget <br />WidgetID theSelectedWidget = controlView->GetWidgetID();<br /><br />// ist it the text edit field? <br />if (theSelectedWidget == kWFPInsertButtonWidgetID && theChange == kTrueStateMessage) <br />{ <br /><br />IControlView* listBox = panelControlData->FindWidget(kWFPListBoxWidgetID);<br /><br />InterfacePtr<IListControlData> listControlData(listBox, UseDefaultIID()); <br /><br />//Insert the string into listbox <br />PMString strText = dialogCtrl->GetTextControlData(kWFPTextEditBoxWidgetID); <br /><br />// obviously there can't be a translation for text entered by user <br />strText.SetTranslatable(kFalse);<br />listControlData->Add(strText,kWFPTextEditBoxWidgetID); <br />dialogCtrl->SetTextControlData(kWFPTextEditBoxWidgetID, ""); <br />break;      <br /><br />I am not able to Add items into list box.<br /><br />I tried based on Discussion <br />http://www.adobeforums.com/webx/.3bc43877<br /><br />but not able to locate  SDKListBoxHelper file .it is not available in SDK.<br /><br />Please ,<br />Tell me Where I am going wrong.<br /><br />Thanks,<br />Adil

    resource VSPDialogWidget (kSDKDefDialogResourceID + index_enUS)
         __FILE__,
         __LINE__,
         kVSPDialogWidgetID, // WidgetID
         kPMRsrcID_None, // RsrcID
         kBindNone, // Binding
         Frame(5,0,491,266) // Frame (l,t,r,b)
         kTrue,
         kTrue, // Visible, Enabled
         kVSPDialogTitleKey, // Dialog name
              DefaultButtonWidget
                   kOKButtonWidgetID, // WidgetID
                   kSysButtonPMRsrcId, // RsrcID
                   kBindNone, // Binding
                   Frame(9,234,89,254) // Frame (l,t,r,b)
                   kTrue,
                   kTrue, // Visible, Enabled
                   kSDKDefOKButtonApplicationKey,  // Button text
              CancelButtonWidget
                   kCancelButton_WidgetID, // WidgetID
                   kSysButtonPMRsrcId, // RsrcID
                   kBindNone, // Binding
                   Frame(394,234,474,254) // Frame (l,t,r,b)
                   kTrue,
                   kTrue, // Visible, Enabled
                   kSDKDefCancelButtonApplicationKey, // Button name
                   kTrue,  // Change to Reset on option-click.
              WLBCmpListBox   //Tree view
                   kWLBCmpListBoxWidgetID, kPMRsrcID_None,     // WidgetId, RsrcId
                   kBindAll,                                                       // Frame binding
                   Frame(299,49,475,170)           // Frame
                   kTrue, kTrue,                                             // Visible, Enabled
                   kTrue,                               // EraseBeforeDraw
                   kInterfacePaletteFill,           // InterfaceColor
                   kHideRootNode | kDrawEndLine,     // Options. Display root node
                   kFalse,          // Use H Scroll bar
                   kTrue,          // Use V scroll bar
                   20,               // fVScrollButtonIncrement
                   20,               // fVThumbScrollIncrement
                   0,               // fHScrollButtonIncrement
                   0,               // fHThumbScrollIncrement
                   2,               // Items selectable, 0 = No Selection, 1 = Single Selection, 2 = Multiple Selection
                   kFalse,          // Allow children from multiple parents to be selected
                   kTrue,          // Allow discontiguous selection
                        //The tree view is dynamically created.          
    // added to support the list elements in the list box
    resource LocaleIndex (kWLBCmpListElementRsrcID)
         kViewRsrcType,
              kWildFS, k_Wild, kWLBCmpListElementRsrcID + index_enUS
    resource WLBCmpNodeWidget (kWLBCmpListElementRsrcID + index_enUS)
         __FILE__, __LINE__,
         kWLBCmpListParentWidgetId, kPMRsrcID_None,     // WidgetId, RsrcId
         kBindLeft | kBindRight,               // Frame binding
         Frame(0, 0, 194, 20),               // Frame
         kTrue, kTrue,                         // Visible, Enabled
         "",                                        // Panel name
                   // Just a info-static text widget with about-box text view to get white bg.
              WLBCmpTextWidget
                   kWLBCmpTextWidgetID, kPMRsrcID_None,          // WidgetId, RsrcId
                   kBindLeft | kBindRight,                                        // Frame binding
                   Frame(45,1,194,18)                                             // Frame
                   kTrue, kTrue, kAlignLeft,kEllipsizeEnd                    // Visible, Enabled, Ellipsize style
                   "",                                                                 // Initial text
                   0,                                                                 // Associated widget for focus
                   kPaletteWindowSystemScriptFontId,                         // default font
                   kPaletteWindowSystemScriptHiliteFontId,                    // for highlight state.
    If you still got problems, post you email here - I'll send you the complete project/code then.
    -Marc

  • How to: add images into an Interactive PDF

    I was wondering if it was possible to add images into an interactive PDF once it has been sent to someone. The PDFs are forms that need to be filled by a client via their iPads using Adobe Expert, and they may need to occasionally attach images to the document and be able to edit these images (i.e. circle parts of the image to highlight them) then send these PDF's back to myself.
    Is there a way this can be done?
    Thanks

    There is no program on the iPad called Adobe Expert. I think you mean Adobe Reader.
    Adobe Reader lets you fill in forms but not to attach images. If you wish to make a request of the Adobe Reader product manager, you can post on the Adobe Reader for iOS forum here:
    http://forums.adobe.com/community/adobe_reader_forums/ios

  • How to add data into JTable

    How can I add data into JTable, for instance ("Mike", "Gooler", 21).

    How can I add data into JTable, for instance ("Mike",
    "Gooler", 21).You will have very good results if you segregate out the table model as a seperate user class and provide a method to add a row there. In fact, if you use the table to reflect a database table you can add the row inplace using the existing cursor. I believe it's TableExample2 in the jdk\demo\jfc\TableExamples that has a very good example of this.
    Walt

  • How can I access the Edit preferences performance use Graphics Processor option through the jsx scri

    I want to runa a script with and without GPU options. I made an actionto click on the Edit>Preferences>Performace>use graphics processor checkbox. But now I want to check wether the checkbox is ticked or not to determine i should use it for a with GPU run or without GPU run. I cant seem to find the prefernce/property/object name to access this selection in the photoshop scripting library. Can someone help me here?

    I did not see anything in the Object Viewer for preference open GL, performance or GPU  so I do not think there is a DOM method available to retrieve or set it.  You can set it using the action manager using scriptlistener code.
    // =======================================================
    var idsetd = charIDToTypeID( "setd" );
        var desc29 = new ActionDescriptor();
        var idnull = charIDToTypeID( "null" );
            var ref19 = new ActionReference();
            var idPrpr = charIDToTypeID( "Prpr" );
            var idCchP = charIDToTypeID( "CchP" );
            ref19.putProperty( idPrpr, idCchP );
            var idcapp = charIDToTypeID( "capp" );
            var idOrdn = charIDToTypeID( "Ordn" );
            var idTrgt = charIDToTypeID( "Trgt" );
            ref19.putEnumerated( idcapp, idOrdn, idTrgt );
        desc29.putReference( idnull, ref19 );
        var idT = charIDToTypeID( "T   " );
            var desc30 = new ActionDescriptor();
            var idMmrU = charIDToTypeID( "MmrU" );
            var idPrc = charIDToTypeID( "#Prc" );
            desc30.putUnitDouble( idMmrU, idPrc, 90.000000 );
            var idopenglEnabled = stringIDToTypeID( "openglEnabled" );
            desc30.putBoolean( idopenglEnabled, true );
        var idCchP = charIDToTypeID( "CchP" );
        desc29.putObject( idT, idCchP, desc30 );
    executeAction( idsetd, desc29, DialogModes.NO );

  • How can I disable the Edit- Preferences- Network- Settings- Noproxy option

    I want to disable the Edit->Preferences->Network->Settings->Noproxy option
    Every user user should access internet only via proxy settings what i should do for that and also should not be allowed to change the option

    Note that on Linux, the default is to use the "Use the system proxy settings" setting for the connection.
    You can look at these prefs to lock:
    *http://kb.mozillazine.org/network.proxy.type
    *http://kb.mozillazine.org/network.proxy.%28protocol%29
    *http://kb.mozillazine.org/network.proxy.%28protocol%29_port
    Use a mozilla.cfg file in the Firefox program folder to lock prefs or specify new (default) values.
    Place a file local-settings.js in the defaults\pref folder where you also find the file channel-prefs.js to specify using mozilla.cfg.
    pref("general.config.filename", "mozilla.cfg");
    These functions can be used in the mozilla.cfg file:
    defaultPref(); // set new default value
    pref(); // set pref, but allow changes in current session
    lockPref(); // lock pref, disallow changes

  • How to add string in editable datagrid

    Hai
           I have attached the mxml below.
       I need to add ' ' before and after the value.
       1. here i have the mxml, run the mxml , enter some vlaue in textbox and click add button, now the values will be added
       2. u can see the value in single quotes ie. ' '
       3. now u click the Value column  u can edit the value, after editing the value will not be in ' '
       4. here i have a problem, if the value is not in ' ' , i cant submit that query.
       5. how can i add ' ' after editing .
    can any one help me
    Thanks in Advance : )
    <mx:Application 
    xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"
    >
    <mx:Script>
    <![CDATA[
    // ActionScript fileimport  
    mx.rpc.events.FaultEvent;
    import  
    mx.controls.Alert; 
    importmx.managers.CursorManager;
    import  
    mx.collections.ArrayCollection;[
    Bindable]
    public var adhoc:ArrayCollection = newArrayCollection();[
    Bindable] 
    public var serverString = "";
    private function initImage(event:MouseEvent):void{
    if(adhoc.length > 0){
    private function onChange():void{
    if(comboBox.selectedIndex == 0){
    else{
    private function onChange1():void{
    if(combo2.selectedItem == "DATEDEPLOYED" || combo2.selectedItem == "DATEUPLOADED"){datepick.visible =
    truetxt.visible =
    false}
    else{txt.visible =
    truedatepick.visible =
    false
    private function add():void{
    varstr:String = txt.text; 
    if(str.length == 0 && txt.visible == true){Alert.show(
    "Value Can Not Be Empty"); 
    return;
    if(combo2.selectedItem != "DATEDEPLOYED" || combo2.selectedItem != "DATEUPLOADED"){
    if(txt.visible == true){ 
    var temp:Object = newObject();
    "'"+txt.text+"'";
    varstr1:String = datepick.text; 
    if(comboBox.selectedIndex == 1){ 
    if(combo2.selectedItem == "DATEDEPLOYED" || combo2.selectedItem == "DATEUPLOADED"){ 
    if(str1.length == 0 && datepick.visible == true){Alert.show(
    "Date Cannot Be Empty");}
    else{ 
    var temp:Object = newObject();
    false;addopenbracket.enabled =
    false;combo2.enabled =
    false;combo1.enabled =
    false;
    private function querydelete():void{
    if(AdHoc.selectedIndex > 0) { 
    if(AdHoc.selectedIndex == (adhoc.length-1)){adhoc[AdHoc.selectedIndex-1].cond =
    ""; addopenbracket.enabled =
    false;addclosebracket.enabled =
    false;addbutton.enabled =
    false;combo2.enabled =
    false;combo1.enabled =
    false;
    // adhocdetailgridcompilance.dataProvider = null ; 
    // adhocdetailgrid.dataProvider = null ;
    else if(adhoc.length == 1) {
    // adhocdetailgridcompilance.dataProvider = null ; 
    // adhocdetailgrid.dataProvider = null ;addopenbracket.enabled =
    true;addclosebracket.enabled =
    true;addbutton.enabled =
    true;combo2.enabled =
    true;combo1.enabled =
    true;}
    else{Alert.show(
    "Select The Rows To Delete");
    private function andSubmit():void{
    for each(var obj:Object inadhoc){ 
    if(obj.fname == combo2.selectedItem && obj.opera == combo1.selectedItem){ 
    if(combo2.selectedItem != "DATEDEPLOYED" || combo2.selectedItem != "DATEUPLOADED"){ 
    if(txt.visible == true){ 
    trace("2 equals"); 
    var temp:Object = newObject();
    else{ 
    trace(obj.fname + ":"+ combo2.selectedItem);  
    trace(obj.opera + ":"+ combo1.selectedItem); 
    trace(obj.val + ":" + "'"+txt.text+"'");
    else if(obj.fname == addclosebracket.label){ 
    if(combo2.selectedItem != "DATEDEPLOYED" || combo2.selectedItem != "DATEUPLOADED"){ 
    if(txt.visible == true){ 
    trace("2 equals"); 
    var temp:Object = newObject();
    else{ 
    trace(obj.fname + ":"+ combo2.selectedItem);  
    trace(obj.opera + ":"+ combo1.selectedItem); 
    trace(obj.val + ":" + "'"+txt.text+"'");
    if(obj.fname == combo2.selectedItem && obj.opera == combo1.selectedItem){ 
    if(combo2.selectedItem == "DATEDEPLOYED" || combo2.selectedItem == "DATEUPLOADED"){ 
    if(datepick.visible == true){ 
    trace("2 equals"); 
    var temp:Object = newObject();
    else{ 
    trace(obj.fname + ":"+ combo2.selectedItem);  
    trace(obj.opera + ":"+ combo1.selectedItem); 
    trace(obj.val + ":"+ datepick.text);
    else if(obj.fname == addclosebracket.label){ 
    if(combo2.selectedItem == "DATEDEPLOYED" || combo2.selectedItem == "DATEUPLOADED"){ 
    if(txt.visible == true){ 
    trace("2 equals"); 
    var temp:Object = newObject();
    else{ 
    trace(obj.fname + ":"+ combo2.selectedItem);  
    trace(obj.opera + ":"+ combo1.selectedItem); 
    trace(obj.val + ":"+ datepick.text);
    true;addopenbracket.enabled =
    true;combo2.enabled =
    true;combo1.enabled =
    true;
    private function orSubmit():void{
    for each(var obj:Object inadhoc){ 
    if(obj.fname == combo2.selectedItem && obj.opera == combo1.selectedItem){ 
    if(combo2.selectedItem != "DATEDEPLOYED" || combo2.selectedItem != "DATEUPLOADED"){ 
    if(txt.visible == true){ 
    trace("2 equals"); 
    var temp:Object = newObject();
    else{ 
    trace(obj.fname + ":"+ combo2.selectedItem);  
    trace(obj.opera + ":"+ combo1.selectedItem); 
    trace(obj.val + ":" + "'"+txt.text+"'");
    else if(obj.fname == addclosebracket.label){ 
    if(combo2.selectedItem != "DATEDEPLOYED" || combo2.selectedItem != "DATEUPLOADED"){ 
    if(txt.visible == true){ 
    trace("2 equals"); 
    var temp:Object = newObje

    you declare Fchg's three parameter is any data type,so you can directly use Fchg
    function.
    "beawhycn" <[email protected]> wrote:
    >
    1.if buffer type=FML,then ' Fchg(sendBuf, Fldid("ACCOUNT_ID"), 0, accountNumber&,
    0)' can add the accountnumber into sendbuffer.
    2.if buffer type=STRING ,then how can i add a simple string into sendbuffer
    before
    the tpcall()?
    Eager for the reply.

  • How to add zero into value prefix??

    I have one reuqirement about adding zero prefix into value of Infoobject AAAA. Infoobject AAAA is the attribute of Infoobject BBBB. I need to write a ABAP code in the transfer rule of infoobject BBBB.
    The length of infoobject BBBB is 10. That means system will automatically add zero if the length of the value is less than 10 after data loading.
    Any body know how to write it

    Hi Dreshof,
    Try this:-
    CONSTANTS: c_zeros(10) TYPE c VALUE '0000000000'.
    SHIFT TRANS_STRUCTURE-aaaa RIGHT DELETING TRAILING SPACE.
    OVERLAY TRANS_STRUCTURE-aaaa WITH c_zeros.
    RESULT = TRANS_STRUCTURE-aaaa.
    The correct code is as shown below. Please ignore the code above this.
    Hi Again,
    Try this:-
    CONSTANTS: c_zeros(10) TYPE c VALUE '0000000000'.
    DATA: wa_aaaa LIKE TRANS_STRUCTURE-aaaa,
    SHIFT wa_aaaa RIGHT DELETING TRAILING SPACE.
    OVERLAY wa_aaaa WITH c_zeros.
    RESULT = wa_aaaa.
    This will work.
    Now do a syntax check. If all is ok. Save.
    Hope it helps ,
    Best regards,
    Sunmit.
    Edited by: sunmit bhandari on Jun 27, 2009 12:40 AM
    Message was editted after your post below

  • How to add elements into java string array?

    I open a file and want to put the contents in a string array. I tried as below.
    String[] names;
    s = new Scanner(new BufferedReader(new FileReader("outfile.txt")));
    while (s.hasNext()) {
                    String item = s.next();
                    item.trim();
                    email = item;
                    names = email;
                }But I know that this is a wrong way of adding elements into my string array names []. How do I do it? Thanks.

    Actually you cannot increase the size of a String array. But you can create a temp array with the lengt = lengthofarray+1 and use arraycopy method to copy all elements to new array, then you can assign the value of string at the end of the temp array
    I would use this one:
    String [] sArray = null;
    s = new Scanner(new BufferedReader(new FileReader("outfile.txt")));
    while (s.hasNext()) {
        String item = s.next();
        item.trim();
        email = item;
        sArray = addToStringArray(sArray, email);
    * Method for increasing the size of a String Array with the given string.
    * Given string will be added at the end of the String array.
    * @param sArray String array to be increased. If null, an array will be returned with one element: String s
    * @param s String to be added to the end of the array. If null, sArray will be returned.(No change)
    * @return sArray increased with String s
    public String[] addToStringArray (String[] sArray, String s){
         if (sArray == null){
              if (s!= null){
                   String[] temp = {s};
                   return temp;
              }else{
                   return null;
         }else{
              if (s!= null){
                   String[] temp = new String[sArray.length+1];
                   System.arraycopy(sArray,0,temp,0,sArray.length);
                   temp[temp.length-1] = s;
                   return temp;
              }else{
                   return sArray;
    }Edited by: mimdalli on May 4, 2009 8:22 AM
    Edited by: mimdalli on May 4, 2009 8:26 AM
    Edited by: mimdalli on May 4, 2009 8:27 AM

  • How to add HTML into a muse file?

    I'm following google's advice for improving the SEO of a site I've designed in MUSE.  I visited their "STRUCTURED DATA Markup Helper  Here: https://www.google.com/webmasters/markup-helper/
    and they've given me this: after I highlight pointers in my page for google to mark
    what I need to know next, please, is how to locate the correct code within muse, in order to insert these highlighted HTML codes into it, so that google can find my pages easier. I have tried opening the relevent file that I use to store the site on my PC, but there seem to be no matching sections of code. I can only see css files.

    Hello,
    If you're looking to add the code to the head section of the page (which many tracking/analytics codes require), then you can add the code to the Page -> Page Properties -> Metadata -> HTML for head section. If you're looking to add the code to the body of the page, then use the Object -> Insert HTML option.
    Hope this helps.
    Cheers
    Parikshit

  • How to add a search/edit/delete options for the following program.

    after printing the out put, i want to search for the line and i want to edit the same line then add to the output and also i want to delete the line from the command line
    import java.io.BufferedReader;
    import java.io.File;
    import java.io.FileWriter;
    import java.io.IOException;
    import java.io.InputStreamReader;
    public class CustomerDetails {
    public static void main(String[] args) throws IOException {
    BufferedReader dataIn= new BufferedReader(new InputStreamReader(System.in));
    FileWriter writer;
    String name= "";
    String DOB = "";
    String Address = "";
    String Phonenumber = " ";
    File filename = new File("customerData.txt");
    boolean append = true;
    writer = new FileWriter(filename,append);
    writer.write("\n");
    try {
    System.out.println("Please enter your name");
    name = dataIn.readLine();
    System.out.println("please enter ut DOB");
    DOB = dataIn.readLine();
    System.out.println("please enter ur Address");
    Address = dataIn.readLine();
    System.out.println("please enter ur phone number");
    Phonenumber = dataIn.readLine();
    writer.write("name:");
    writer.write(name);
    writer.write("DOB:");
    writer.write(DOB);
    writer.write("Address:");
    writer.write(Address);
    writer.write("Phone number:");
    writer.write(Phonenumber);
    writer.close();
    catch (IOException e) {
    e.printStackTrace();
    System.out.println("thanks for entering  the data");
    }

    Well, what I'm suggesting isn't as simple as editing a few lines.
    Are you familiar with using objects?
    The idea is to organize your data in a way that makes sense. Since you want to keep track of multiple people at once, does it make sense to only have one variable each for name, address, etc? If you put all of the variables dealing with a person into a Person object, you can then instantiate as many people as you'd like- without worrying about keeping track of them one variable at a time.
    I'd say that should be your first step. After that, we can talk about searching through them.

  • How to add/modify and edit OSX Account in my code

      Our company need to build a OA system, need to combine our Web OA and OSX Server' features, now need to CRUD(add/modify/delete/view) OSX Contact's account user data and group data, how to implement it in PHP Code or cocoa-touch code?

    Weird... When I set up an new account there are no "advanced" options. It requests name, email address, and password then it polls for the account and finds it and done. When I go into mail>prefs>accounts my only options under "advanced" is this http://twitpic.com/5fb41x

Maybe you are looking for

  • Replace Special Characters in a string + XQUERY

    Hi All, I am using the following replace function to replace the special characters in my XQUERY. *replace($string1, '[&"-*;-`!|:,¿/{}@#$%^*~()_+-]', ' ')* Fortunately it is replacing all the special characters. But the only problem here is it is eve

  • Flash 10e.ocx Crash in IE8 on Win7

    I am trying to view a teleseminar in Internet Explorer 8 running on Windows 7 Ultimate (64-Bit).  I have tried running the session in Compatibility Mode but the application still causes Internet Explorer to stop working.  The problem signature provid

  • Sudden Increase in database size

    Hi all, I have noticed sudden increase in sys schema size, after making queries on DBA_TABLESPCAES, DBA_DATA_FILE, DBA_EXTENTS,DBA_SEGMENTS. Does it means Oracle has generated lot of data after queries to these views ? It's very urgent . Please reply

  • Document renewal notification?

    Anyone doe this type of workflow? I need to upload documents and set a renewal date. As that date approaches send an email notification. I was thinking about using BPEL for the process unless there is an easier approach. Thanks

  • 'Pantone Black' (color bridge uncoated / plus series) doesn't 'look on screen' as black at all.

    I'm working in Adobe Illustrator CC on a mac. 'Pantone Black' (color bridge uncouted / plus series) doesn't 'look on screen' as black at all. A '100%K' black (cmyk) look perfectly black. The Pantone solid black appears nothing like a 'black' at all o