How to make graph?

can anyone tell me how to show graph in the application and not using the java applets?thanks!

Now with pie-chart too, Mmm-mmm pies!import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public class DynamicGraph extends JFrame implements ActionListener {
  JButton button;
  int []bar = new int[5];
  float []flote = new float[5];
  String str = "", title="";
  String []barLabels = {"","","","",""};
  String []percent = {"","","","",""};
  JLabel []JLab = new JLabel[5];
  JTextField titletxt;
  JTextField []Text = new JTextField[5];
  JTextField []labeltxt = new JTextField[5];
  boolean pieChart;
public DynamicGraph() {
      super("Dynamic Graph");
      Container c    = getContentPane();
       JPanel panel = new JPanel(){
             public void paintComponent(Graphics g)     {
            Graphics2D g2 = (Graphics2D)g;
            g2.setColor(new Color(223,222,224));
            g2.fillRect(0,0,500,400);
            g2.setColor(Color.orange);
               if(pieChart) {
                  g2.fillArc(30, 130, 220, 220, 90, -bar[0]);
                  g2.fillRect(270, 170, 30, 20);
               else g2.fillRect(30, 150, bar[0], 30);
            g2.setColor(Color.green);
               if(pieChart) {
                  g2.fillArc(30, 130, 220, 220, 90-bar[0], -bar[1]);
                  g2.fillRect(270, 210, 30, 20);
               else g2.fillRect(30, 190, bar[1], 30);
            g2.setColor(Color.red);
               if(pieChart) {
                  g2.fillArc(30, 130, 220, 220, 90-(bar[0]+bar[1]), -bar[2]);
                  g2.fillRect(270, 250, 30, 20);
               else g2.fillRect(30, 230, bar[2], 30);
            g2.setColor(Color.blue);
               if(pieChart) {
                  g2.fillArc(30, 130, 220, 220, 90-(bar[0]+bar[1]+bar[2]), -bar[3]);
                  g2.fillRect(270, 290, 30, 20);
               else g2.fillRect(30, 270, bar[3], 30);
            g2.setColor(Color.yellow);
               if(pieChart) {
                  g2.fillArc(30, 130, 220, 220, 90-(bar[0]+bar[1]+bar[2]+bar[3]), -bar[4]);
                  g2.fillRect(270, 330, 30, 20);
               else g2.fillRect(30, 310, bar[4], 30);
            g2.setColor(Color.black);              
            g2.setFont(new Font("Arial", Font.BOLD, 18));
               if(pieChart) g2.drawString(title, 220, 142);
               else g2.drawString(title, 50, 132);
            g2.setFont(new Font("Arial", Font.PLAIN,16));
            int temp=0;
               if(pieChart) temp = 185;
               else temp = 172;
                  for(int j=0; j <5; j++) {
                    if(pieChart) g2.drawString(barLabels[j]+percent[j], 305, temp);
                    else g2.drawString(barLabels[j]+percent[j], bar[j]+40, temp);
                    temp += 40;
               if(!pieChart){
                  g2.drawLine(30, 130, 30, 350);
                  g2.drawLine(30, 345, 430, 345);
                  g2.drawLine(210, 345, 210, 350);
                  g2.drawLine(390, 345, 390, 350);
                  g2.setFont(new Font("Arial", Font.PLAIN,12));
                  g2.drawString("0%", 26, 362);
                  g2.drawString("25%", 113, 362);
                  g2.drawString("50%", 200, 362);
                  g2.drawString("75%", 287, 362);
                  g2.drawString("100%", 380, 362);
               super.paintComponent(g2);
         panel.setOpaque(false);
      panel.setLayout(new FlowLayout() );
      button = new JButton("Draw 1");
      JLabel jLab = new JLabel("<html><font face='Arial'>Enter graph title here, then labels and<br>number values and press the button</font></html>");
      titletxt  = new JTextField(18);
      panel.add(jLab);
      panel.add(titletxt);
      JLabel addNums = new JLabel("Labels: ");
      panel.add(addNums);
         for (int j=0; j<5; j++){
             str = Integer.toString(j+1);            
             JLab[j] = new JLabel(str);
             labeltxt[j] = new JTextField(6);
             panel.add(JLab[j]);
             panel.add(labeltxt[j]);
      button.addActionListener(this);
      JLabel labellers = new JLabel("Numbers");
      panel.add(labellers);
         for (int k=0; k<5; k++){
             str = Integer.toString(k+1);            
             JLab[k] = new JLabel("    "+str+" ");
             Text[k] = new JTextField(3);
             panel.add(JLab[k]);
             panel.add(Text[k]);
      panel.add(button);
      c.add(panel);
public void actionPerformed(ActionEvent e) {
   String command = e.getActionCommand();
     if(command.equals("Draw 1")){
       button.setText("Draw 2");
       pieChart=false;
       try {
       title = titletxt.getText();
         if(title.length() <1)title ="No title submitted";
         int temp =0;
         java.text.DecimalFormat df = new java.text.DecimalFormat("#0.#");
           for (int j=0; j<5; j++){
              flote[j] = Float.parseFloat(Text[j].getText());
              temp += (int)((flote[j]) +0.5);
           for (int k=0; k<5; k++){
              bar[k] = (int)(((flote[k]/temp) * 360)+0.5);
              barLabels[k] = labeltxt[k].getText();
              flote[k] = (flote[k]/temp) *100;
              percent[k] = ":  "+df.format(flote[k])+"%";
        catch(Exception message){
           title = "Oops! Complete all fields, enter numbers only";
     if(command.equals("Draw 2")){
       button.setText("Draw 1");
       pieChart=true;
   repaint();
  public static void main(String[] args) {
    DynamicGraph frame = new DynamicGraph();
    frame.setSize(500,400);
    frame.setLocation(200, 200);
    frame.setResizable(false);
    frame.setDefaultCloseOperation( EXIT_ON_CLOSE );
    frame.setVisible(true);
}

Similar Messages

  • How to make the values of a combination graph (bar and line) visible always

    Hi ,
    I am using jdev 11.1.1.6
    i have created a combination graph which has a bar and line.
    The data with respect to bar and graph were only visible when i keep the mouse pointer on it.
    i need to set the values visible always.
    kindly let me know how to make it.
    In pie graph its by default showing the data always.
    regards
    Siva

    Hi Sameh Nassar,
    Thanks for the input, am using the combination graph and i dont have this property added till now.
    i tried adding them manually in source but it didn't work. so I assume that this property is good with pie chart alone.
    please correct me if am wrong.
    This is my combination graph structure.
        <dvt:comboGraph id="comboGraph1"
                          value="#{bindings.testVO1.graphModel}"
                          subType="COMBINATION_VERT_ABS_2Y" shortDesc="Graph 1">
            <dvt:background>
              <dvt:specialEffects/>
            </dvt:background>
            <dvt:graphPlotArea/>
            <dvt:seriesSet markerDisplayed="true">
              <dvt:series lineWidth="0"/>
            </dvt:seriesSet>
            <dvt:o1Axis/>
            <dvt:y1Axis/>
            <dvt:y2Axis/>
            <dvt:legendArea automaticPlacement="AP_NEVER"/>
            <dvt:graphTitle text="Combination graph"/>
            <dvt:o1Title text="x axis"/>
            <dvt:y1Title text="y1 axis"/>
             <dvt:y2Title text="y2 axis"/>
          </dvt:comboGraph>
    regards
    Siva

  • How to make a graph inside a while loop maintain previous values

    In the beginning I was trying to use an the XY Graph Express VI to create a plot of points.  However, the graph is making a linear retrace between the first point of the new line, and the last point of the previous line.  It then creates the new line as desired.
    I have tried using a for loop with to bundle a cluster to the graph, but the graph resets the plot on each iteration (as expected) and I cannot find a way to make it maintain the previous data.  I tried using shift registers but was unable to find out how to do this, and I have also tried bundling the cluster to an array, but cannot figure out how to make the cluster go to a 1D array of a cluster of 2 elements.
    One option is having is finding a way to make it maintain previous data, but the preferred option is to make it create a new plot on each iteration so as to see the color change for each new plot.
    Solved!
    Go to Solution.
    Attachments:
    shift register attempt.JPG ‏64 KB
    original attempt.JPG ‏42 KB
    Output only current iteration data.JPG ‏86 KB

    I'm taking a stab at this because I'm not exactly sure what you want. But I think it is what I have shown here. You need to use a shift register on your outter while loop as I have shown. Your image where you tried using a shift register shows a misunderstanding of shift registers and how they work though, so I would take a look at these tutorials.
    CLA, LabVIEW Versions 2010-2013
    Attachments:
    plot with SR.png ‏29 KB

  • 11g how to make time-line graphs ?

    Hi !
    I'm looking for the way how to make make time based or date based graphs ....in bi publisher  11g(ps6) ?
    This is basic functionality but I'm  not able to find it there  ?
    x  = timestamp
    y = value
    x = date
    y =value
    How to do it ?
    Thanks

    A  whole  lot  about  Time  Machine for help with TM problems.  Also you can select Mac Help from the Finder's Help menu and search for "time machine" to locate articles on how to use TM.  See also Mac 101- Time Machine.

  • How to make beautiful intensity graph/chart?

    I have one question for plotting the intensity graph using labview. I have ten bins
    particle data (as attached, the first row is particle size which is y and the x is time, and the z is the particle concentration). I try to plot a intensity graph, but I got a very ugly picture. I use the property node but still don't get a good one. I want to know if the data is sufficient to make a nice plot and how to make it? Thank you very much.
    Attachments:
    06242008-dNdlogDp-flow3.txt ‏27 KB

    Thanks,altenbach. What I mean beautiful picture is something like thisnot include the top line). Anyway, could you put your vi in the post, I use labview7.1, thank you.
    altenbach wrote:
    jzhao wrote:
     I use the property node but still don't get a good one.
    I have no idea what that means! What kind of property??? What did you wire to it????
    An intensity graph needs the point regularly spaced (linear or lograrithmic), while your y mapping is nonlinear. This means you need to re-interpolate for a regular xy grid.
    Unfortunately, I don't know what you mean by "ugly" can you show us an example and tell us in what way it is ugly.
    Here's a quick attempt, remapping the y-axis to 200 equally spaced points. I don't know if you consider this ugly.
    Message Edited by altenbach on 06-28-2008 01:32 AM
    altenbach wrote:
    jzhao wrote:
     I use the property node but still don't get a good one.
    I have no idea what that means! What kind of property??? What did you wire to it????
    An intensity graph needs the point regularly spaced (linear or lograrithmic), while your y mapping is nonlinear. This means you need to re-interpolate for a regular xy grid.
    Unfortunately, I don't know what you mean by "ugly" can you show us an example and tell us in what way it is ugly.
    Here's a quick attempt, remapping the y-axis to 200 equally spaced points. I don't know if you consider this ugly.
    Message Edited by altenbach on 06-28-2008 01:32 AM
    altenbach wrote:
    jzhao wrote:
     I use the property node but still don't get a good one.
    I have no idea what that means! What kind of property??? What did you wire to it????
    An intensity graph needs the point regularly spaced (linear or lograrithmic), while your y mapping is nonlinear. This means you need to re-interpolate for a regular xy grid.
    Unfortunately, I don't know what you mean by "ugly" can you show us an example and tell us in what way it is ugly.
    Here's a quick attempt, remapping the y-axis to 200 equally spaced points. I don't know if you consider this ugly.
    Message Edited by altenbach on 06-28-2008 01:32 AM
    Attachments:
    DMA_N.jpg ‏162 KB

  • How to make a Java program that recognises a function of two variables...

    How to make a Java program that recognises a function of two variables to assign values to that?
    First I will give an example and then do the question.
    Ex1.
    We have any function, eg.y = x ^ 2 + 1 (read 'y' equals 'x' high to the square), a function of the second degree.
    To build the graph of this function attach values to 'x' to find the values of 'y'
    And thus mount the pair ordered (x, y) which represents a point on the Cartesian plane.
    Assigning values to 'x' 'we can build up a table that gives us the pairs ordered:
    We can use any numbers, but arfer interval [-3.3]
    X | y = x ^ 2 + 1
    -3 | Y = (-3) ^ 2 +1 = 10
    -2 | Y = (-2) ^ 2 +1 = 5
    -1 | Y = (-1) ^ 2 +1 = 2
    0 | y = (0) ^ 2 +1 = 1
    1 | y = (1) ^ 2 +1 = 2
    2 | y = (2) ^ 2 +1 = 5
    3 | y = (3) ^ 2 +1 = 10
    We then ordered the pairs:
    (-3.10), (-2.5); (-1.2), (0,1), (1,2), (2,5), (3,10)
    Tabem that can be represented by a table:
    X | y
    -3 | Y = 10
    -2 | Y = 5
    -1 | Y = 2
    0 | y = 1
    1 | y = 2
    2 | y = 5
    3 | y = 10
    Now I begin to explain my doubts.
    See this program:
    Ex2
    * To change this template, choose Tools | Templates
    * And open the template in the editor.
    Encontrando_o_valor_de_y package;
    * @ Author des Soldat Gottes
    Import javax.swing.JOptionPane;
    Public class (Main
    * @ Param args the command line arguments
    Public static void main (String [] args) (
    Int x, y;
    String x1;
    X1 = JOptionPane.showInputDialog ( "We have the function y = x + 1 \ n" +
    "Assign a value for 'x',"); / / receives a value for the function y = x + 1
    X = Integer.parseInt (x1); / / tranforma String in int
    Y = x + 1; / / receives the value of 'x' and calculates' y '
    JOptionPane.showMessageDialog (null, "The value of 'y' is: \ t \ t" + y);
    / / Displays the value of 'y'
    System.exit (0);
    We see that the program receives above a value for 'x' and replaces the function contained in the program, y = x + 1, and so is the value of the variable 'y'.
    In: x1 = JOptionPane.showInputDialog ( "We have the function y = x + 1 \ n" +
    "Assign a value for 'x',");
    The entry is a number and that number is assigned aa ja existing function in the (y = x + 1).
    The question is: would it be possible to come to a function?
    Ex: the program ask: DIGITE THE FUNCTION?
    The USUARIO DIGITARIA A FUNCTION ANY, TYPE: y = x ^ 2 +1
    The program would recognize the function and give numerical values to that function as Ex1, at the beginning of this text.
    And then to find the values of the x and y launch a table.
    It would be possible that?
    By invez of entering with a number so that the program sustitua a function ja existing as Ex2, seen above, entering with a function quaquer (type: y = x ^ 2 +1) for the program atribuisse values to that function and then create a table of values as Ex1.
    I hope it has been easier to understand my doubts now.
    Thank you for your attention!
    God bless!

    rafaelmenezes wrote:
    Thanks for the explanation, could understand what fly said.
    But as it applied to a program?
    How to create a program that recognizes that the entry coefficients?Are you asking about how to parse out the coefficients from the string "3x^4 + 4x^3 - 8x^2 + 5x^1 + 2x^0"? If you define the format to strictly follow that example, this should get you started:
    Strip out the spaces
    Split the String on "x^"
    That should give you [3, 4+4, 3-8, 2+5, 1+2, 0]
    Split each resulting String on "+ | -", preserving the operator as a token so you can apply the correct sign to the coeff.
    That should leave you with [3, 4, +, 4, 3, -, 8, 2, +, 5, 1, +, 2, 0]. Every other number is a coeff, the rest are the degrees.
    You can strip out the +, since those coeffs are already positive, and strip out the - after negating the following number. This is all assuming that you have to write this yourself. There is no doubt already a library or 5 out there that does this for you.

  • How to make text/objects move nonlinear speed on AE CC?

    Hi,
    I was wondering two questions:
    1) how to make "text holders" that has small animation. Here is an example from a video http://www.youtube.com/watch?v=5oSWt84VoAg (0:41).
    2) how to move objects with increasing speed and soft slow down. I know how to change speed, but how to make it so that it is only accelerating and slowing down? Same examle can be found from the clip above with the place holders and texts.
    Thank you for your help. If there is same kind of discussion going on please let me know. I could not find it.

    All of what you want to do comes down to the fine art of learning how to magle curves in the graph editor, which is nothing you can learn from just watching totorials. You learn it by doing and collecting experience.
    Mylenium

  • How to make a DAG Strongly Connected?

    How to make a Directed Acyclic Graph a Strongly Connected one by adding minimum number of edges into it?
    Thanks

    anryb wrote:
    How to make a Directed Acyclic Graph a Strongly Connected one by adding minimum number of edges into it?A strongly connected graph has a path from every vertex A to evey vertex B but then a path from B to A exists as well violating the acyclic directed property of the graph.
    Or is the graph allowed to lose its DAG property in the process?
    kind regards,
    Jos

  • How to get graphs with steps greater than 10

    is this the limit in numbers for graphing y vs x axis data?
    I finally figured out how to make 2d line graphs for basic analysis and graphing, (such as temperature vs volume). when I go to edit my data in the chart editor, i can only make steps as much as 10. so if i have 400 degrees, that means my graph will be every 40 on one of the axis... is there a way to increase the steps so that I can have smaller intervals than 1/10th?

    I just wanted to check because the workaround for Y axis requires a bit of work and patience.
    I built four charts from
    column A + column B ( of course you may also select the values to chart)
    column A + column C (no X-axis, no labels on X-axis, lines = none, points = none )
    column A + column D (no X-axis, no labels on X-axis, lines = none, points = none )
    column A + column E (no X-axis, no labels on X-axis, lines = none, points = none )
    Define the min and max values to get ten equal intervals in the four charts.
    Define the background to none
    Superpose the charts with the one built from column A & B at top.
    Insert a white rectangle between the upper chart (here Graphique 1) and the three others to hide the extraneous horizontal lines (-30, -20, -10).
    This way we have more steps.
    Yvan KOENIG (VALLAURIS, France) dimanche 5 septembre 2010 19:44:37

  • I was able copy the hardrive of my old macbook from "My Passport" onto the desktop on an older iMac. but i dont know how to make my hardrive and user name be the main one since someone had used it in the past and had their info on the comp. please help!

    I recently broke my 2008 macbook. i was able to use an external hardrive to back up my data onto My Passport. I was going to buy a new computer but a friend told me sher had an older version of the iMac. (not sure how old but it doesnt have a camera if that helps) i was able to hook it up and turn it on but i ran into a few problems. 1) the "authentic" user or whatever it says is someone who previously used the computer. i added me as a user but im not sure how to make me the main user. 2) after hooking up My Passport, i was able to drag my files and copy them to the desktop.(i think i did it correctly) now, i dont know how to make my hard drive and applications and iformation the "main " info. The current apps on the iMac are super old versions of iTunes and iPhoto and such. 3) while trying to open the apps from my macbook on the iMac, it said it didnt have the right software to open these apps.
    I am so computer illiterate so someone please help!!! Also, i do not have internet in my new apartment yet so if there is a way to make this happen without using the internet that would be preferred. sorry for the horrible spelling and poorly written paragraph.
    THANK YOU!!

    You are not going to be able to run your old system from the backup on this old computer as the hardware is incompatible.
    You need to get a new computer or a refurbished one.

  • How to make column headers in table in PDF report appear bold while datas in table appear regular from c# windows forms with sql server2008 using iTextSharp

    Hi my name is vishal
    For past 10 days i have been breaking my head on how to make column headers in table appear bold while datas in table appear regular from c# windows forms with sql server2008 using iTextSharp.
    Given below is my code in c# on how i export datas from different tables in sql server to PDF report using iTextSharp:
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    using System.Windows.Forms;
    using System.Data.SqlClient;
    using iTextSharp.text;
    using iTextSharp.text.pdf;
    using System.Diagnostics;
    using System.IO;
    namespace DRRS_CSharp
    public partial class frmPDF : Form
    public frmPDF()
    InitializeComponent();
    private void button1_Click(object sender, EventArgs e)
    Document doc = new Document(PageSize.A4.Rotate());
    var writer = PdfWriter.GetInstance(doc, new FileStream("AssignedDialyzer.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(6);
    table.TotalWidth =530f;
    table.LockedWidth = true;
    PdfPCell cell = new PdfPCell(new Phrase("Institute/Hospital:AIIMS,NEW DELHI", FontFactory.GetFont("Arial", 14, iTextSharp.text.Font.BOLD, BaseColor.BLACK)));
    cell.Colspan = 6;
    cell.HorizontalAlignment = 0;
    table.AddCell(cell);
    Paragraph para=new Paragraph("DCS Clinical Record-Assigned Dialyzer",FontFactory.GetFont("Arial",16,iTextSharp.text.Font.BOLD,BaseColor.BLACK));
    para.Alignment = Element.ALIGN_CENTER;
    iTextSharp.text.Image png = iTextSharp.text.Image.GetInstance("logo5.png");
    png.ScaleToFit(105f, 105f);
    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 d.dialyserID,r.errorCode,r.dialysis_date,pn.patient_first_name,pn.patient_last_name,d.manufacturer,d.dialyzer_size,r.start_date,r.end_date,d.packed_volume,r.bundle_vol,r.disinfectant,t.Technician_first_name,t.Technician_last_name from dialyser d,patient_name pn,reprocessor r,Techniciandetail t where pn.patient_id=d.patient_id and r.dialyzer_id=d.dialyserID and t.technician_id=r.technician_id and d.deleted_status=0 and d.closed_status=0 and pn.status=1 and r.errorCode<106 and r.reprocessor_id in (Select max(reprocessor_id) from reprocessor where dialyzer_id=d.dialyserID) order by pn.patient_first_name,pn.patient_last_name", conn);
    conn.Open();
    SqlDataReader dr;
    dr = cmd.ExecuteReader();
    table.AddCell("Reprocessing Date");
    table.AddCell("Patient Name");
    table.AddCell("Dialyzer(Manufacturer,Size)");
    table.AddCell("No.of Reuse");
    table.AddCell("Verification");
    table.AddCell("DialyzerID");
    while (dr.Read())
    table.AddCell(dr[2].ToString());
    table.AddCell(dr[3].ToString() +"_"+ dr[4].ToString());
    table.AddCell(dr[5].ToString() + "-" + dr[6].ToString());
    table.AddCell("@count".ToString());
    table.AddCell(dr[12].ToString() + "-" + dr[13].ToString());
    table.AddCell(dr[0].ToString());
    dr.Close();
    table.SpacingBefore = 15f;
    doc.Add(para);
    doc.Add(png);
    doc.Add(table);
    doc.Close();
    System.Diagnostics.Process.Start("AssignedDialyzer.pdf");
    if (MessageBox.Show("Do you want to save changes to AssignedDialyzer.pdf before closing?", "DRRS", MessageBoxButtons.YesNoCancel, MessageBoxIcon.Exclamation) == DialogResult.Yes)
    var writer2 = PdfWriter.GetInstance(doc, new FileStream("AssignedDialyzer.pdf", FileMode.Create));
    else if (MessageBox.Show("Do you want to save changes to AssignedDialyzer.pdf before closing?", "DRRS", MessageBoxButtons.YesNoCancel, MessageBoxIcon.Exclamation) == DialogResult.No)
    this.Close();
    The above code executes well with no problem at all!
    As you can see the file to which i create and save and open my pdf report is
    AssignedDialyzer.pdf.
    The column headers of table in pdf report from c# windows forms using iTextSharp are
    "Reprocessing Date","Patient Name","Dialyzer(Manufacturer,Size)","No.of Reuse","Verification" and
    "DialyzerID".
    However the problem i am facing is after execution and opening of document is my
    column headers in table in pdf report from
    c# and datas in it all appear in bold.
    I have browsed through net regarding to solve this problem but with no success.
    What i want is my pdf report from c# should be similar to following format which i was able to accomplish in vb6,adodb with MS access using iTextSharp.:
    Given below is report which i have achieved from vb6,adodb with MS access using iTextSharp
    I know that there has to be another way to solve my problem.I have browsed many articles in net regarding exporting sql datas to above format but with no success!
    Is there is any another way to solve to my problem on exporting sql datas from c# windows forms using iTextSharp to above format given in the picture/image above?!
    If so Then Can anyone tell me what modifications must i do in my c# code given above so that my pdf report from c# windows forms using iTextSharp will look similar to image/picture(pdf report) which i was able to accomplish from
    vb6,adodb with ms access using iTextSharp?
    I have approached Sound Forge.Net for help but with no success.
    I hope anyone/someone truly understands what i am trying to ask!
    I know i have to do lot of modifications in my c# code to achieve this level of perfection but i dont know how to do it.
    Can anyone help me please! Any help/guidance in solving this problem would be greatly appreciated.
    I hope i get a reply in terms of solving this problem.
    vishal

    Hi,
    About iTextSharp component issue , I think this case is off-topic in here.
    I suggest you consulting to compenent provider.
    http://sourceforge.net/projects/itextsharp/
    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.

  • How to make downloadable links in Adobe Muse

    I am new to website design and am trying to figure out how to make downloadable links for some PDF flyers, PSD templates I am creating.   Not sure if "downloadable links" is the correct term for what I'm trying to say but in a nutshell I am creating Business Flyer's in PDF form and Photoshop PSD template files that I would like to be able to have my users click a link that allows them to download them right to their desktop.  Any help would really be appreciated!

    Hi caybar10gaming,
    I had the same question as you and was searching online for how to add "downloadable links" as well so your not alone in that lol. Anyways, I found this video that explains how to do this. I hope this helps you, as it did me. Good Luck  
    http://tv.adobe.com/watch/muse-feature-tour/add-and-link-to-any-type-of-file/
    -Caitlin

  • I cannot figure out how to make the text larger on an incoming email.  The finger method doesn't work and I cannot find any toolbar with which to do it.  I could find nothing in settings also.  Plese help and thank you.

    I cannot figure out how to make the text larger in a received email.  The finger method doesn't work and I can find no tool bar as I can for composing emails.  I can find nothing in settings.  Please help and thank you in advance.

    Hi there,
    Download a piece of software called TinkerTool - that might just solve your problem. I have used it myself to change the system fonts on my iMac. It is software and not an app.
    Good wishes,
    John.

  • How to make numbers in message text input  fields left aligned?

    Hi Friends
    I have completed one of my task .but getting result right side of the field.
    how to make numbers in message text input  fields left aligned?
    Thanks
    Aravinda

    Hi ,
    Sorry for late replay i am trying this alos not set that page....
    pageContext.forwardImmediatelyToCurrentPage(null, true, null);
    and one more that kff field working is fine for ex display any text pled displayed properly and only problem is not set the value and HrSitKeyFlex6 and HrSitKeyFlex7 fields are perfectly get the values but not pront HrSitKeyFlex8 that only my issue....
    Regards,
    Srini

  • How to make a JPanel selectable

    When extending a JPanel and overriding the paintComponent() method the custom JPanel can not be selected so that it gets for example KeyEvents.
    But if I make the new Class extend a JButton it gets of course selected and able to receive for example KeyEvents.
    My question is therefore; what does the JButton implement that a JPanel doesn&#8217;t so that a JButton gets selectable? Or in other words; how to make a JPanel selectable?
    Aleksander.

    Try this extended code. Only the first panel added can get the Focus.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    class Test extends JFrame
      public Test()
        setLocation(400,300);
        setDefaultCloseOperation(EXIT_ON_CLOSE);
        JPanel panel1 = new JPanel(new BorderLayout());
        JPanel panel2 = new JPanel(new BorderLayout());
        ImagePanel imgPanel = new ImagePanel();
        panel1.setFocusable(true);
        panel2.setFocusable(true);
        panel1.setPreferredSize(new Dimension(0, 50));
        panel2.setPreferredSize(new Dimension(0, 50));
        panel1.setBorder(BorderFactory.createLineBorder(Color.RED,     4));
        panel2.setBorder(BorderFactory.createLineBorder(Color.CYAN,    4));
        imgPanel.setBorder(BorderFactory.createLineBorder(Color.BLACK, 4));
        panel1.add(new JLabel("Panel 1"), BorderLayout.CENTER);
        panel2.add(new JLabel("Panel 2"), BorderLayout.CENTER);
        getContentPane().add(panel1, BorderLayout.NORTH);
        getContentPane().add(panel2, BorderLayout.SOUTH);
        getContentPane().add(imgPanel, BorderLayout.CENTER);   
        pack();
        panel1.addKeyListener(new KeyAdapter(){
            public void keyPressed(KeyEvent ke){
                System.out.println("Panel1");}});
        panel2.addKeyListener(new KeyAdapter(){
            public void keyPressed(KeyEvent ke){
                System.out.println("Panel2");}});
      public static void main(String[] args){new Test().setVisible(true);}
    class ImagePanel extends JPanel
      Image img;
      public ImagePanel()
        setFocusable(true);
        setPreferredSize(new Dimension(400,300));
        try{img = javax.imageio.ImageIO.read(new java.net.URL(getClass().getResource("Test.gif"), "Test.gif"));}
        catch(Exception e){/*handled in paintComponent()*/}
        addKeyListener(new KeyAdapter(){
          public void keyPressed(KeyEvent ke){
            System.out.println("ImagePanel");}});
      public void paintComponent(Graphics g)
        if(img != null)
          g.drawImage(img, 0,0,this.getWidth(),this.getHeight(),this);
        else
          g.drawString("This space for rent",50,50);
    }

Maybe you are looking for