JBuilder question on how to add a new .java file

I am new to Java and even newer to JBuilder. I am creating the GUI for our school project and my other members are creating the networking and database parts of our program seperatly. I am at the point were I need to import their .java files into my project I created in JBuilder.
Can someone tell me the steps I need to take to get those files into my project so I can start using the classes from my group they made up?
Thanks,
Scott

You can use show_alert statement and then make a check on button that is pressed from the alert.
Here is an example of show_alert built_in.
DECLARE
  my_alert number;
  ALERT_TXT     VARCHAR2(200) := 'Do you want to delete record?';
BEGIN
     set_alert_property('your_alert',ALERT_MESSAGE_TEXT,ALERT_TXT);
       my_alert := show_alert('your_alert');
       If my_alert = Alert_Button1 Then
         /** I choose to delete record **/
        -- here you can put your statements
       else
       -- I pressed NO button
       -- here you can put your statements
       end if;
END;Hope it helps you,
Fabrizio
If this answer is helpful or correct, please mark it. Thanks.

Similar Messages

  • How to add a new mapping file

    I am using SSIS (SQL Server 2008) to replicate from an ODBC source (using .NET Framework Data Provider for ODBC) to SQL Server.
    I am using the Import/Export Wizard and encountering the problem described in KB 152728:
    SSIS 2008 Import Export Wizard can show numbers instead of data type
    http://support.microsoft.com/kb/2152728
    I am trying to add a new mapping file in C:\Program Files\Microsoft SQL Server\100\DTS\MappingFiles, but it appears that the new mapping file is not being noticed by the wizard - the dialog box of the wizard (COnvert Types without Conversion Checking) still
    displays
    Source Information:
    Cannot locate the mapping file to map the provider types to SSIS types
    I tried creating a new mapping file by copying an existing one (DB2ToMSSql10.XML), renaming it ODBCToMSSql10.XML (as near as I can tell, the filename doesn't matter), and changing the SourceType line:
    SourceType="System.Data.Odbc.OdbcConnection"
    Is there anything else I need to do?  I was expecting I might find a file that SSIS uses to figure out which mapping file to use, but I was unsuccessful, so I think it looks at the SourceType line.
    The following is the full output of the dialog - perhaps I should be modifying DTS\binn\DtwTypeConversion.xml instead?  But that seems messier than creating a new file in DTS\MappingFiles:
    [Source Information]
    Cannot locate the mapping file to map the provider types to SSIS types
    [Destination Information]
    Destination Location : (local)
    Destination Provider : SQLNCLI10
    Mapping file (to SSIS type): c:\Program Files\Microsoft SQL Server\100\DTS\MappingFiles\MSSQLToSSIS10.XML
    [Conversion Table]
    SSIS conversion file: c:\Program Files\Microsoft SQL Server\100\DTS\binn\DtwTypeConversion.xml

    Hi, did you ever get a solution to this issue? I'm having a similar challenge trying to create a new mapping file which is not being detected by the import wizard.
    Please let me know.
    Gregg

  • How to add a new Spread file to the existing one IDML?

    I'd to know how add new spread in IDML file exists.
    In the file designmap.xml, I put and changed somethings:
    1) I put some tags; the tags are:
      <idPkg:Story src="Stories/Story_u1fc.xml"/>
      <idPkg:Spread src="Spreads/Spread_d467.xml"/>
    2) I also added the attribute StoryList which values u1fc.
    In addition to this,The StoryList attribute belongs to element Document.
    3) And I changed the attribute Length of element Section, to 5, which was 3; because my new spread have 2 pages.
    In IDML file final, have files in each folder, but when I open the file in InDesign IDML, it does not open .... crashes the application.
    what should I do?
    Thanks

    Hello Diego
    The SAP GLOBAL 2.0 should be downloaded from the Service marketplace. Follow the URL : [http://service.sap.com/swdc|http://service.sap.com/swdc] and search for SAP GLOBAL.
    You will find the following SWCV - XI CONTENT SAPGLOBAL 2.0. If you have relevant access, you can download the same as a .tpz file and then import it into your ESR.
    Hope it clarifies things.
    regards
    Rathish

  • How to add a new schedule line?

    Hi folks,
    Please help to tell me is there any user exit can be used for adding a new schedule line? I want to keep the old first date data, add new shedule line with new updated schedule line date. Pls. help to advise how to do it in VA01/VA02 ?
    If i simply use the following update statement in MV45AFZZ, then the first date will be updated by the new Schedule line date, which is not what i want. (Since new order always the First line "0001" will get updated)
    xvbep-edatu = t_temp-edatu .
           modify xvbep TRANSPORTING edatu "UPDKZ
                         where posnr = t_temp-posnr
                           and ETENR = '0002'.
            if SY-SUBRC <> 0.
               modify xvbep TRANSPORTING edatu "UPDKZ
                            where posnr = t_temp-posnr.
            endif.
    Tks,
    Jenny
    Message was edited by:
            Jenny Zhuang

    Hi Ferry,
    Many thanks for the reply. But i still have the question, seems the user exit 'USEREXIT_CHECK_VBEP' in 'MV45AFZB' is used for addtional checks on the schedule line, my questions is how to add a new schedule line? It maybe very difficult. so is it possible to change the configurable Sales order's Finish Date for it's production order, and force it to generate a new schedule line?
    Tks,
    Jenny

  • How to  add a new System status?

    Hi,
    I am working on the Bid invitation process. When we process the Bid submitted, we have 'approve' , 'reject' buttons which when clicked wil set the system status to 'I1014' & I1013' respectively.these r maintained in TJ02.
      I have added one more button called 'Interim approval' for the bid. I want to set a system status whn this button is clicked.
    My question is how to add a new system status to the  existing list?
    Plz help me in solving this...
    Thanks,
    Sivagami.R

    Hi Sivagami,
    Why you want to add a new system status,what is the business need.
    I will ask you to look a sdn thread on this issue
    Selection of approvers for Bid
    and standard workflow behavior on this process.
    http://help.sap.com/saphelp_srm30/helpdata/en/33/16533d6dd60610e10000000a114084/content.htm
    regards,nishant
    Please reward points if this helps.

  • How to add entire new row at the top of table in pdf report from c# windows forms using iTextSharp

    Hi for past 3 days i was thinking and breaking my head on how to add entire new at top table created in pdf report from c# windows forms with iTextSharp.
    First: I was able to create/export sql server data in form of table in pdf report from c# windows forms. Given below is the code in c#.
    using System;
    using System.Collections.Generic;
    using System.Configuration;
    using System.Text;
    using System.Data;
    using System.IO;
    using System.Data.SqlClient;
    using System.Windows.Forms;
    using iTextSharp.text;
    using iTextSharp.text.pdf;
    namespace DRRS_CSharp
    public partial class frmPDFTechnician : Form
    public frmPDFTechnician()
    InitializeComponent();
    private void btnExport_Click(object sender, EventArgs e)
    Document doc = new Document(PageSize.A4.Rotate());
    var writer= PdfWriter.GetInstance(doc, new FileStream("Technician22.pdf", FileMode.Create));
    doc.SetMargins(50, 50, 50, 50);
    doc.SetPageSize(new iTextSharp.text.Rectangle(iTextSharp.text.PageSize.LETTER.Width, iTextSharp.text.PageSize.LETTER.Height));
    doc.Open();
    PdfPTable table = new PdfPTable(7);
    table.TotalWidth=585f;
    table.LockedWidth = true;
    PdfPTable inner = new PdfPTable(1);
    inner.WidthPercentage = 115;
    PdfPCell celt=new PdfPCell(new Phrase(new Paragraph("Institute/Hospital:AIIMS,NEW DELHI",FontFactory.GetFont("Arial",14,iTextSharp.text.Font.BOLD,BaseColor.BLACK))));
    inner.AddCell(celt);
    Paragraph para = new Paragraph("DCS Clinical Report-Technician wise", FontFactory.GetFont("Arial", 14, iTextSharp.text.Font.BOLD, BaseColor.BLACK));
    para.Alignment = iTextSharp.text.Element.TITLE;
    iTextSharp.text.Image png = iTextSharp.text.Image.GetInstance("logo5.png");
    png.ScaleToFit(95f, 95f);
    png.Alignment = Element.ALIGN_RIGHT;
    SqlConnection conn=new SqlConnection("Data Source=NPD-4\\SQLEXPRESS;Initial Catalog=DRRS;Integrated Security=true");
    SqlCommand cmd = new SqlCommand("Select t.technician_id,td.Technician_first_name,td.Technician_middle_name,td.Technician_last_name,t.technician_dob,t.technician_sex,td.technician_type from Techniciandetail td,Technician t where td.technician_id=t.technician_id and td.status=1", conn);
    conn.Open();
    SqlDataReader dr;
    dr = cmd.ExecuteReader();
    table.AddCell("ID");
    table.AddCell("First Name");
    table.AddCell("Middle Name");
    table.AddCell("Last Name");
    table.AddCell("DOB" );
    table.AddCell("Gender");
    table.AddCell("Designation");
    while (dr.Read())
    table.AddCell(dr[0].ToString());
    table.AddCell(dr[1].ToString());
    table.AddCell(dr[2].ToString());
    table.AddCell(dr[3].ToString());
    table.AddCell(dr[4].ToString());
    table.AddCell(dr[5].ToString());
    table.AddCell(dr[6].ToString());
    dr.Close();
    table.SpacingBefore = 15f;
    doc.Add(para);
    doc.Add(png);
    doc.Add(inner);
    doc.Add(table);
    doc.Close();
    The code executes well with no problem and get all datas from tables into table in PDF report from c# windows forms.
    But here is my problem how can i align Title(DCS Clinical Report-Technician wise) center of pdf report with image named:logo5.png immediately coming to it's right?.
    As the problem i am facing is my title or Header(DCS Clinical Report-Technician wise) is at top of my image named:logo5.png and not coming to it's center position of my image.
    Second the problem i am facing is how to add new entire row to top of existing table in pdf report from c# windows form using iTextSharp?.
    given in below is the row and it's data . So how do i add the given below row and it's data to my top my table in pdf report from c# windows forms using itextsharp?
    as you can see how i create my columns in table in pdf report and populate it with sql server data. Given the code below:
    Document doc = new Document(PageSize.A4.Rotate());
    var writer= PdfWriter.GetInstance(doc, new FileStream("Technician22.pdf", FileMode.Create));
    doc.SetMargins(50, 50, 50, 50);
    doc.SetPageSize(new iTextSharp.text.Rectangle(iTextSharp.text.PageSize.LETTER.Width, iTextSharp.text.PageSize.LETTER.Height));
    doc.Open();
    PdfPTable table = new PdfPTable(7);
    table.TotalWidth=585f;
    table.LockedWidth = true;
    Paragraph para = new Paragraph("DCS Clinical Report-Technician wise", FontFactory.GetFont("Arial", 14, iTextSharp.text.Font.BOLD, BaseColor.BLACK));
    para.Alignment = iTextSharp.text.Element.TITLE;
    iTextSharp.text.Image png = iTextSharp.text.Image.GetInstance("logo5.png");
    png.ScaleToFit(95f, 95f);
    png.Alignment = Element.ALIGN_RIGHT;
    SqlConnection conn=new SqlConnection("Data Source=NPD-4\\SQLEXPRESS;Initial Catalog=DRRS;Integrated Security=true");
    SqlCommand cmd = new SqlCommand("Select t.technician_id,td.Technician_first_name,td.Technician_middle_name,td.Technician_last_name,t.technician_dob,t.technician_sex,td.technician_type from Techniciandetail td,Technician t where td.technician_id=t.technician_id and td.status=1", conn);
    conn.Open();
    SqlDataReader dr;
    dr = cmd.ExecuteReader();
    table.AddCell("ID");
    table.AddCell("First Name");
    table.AddCell("Middle Name");
    table.AddCell("Last Name");
    table.AddCell("DOB" );
    table.AddCell("Gender");
    table.AddCell("Designation");
    while (dr.Read())
    table.AddCell(dr[0].ToString());
    table.AddCell(dr[1].ToString());
    table.AddCell(dr[2].ToString());
    table.AddCell(dr[3].ToString());
    table.AddCell(dr[4].ToString());
    table.AddCell(dr[5].ToString());
    table.AddCell(dr[6].ToString());
    dr.Close();
    table.SpacingBefore = 15f;
    doc.Add(para);
    doc.Add(png);
    doc.Add(table);
    doc.Close();
    So my question is how to make my column headers in bold?
    So these are my questions.
    1. how can i align Title(DCS Clinical Report-Technician wise) center of pdf report with image named:logo5.png immediately coming to it's right?.
    2. how do i add the given below row and it's data to my top my table in pdf report from c# windows forms using itextsharp?
    3.how to make my column headers in bold?
    I know that i have to do some modifications to my code but i dont know how to do it. Can anyone help me please.
    Any help or guidance in solving this problem would be greatly appreciated.
    vishal

    Hi,
    >>1. how can i align Title(DCS Clinical Report-Technician wise) center of pdf report with image named:logo5.png immediately coming to it's right?.
    2. how do i add the given below row and it's data to my top my table in pdf report from c# windows forms using itextsharp?
    3.how to make my column headers in bold?<<
    I’m sorry for the issue that you are hitting now.
    This itextsharp is third party control, for this issue, I recommended to consult the control provider directly, I think they can give more precise troubleshooting.
    http://sourceforge.net/projects/itextsharp/
    Thanks for your understanding.
    Regards,
    Marvin
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • SQL Server Distributed Partitioning Views how to add a new node online

    We are using distributed partitioning views in SQL Server 2012 Enterprise Edition for scaling out our data across more than one servers. Now we faced to question how to add a new node (server) into the scale outed db servers system without sending the servers
    down, so our users will be able to use them during the process as well.
    For example we have 4 servers with scaled out data. When we add the new empty server, the CHECKINGs for the partitioning columns should be reorganized. But during the process the partitioning views are not working.
    The High Availability, Always On or Failover Cluster approaches seem are not resolve the problems.
    So my question is how to add new node online?
    KH

    Thank you Erland for the reply.
    Yes, it's sounds as possible solution but has some not resolvable nuance in it. Let's say we copied some data from Node5 to new added Node6. Let's assume in Node5 we had data in Table1 with partitioning column's values 100,101,102,103,104,105,106.  Now
    we want to copy part of the rows with partitioning column's values 103,104,105,106 from Node5.Table1 into Node6.Table1. With this Node5 will contain less data and will work more quickly (less IO, less CPU usage etc), and the rest data will be contained on
    Node6. But because of Node5 is already in use, the Node5.Table1 contains CHECK CONSTRAINT = ParttionColumn should be from 100 up to 106. This is check for Node5. The Distributed Partitioning Views are already using the CHECKs to identify what server should
    be used to get data from.
    Now when we copied part of the Node5.Table1 rows to Node6.Table1 the views are still using the 103-106 rows from Node5.Table1 because the CHECK points there. Then we include the newest Node6.Table1 in the distributed partitioning views. OK, but we should
    set some CHECK on new Node6.Table1 which will be used by views. We can't set intersecting checking like Node5 has CHECK 100-106 and Node6 has CHECK 103-106. We also can't edit Node5 check and set it 100-102 untill the data will be removed in it. But this means
    that the data will not be available during the execution. 
    So, any ideas ?
    KH

  • How to add a new character set encoding?

    Hello,
    can anybody please explain to me, how to add a new character set encoding to Mac OS Tiger?
    I have two Mac laptops, a new one with Snow Leopard and an older one with Tiger, and on the old one i cannot use or enable anywhere the "Russian (DOS)" character set encoding, which i need to be able to use some old text files.
    On the Snow Leopard, this encoding is present in the list of available encodings of TextWrangler, but not in TIger.
    If i have understood correctly, this is not a problem of TextWrangler, and the same encodings are available systemwide.
    So, the question is: how to add new encodings to Tiger (or to Mac OS in general)?
    Thanks.

    I think possibly that's in the Get Info window of Finder?
    I don't think either that or the input menu have any effect on available encoding choices. Adding languages to system prefs/international/languages can do that, but once you have added Russian there, I don't know of any way to add an additional Russian encoding (there are quite a number of them).

  • Urgent - How to add a new control instead of tabs in JTabbedPane

    Hi,
    Please give me an idea or a sample program for how to add a new control
    in JTabbedpane instead of tabs that means overlay any Java controls or pane
    in the tabpane empty place next to tabs

    "Urgent" is not relevant to the question. Your question is no more important than anybody elses.
    My answer in this posting show a limited solution:
    http://forum.java.sun.com/thread.jspa?forumID=57&threadID=636289
    Otherwise I suggest you try using a layered pane approach:
    http://java.sun.com/docs/books/tutorial/uiswing/components/layeredpane.html

  • How to add a new universe in population for Predictive Analysis

    Post Author: izhar
    CA Forum: Performance Management and Dashboards
    Hi all members I am working on BOXI R2, SP2 I have to ask that, How to add a new universe in population for "Predictive Analysis". Currently i can only view universe of "Direct Customers and Direct Products"
    Any member please help me hereRegards Izhar

    Hi Anne,
    It really depends on how your portal is set up. And there are 101 ways this could have been done.
    I've used the Home Page Framework as an easy to define and extend framework to show applications. I've used it both for ESS and MSS, Using the HPF requires that an application has an iView in the portal.
    The main point to be made here is that this is not a Web Dynpro ABAP specific question - but rather one about MSS portal implementation - you would probably be better posting a question in either one of the ESS/MSS or Portal forums.
    As it is not a WDA specific question, I'd ask that you kindly close this thread and reopen in another forum.
    Thanks for your understanding, it would be nice to be able to answer all questions in all forums (perhaps with some sort of tagging system) but currently forum rules are that questions must be specific to the forum posted.
    Thanks,
    Chris

  • How to add a new password policy

    This must be simple, but appearantly nobady has conceeded:
    "how does one add a NEW password policy to the OID?"
    I need this functionality, because I want to enforce the following rules in my SSO application:
    - 99% of the users may have passwords that never expire
    - 1% (say 5 or 6) users must have passwords that do expire, because they are super users and we want to minimize the risk of their passwords getting in the wrong hands.
    I feel almost embarrased to post this question, but I really cannot find any example or documentation that shows me how to add a new password policy.
    Is their any way to do this in OID?

    Hi,
    Can you please provide exact steps those were used to create password policies for users.
    I opened a Tar with metalink on this , and they told me that this way is not supported by Oracle.
    So if you can please help me with this it will be great. See the details about the Tar as below:
    11-AUG-05 21:41:42 GMT
    QUESTION
    =========
    How to create or add a password policy for users in OID according to forum 833683 ?
    RESEARCH
    =========
    - Re: How to add a new password policy
    - Oracle Internet Directory Administrator’s Guide Release 9.2 Chapter 17 "Password Policies"
    ANSWER
    =======
    Oracle Technical Support does not support to create password policies for specific users. Orac
    le Internet Directory provides a Password Policy for each subscriber created (al
    so known as Realm) or for the entire DIT.
    eos (end of section)
    I talked with the customer and she agreed to close this TAR.
    Best Regards,
    Hector Viveros
    Oracle Identity Management
    @HCL
    .

  • How to add a new column (Project Number) in the action items table under NPD Module?

    There are two projects with same name and created by same person in NPD.
    So when it is displayed in "Action Items" table, It looks similar.
    To avoid this, I need one more column (Project Number) to be added in the "Action Items" table and " Strategic briefs and projects" table.
    So, How to add a new column (Project Number) in the "Action Items" table and " Strategic briefs and projects" table under NPD Module?
    Please do the needful.

    There is no out of the box configuration available to add columns to NPD action items.   As always we welcome enhancement requests. 
    Thanks
    Kelly

  • How to add a new field in MM01, with say contaminent  as a field?

    How to add a new field in MM01, with say contaminent  as a field? I process that i know is i has to go the user exit and check out the three user exits that are available for MM01 after that what i have to do please can any one help me out with the procedure to proceed?

    Hai      venkateshwar reddy ,
    try with these user exits
    MGA00001 Material Master (Industry): Checks and Enhancements
    MGA00002 Material Master (Industry): Number Assignment
    MGA00003 Material Master (Industry and Retail): Number Display
    Refer these steps also
    http://sap.ittoolbox.com/groups/technical-functional/sap-r3-dev/screen-exit-on-mm01-mm02-mm03-322717#

  • How to add a new tab for the project?

    Dear All Experts,
        Could you tell me how to add a new tab for the project?
        Pls refer to the screenshot as below:
    Thanks!
    Xinling Zhang

    Hi,
        The new tab in cj20n , and the new tab can only be displayed in the highed level.Pls refer to below
        And in cj02, there is no this tab also in the wbs detailed screen,
    Thanks!
    Xinling

  • How to add a new data element for existing table filed(Primary key field)

    Hi Experts,
    How to add a new data element for existing table field(Primary key field)
    For this filed ther is no foreign key relation ships and even check table.
    while activating table it is giving message like below.
    can you help any one to solve this and wil steps to add new dataelement for existing primary key filed of a table.
    Check table (NAMING SPACE/TABLE NAME(EX:/TC/VENDOR)) (username/19.02.10/03:29)           
    Primary key change not permitted for value table /TC/VENDOR
    Check on table  /TC/VENDOR resulted in errors              
    Thanks
    Ravi

    Hi,
    Easiest way is to download the table eg into an Excel table (if possible) or text table. Drop the table from the database. Build your table with the new key field. Build the database table again and fill it.
    You can do it also over the database into a new table. Drop the old one. Build the enhanced one and fill it. Afterwards drop your (temporary) table.
    Maybe there are other ways, but this works.
    Success,
    Rob

Maybe you are looking for

  • How do I get an invoice re-sent from a Genius Bar for a handset replaced under warranty?

    I took my iPhone 5 into a Genius Bar for a speaker issue. I was immediately emailed an invoice for the repair under warranty and told to come back in an hour. After an hour, they decided to replace the handset completely under warranty, but I don't h

  • Theme Transport

    Hey I've been working on a Look and Feel project for the past few weeks , and my theme is nearly done (just missing some minor changes). we are now tryng to transport the theme to other portal. we have some errors mainly on the following areas:    -

  • WiFi syncing / Streaming Audio

    I will be getting a Touch soon, and want to get some things figured out beforehand. WiFi Syncing. I have a non-Apple (2Wire) 802.11g server for my laptops, also wired (ethernet) to my desktop (older iMac, 10.5.X). Desktop has no Airport card. If I wa

  • Has anyone experienced file extensions not being recognised by the right program?

    I'm using CC -- the whole show, Win 7 Pro and Win 8 Pro on a second PC. Only the Win 7 system is showing this issue but both systems have identical software. Click on an inDesign file and Acrobat tries to open it. Click on a Photoshop file and a HDR

  • Hi All,What is the concept of table control in bdc

    Hi All,What is the concept of table control in bdc .Can u please explain in brief.How we have to handle the logic for va01 transaction . Thanks&regards. Bharat