Creating dynamic illustrations from spreadsheet

Hi,
I am currently working on a research project which involves creating dynamic graphics.
My research involves the creation of a graphic diagram from spreadsheets/databases. But the output requires to be dynamic. E.g change the spreadsheet it changes the graphic.
I am basically want to create my own graphs. But I don't want to use the illustrator graph wiz.
I wondered if you had any suggestions of how to go about this? I have been looking into programing and plugins but nothing has come up so far. Can you help?
Hope you can help!
Ian Carr

All i want to do is give shapes a vialue and that value
corresponds to size colour and where it's placed on the page.
What you describe can certainly be done with AI Javascript. But...
My research involves the creation of a graphic diagram from spreadsheets/databases. But the output requires to be dynamic. E.g change the spreadsheet it changes the graphic.
...depends upon what exactly you mean by "dynamic; change the spreadsheet, it changes the graphic."
With AI Javascript, you can:
Parse values out of delimited text.
Use those values to manipulate size, position, and color of objects.
Assign Notes to objects, or send them to a Layer (or possibly use other mechanisms whereby to give them a "handle" by which to identify them again the next time you edit the values and rerun the script).
So if by "dynamic" you mean to have the graph effectively "re-plot" itself upon demand after editing the values, yes.
But if by "dynamic" you mean to watch individual objects move as you edit individual values in real time, without re-running the script, no. (That could be done in Flash.)
JET

Similar Messages

  • Creating dynamically JTree from database values

    Hi,
    I have a local database with some node values. I receive these values from database as a String[].
    short example:
    String[] Values = {"mainNode","Processors","mainNode","RAM","mainNode","Monitors",
    "Processors","INTEL","Processors","AMD","RAM","Kingston","RAM","GoodRAM",
    "Kingston","400MHz","Kingston","433MHz"}First value is higher node, second is a child.
    I'd like to produce dynamically JTree from Values[] like below:
    MainNode
    |----Processors
          |----INTEL
          |----AMD
    |----RAM
          |----Kingston
                |----400MHz
                |----433MHz
          |----GoodRam
    |----MonitorsI can't build up any working and fast solution :(
    Can anyone help me ?
    Please for any advices (samples) which will help me to apply it.
    Dearly regards!

    This is a relatively straight forward task but it smacks of being homework so unless you post what you have already done you are unlikely to be given any code.
    As a hint -
    Go through the data creating a Map between the parent value and a child DefaultMutableTreeNode which contains as user object the child String.
    When you extract a parent String from the data lookup the parent DefaultMutableTreeNode in the map and add the child DefaultMutableTreeNode to the parent DefaultMutableTreeNode.
    Note - All the map is doing is giving you a quick way of looking up a DefaultMutableTreeNode given a parent name.
    Note - that your tree will have problems if the same value appears in two or more branches!

  • NEED HELP... Creating dynamic table from data file...

    Hi
    I'm writing an application for data visualization. The user can press the "open file" button and a FileChooser window will come up where the user can select any data file. I would like to take that data file and display it as a table with rows and columns. The user needs to be able to select the coliumns to create a graph. I have tried many ways to create a table, but nothing seems to work! Can anyone help me?! I just want to read from the data file and create a spreadsheet type table... I won't know how many rows and columns I'll need in advance, so the table needs to be dynamic!
    If you have ANY tips, I'd REALLY appreciated.....

    Thank you for your help. I tried to use some of the code in the examples... I'm really new at this, so I'm not sure how to set it up. I added the code, but when I open a file, nothing happens. Here's the code I have so far...
    package awt;
    import java.awt.*;
    import java.awt.event.*;
    import java.io.*;
    import java.net.*;
    import java.util.*;
    import javax.swing.*;
    import javax.swing.event.*;
    import java.text.*;
    import javax.swing.border.*;
    import javax.swing.table.*;
    * @author
    public class Main {
    public static void main(String[] args) {
    JFrame frame = new ScatterPlotApp();
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    frame.show();
    class ScatterPlotApp extends JFrame implements ActionListener{
    private JButton openButton, exitButton, scatButton, refreshButton;
    private JMenuBar menuBar;
    private JMenuItem openItem, exitItem;
    private JFileChooser chooser;
    private JMenu fileMenu;
    private JTextPane pane;
    private JTable table;
    private DefaultTableModel model;
    private JScrollPane scrollPane;
    private Container contentPane;
    /** Creates a new instance of ScatterPlotApp */
    public ScatterPlotApp() {
    setTitle("Data Visualizer");
    Toolkit tk = Toolkit.getDefaultToolkit();
    Dimension d = tk.getScreenSize();
    int width = 867;
    int height = 800;
    setBounds((d.width - width)/2, (d.height - height)/2, width, height);
    contentPane = getContentPane();
    JPanel panel = new JPanel();
    //pane = new JTextPane();
    panel.setLayout(new FlowLayout(FlowLayout.CENTER));
    contentPane.add(panel, BorderLayout.SOUTH);
    //contentPane.add(pane, BorderLayout.NORTH);
    scatButton = new JButton("Create ScatterPlot");
    scatButton.addActionListener(this);
    openButton= new JButton ("Open File");
    openButton.addActionListener(this);
    exitButton = new JButton ("Exit");
    exitButton.addActionListener(this);
    refreshButton = new JButton ("Reload Data");
    refreshButton.addActionListener(this);
    panel.add(openButton);
    panel.add(scatButton);
    panel.add(refreshButton);
    panel.add(exitButton);
    fileMenu = new JMenu("File");
    openItem = fileMenu.add(new JMenuItem ("Open", 'O'));
    openItem.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_O, Event.CTRL_MASK));
    openItem.addActionListener(this);
    exitItem = fileMenu.add(new JMenuItem ("Exit", 'X'));
    exitItem.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_X, Event.CTRL_MASK));
    exitItem.addActionListener(this);
    JMenuBar menuBar = new JMenuBar();
    fileMenu.setMnemonic('F');
    menuBar.add(fileMenu);
    setJMenuBar(menuBar);
    public void actionPerformed(ActionEvent e){
    Vector columnNames = new Vector();
         Vector data = new Vector();
    try{
    Object source = e.getSource();
    if (source == openButton || e.getActionCommand().equals("Open")){
    chooser = new JFileChooser(".");
    int status =chooser.showOpenDialog(this);
    if (status ==JFileChooser.APPROVE_OPTION)
    File file = chooser.getSelectedFile();
    FileInputStream fin = new FileInputStream(file);
    BufferedReader br = new BufferedReader(new InputStreamReader(fin));
    String line;
    //StringBuffer bf = new StringBuffer();
    StringTokenizer st1 = new StringTokenizer(br.readLine(), ";");
                   while( st1.hasMoreTokens() )
                        columnNames.addElement(st1.nextToken());
                   // extract data
                   while ((line = br.readLine()) != null)
                        StringTokenizer st2 = new StringTokenizer(line, ";");
                        Vector row = new Vector();
                        while(st2.hasMoreTokens())
                             row.addElement(st2.nextToken());
                        data.addElement( row );
                   br.close();
    model = new DefaultTableModel(data, columnNames);
              table = new JTable(model);
    scrollPane = new JScrollPane( table );
    getContentPane().add( scrollPane, BorderLayout.NORTH );
    while((line=br.readLine())!=null)
    bf.append(line+"\n");
    pane.setText(bf.toString());
    //pane.setText(bf.toString());
    else if (source == scatButton){
    else if (source == exitButton || e.getActionCommand().equals("Exit")){
    System.exit(0);
    else if (source == refreshButton){
    catch (Exception ex){
    ex.printStackTrace();
    }

  • Quick way to create Lower thirds from Spreadsheet

    Maybe everyone knows this already since it came out when I was away from the forums, but I searched the Premiere Pro forums for the word "spreadsheet" and got no related results, so here goes....
    There is a way to type all of your information for lower thirds, or titles of any kind for that matter, including the kind of sub titles that are actually on the video itself, into a spreadsheet and using variables, create as many Photoshop PSD files to be imported into Premiere Pro as you wish.
    It is brilliant. Simply brilliant.
    Download the sample project and the PDF of the instructions. They ask for your name and e-mail address so that they can lock the PDF to one person (another good trick) to avoid people sharing. They want you to see the info about the book. But this chapter if free. And brilliant. Simply brilliant. But I guess I said that already.
    http://premierepro.net/editing/spreadsheets-to-lower-thirds/

    Well, I know what I would do if I needed to do such a thing.
    The programming language in Microsoft Excel is extremely powerful. It is a version of Visual Basic and can easily manipulate text files. So I would open a PRTL file, change the text and save it as the next title. Then I would repeat for every line in the spreadsheet.
    To make this easy, after formatting your first title, change the text to something simple, and export it to a PRTL file - and always use the same text and same title name to make writing the macro easier. Then just cycle through the rows of the spreadsheet. I haven't done this in ages, but I suppose I could give it a go if I had the proper motivation.
    But why? Why not use Photoshop?

  • Create Dynamic Chart from sql / plsql

    Hi can anybody help with this problem. I need to know the process I can use to create a dynamic pie chart from plsql.
    i.e. the functionality is -> user selects a table, then selects a subset of columns and then generates a pie chart of these columns.
    I cannot find a way of generating the pie chart sql syntax on the fly. Can anybody do this?

    See: Re: SVG Charts - How to use dynamic tables in select statement

  • Create dynamic controls from JSON Response

    I have a requirement to create a group of checkbox with lebels in a page from JSON response.
    The JSON response is
        "data": [
                "CodeStatus": "Red"
                "CodeStatus": "Orange"
                "CodeStatus": "Green"
                "CodeStatus": "Yellow"
    the  design is:
    the box is vertically scrollable, as it can have more color codes.
    Can anyone suggest how to design the above?
    If one can provide the implemantation code, that would be very good as I have very time to implement it.

    Have a look at templates and for more complex scenarios factory functions, which give you the ability to dynamically create controls from model data.
    SAPUI5 SDK - Demo Kit
    Regards,
    Jason

  • Creating dynamic caches from static config

    Hi, we normally create our caches using static config, using the std xml config.
    Example, in our cache-mapping, we'll have a cache like the below:
    <cache-name>account</cache-name>
                <scheme-name>distributed-persistent-write-thru</scheme-name>
                <init-params>
                    <init-param>
                        <param-name>cache-store-class-name</param-name>
                        <param-value>spring-bean:accountCacheStore</param-value>
                    </init-param>
                    <init-param>
                        <param-name>expiry-time</param-name>
                        <param-value>7d</param-value>
                    </init-param>
                    <init-param>
                        <param-name>high-units-param</param-name>
                        <param-value>6075000</param-value>
                    </init-param>
                    <init-param>
                        <param-name>low-units-param</param-name>
                        <param-value>4556251</param-value>
                    </init-param>
                </init-params>And in our schemes, we'll have something like:
       <distributed-scheme>
                <scheme-name>distributed-persistent-write-thru</scheme-name>
                <service-name>DistributedWriteThrough</service-name>
                <backing-map-scheme>
                    <read-write-backing-map-scheme>
                        <class-name>com.mycom.coherence.ExceptionLoggingBackingMap</class-name>
                        <internal-cache-scheme>
                            <local-scheme>
                                <scheme-ref>local-hybrid-eviction</scheme-ref>
                                <expiry-delay>{expiry-time}</expiry-delay>
                                <high-units>{high-units-param}</high-units>
                                <low-units>{low-units-param}</low-units>
                            </local-scheme>
                        </internal-cache-scheme>
                        <cachestore-scheme>
                            <class-scheme>
                                <class-name>{cache-store-class-name}</class-name>
                            </class-scheme>
                        </cachestore-scheme>
                        <write-delay>0</write-delay>
                    </read-write-backing-map-scheme>
                </backing-map-scheme>
                <autostart>true</autostart>
                <backup-count-after-writebehind>0</backup-count-after-writebehind>
            </distributed-scheme>However, now we need to be more dynamic. What i'd like to do is create N caches, that all look like the "account" cache above; so it's like i want to use the config as a template. I don't know how many of these caches i'll need, so i can't configure them statically. The number of caches will be given to the server at startup.
    Something like:
    List cacheList = new ArrayList<NamedCache>();
    NamedCache templateCache = CacheFactory.getCache("account");
    cacheList.add( templateCache );
    for( int i=0; i<count; i++) {
       cacheList.add( CacheFactory.createFromCache( templateCache, "account"+i ) );
    }So what's "best practice" for doing something like this?
    Thx.
    Edited by: user9222505 on Jul 9, 2012 4:52 PM

    Ahh.. I see. There are a few ways to do this.
    Presumably then you can create the cache store from Spring for a given cache name. So create a factory class with a static method that takes a String parameter, which will be the cache name, and returns a Cache Store. For example...
    package com.jk;
    public class CacheStoreFactory {
        public static CacheStore createCacheStore(String cacheName) {
            // in here goes your code to get the cache store instance from Spring
    }Now change your cache configuration to use the Factory for your cache store like this
    <cache-mapping>
        <cache-name>account*</cache-name>
        <scheme-name>distributed-persistent-write-thru</scheme-name>
        <init-params>
            <init-param>
                <param-name>expiry-time</param-name>
                <param-value>7d</param-value>
            </init-param>
            <init-param>
                <param-name>high-units-param</param-name>
                <param-value>6075000</param-value>
            </init-param>
            <init-param>
                <param-name>low-units-param</param-name>
                <param-value>4556251</param-value>
            </init-param>
        </init-params>
    </cache-mapping>
    <caching-schemes>
        <distributed-scheme>
            <scheme-name>distributed-persistent-write-thru</scheme-name>
            <service-name>DistributedWriteThrough</service-name>
            <backing-map-scheme>
                <read-write-backing-map-scheme>
                    <class-name>com.mycom.coherence.ExceptionLoggingBackingMap</class-name>
                    <internal-cache-scheme>
                        <local-scheme>
                            <scheme-ref>local-hybrid-eviction</scheme-ref>
                            <expiry-delay>{expiry-time}</expiry-delay>
                            <high-units>{high-units-param}</high-units>
                            <low-units>{low-units-param}</low-units>
                        </local-scheme>
                    </internal-cache-scheme>
                    <cachestore-scheme>
                        <class-scheme>
                            <class-factory-name>com.jk.CacheStoreFactory</class-factory-name>
                            <method-name>createCacheStore</method-name>
                            <init-params>
                                <init-param>
                                    <param-type>String</param-type>
                                    <param-value>{cache-name}</param-value>
                                </init-param>
                            </init-params>
                        </class-scheme>
                    </cachestore-scheme>
                    <write-delay>0</write-delay>
                </read-write-backing-map-scheme>
            </backing-map-scheme>
            <autostart>true</autostart>
            <backup-count-after-writebehind>0</backup-count-after-writebehind>
        </distributed-scheme>
    </caching-schemes>When Coherence comes to create a cache it will pass the name to the factory method to create the cache store.
    JK

  • Create dynamic webpages from Content management system

    We have a requirement where the user would add a content for a "type = adCampaign". This content (for this type)then should create a dynamic webpage.
    The html template (for the dynamic page) remains the same. Only the images and the static content changes.
    Does anyone know how to achieve this?
    I was looking at adTargetContent tag. Does anybody have any examples of this usage.
    Thanks for your help in advance.

    Hi,
    Have you looked into the personalization and campaign management features in WLP 8.1? It sounds like they will do what you need, but if not, please give us some more details about what you're trying to do.
    Cheers,
    Skip

  • Create dynamic column from xml file

    Hi All,
           <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"  layout="absolute" backgroundColor="white" width="500" height="300" creationComplete="onload()" >
    <mx:Style>
        DataGrid {
            alternatingItemColors: #a1a1a1,#8bb8e6;       
            borderColor:#050505; borderStyle:outset;        
            color:#ffffff;       
            editable:false;         
               fontSize:11; fontWeight:bold; fontFamily:Tahoma;          
               horizontalGridLines:false;
               headerStyleName:myHeaderStyles;
                    headerSeparatorSkin:ClassReference("mx.skins.ProgrammaticSkin");    
        rollOverColor:#5CC2F7;    
        selectionColor:#E8C76D; sortableColumns:true;   
        textAlign:center; textRollOverColor:#FD0606; textSelectedColor:#1301FF;   
        variableRowHeight:true;
        verticalAlign:middle; verticalGridLines:false; verticalGridLineColor:#050505;   
    wordWrap: false; 
    .myHeaderStyles
                color: #ffffff;
                fontWeight: bold; fontFamily:Arial; fontSize:13;
    </mx:Style>
    <mx:Script>
    <![CDATA[
    import mx.collections.ArrayCollection;
       import mx.charts.renderers.CircleItemRenderer;
       import mx.charts.series.ColumnSeries;
       [Bindable]
        public var myData:ArrayCollection;
    private var now:Date=new Date();
    private var str:String;
    private var st:String;
    public function onload():void
    str=String(now.getDate())+' '+String(now.getMonth())+' '+String(now.getFullYear())+' '+String(now.getHours())+' '+String(now.getMinutes()+' '+String(now.getSeconds()));
    trace(str);
    st=srv.url="Data/NumberChart.xml?rand="+str;
    trace(st);
    srv.send();
    public function onresult():void
    myData=ArrayCollection(srv.lastResult.Document.Record)
    trace(myData);
    ]]>
    </mx:Script>
    <!-- xml path (data passing) -->
      <mx:HTTPService id="srv"         result="onresult()"  /> 
      <mx:WipeRight id="myWR" duration="2000"/>
        <mx:WipeLeft id="myWL" duration="2000"/>   
        <mx:HBox label="Home Team" width="100%" height="100%" backgroundColor="white">
    <mx:DataGrid id="HomeTeam" dataProvider="{myData}" creationCompleteEffect ="{myWR}"   width="500" height="300"  headerBackgroundSkin="@Embed(source='assets/Tileimage4movieplayer_img.png')">
    <mx:columns>
    <mx:DataGridColumn id="Hcol1" headerText="Player" draggable="false" dataField="DisField" width="170" showDataTips="true" wordWrap="true"  />
    <mx:DataGridColumn id="Hcol2" headerText="Average" draggable="false" dataField="Value" width="170" showDataTips="true" wordWrap="true"  />
    <mx:DataGridColumn id="Hcol3" headerText="Matchs" draggable="false" dataField="Prefix" width="170" showDataTips="true" wordWrap="true"  />
    </mx:columns>
    </mx:DataGrid>
    </mx:HBox>
    </mx:Application>
    and my xml code is...
    <?xml version='1.0' encoding='utf-8' ?>
    <Document Title='50 Runs Milestone'>
    <Record>
    <DisField>K Sangakkara</DisField>
    <Value>200.00</Value>
    <runs>50</runs>
    <Prefix>KXIP Vs DC</Prefix>
    </Record>
    <Record>
    <DisField>R Sharma</DisField>
    <Value>185.19</Value>
    <Prefix>KXIP Vs DC</Prefix>
    <runs>50</runs>
    </Record>
    <Record>
    <DisField>W Jaffer</DisField>
    <Value>151.52</Value>
    <Prefix>BRC Vs CSK</Prefix>
    <runs>50</runs>
    </Record>
    <Record>
    <DisField>G Gambhir</DisField>
    <Value>135.14</Value>
    <Prefix>CSK Vs DD</Prefix>
    <runs>50</runs>
    </Record>
    <Record>
    <DisField>M Boucher</DisField>
    <Value>125.00</Value>
    <Prefix>KKR Vs BRC</Prefix>
    <runs>50</runs>
    </Record>
    <Record>
    <DisField>A Gilchrist</DisField>
    <Value>119.05</Value>
    <Prefix>KXIP Vs DC</Prefix>
    <runs>50</runs>
    </Record>
    <Record>
    <DisField>S Asnodkar</DisField>
    <Value>113.64</Value>
    <Prefix>RR Vs BRC</Prefix>
    <runs>50</runs>
    </Record>
    </Document>
    it's working but i want to crete dynamic datagrid column how to do it any idea?

    I actually found this topic interesting, so I made the data and code generic and created a Flex Cookbook entry, adding the ability to remove columns as well:
    <?xml version='1.0' encoding='utf-8' ?>
    <Document>
      <Record>
        <name>Bob Smith</name>
        <age>48</age>
        <sales>$53,000.00</sales>
        <territory>Southeast</territory>
      </Record>
      <Record>
        <name>Susan Sharma</name>
        <age>37</age>
        <sales>$37,000.00</sales>
        <territory>Southwest</territory>
      </Record>
      <Record>
        <name>George Freebird</name>
        <age>52</age>
        <sales>$49,000.00</sales>
        <territory>Midwest</territory>
      </Record>
    </Document>
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" 
      creationComplete="srv.send();" >
      <mx:Script>
        <![CDATA[
          import mx.controls.Alert;
          import mx.collections.ArrayCollection;
          [Bindable] public var myData:ArrayCollection;
          public function onresult():void{
            myData=ArrayCollection(srv.lastResult.Document.Record)
          private function modifyColumns(evt:MouseEvent):void{
            var ac:ArrayCollection = new ArrayCollection(SalesData.columns);
            var actionTaken:Boolean = false;
            if(evt.currentTarget.label=="Remove Column"){
              for each(var col1:DataGridColumn in ac){
                if(col1.headerText == headerTxt.text){
                  ac.removeItemAt(ac.getItemIndex(col1));
                  headerTxt.text = "";
                  SalesData.columns = ac.toArray();
                  actionTaken = true;
              if(actionTaken){
                mx.controls.Alert.show("Column " + headerTxt.text + " was removed.");
              }else{
                mx.controls.Alert.show("Column " + headerTxt.text + " not found.");
            }else if(evt.currentTarget.label=="Add Column"){
              for each(var col:DataGridColumn in ac){
                if(col.headerText == headerTxt.text){
                  mx.controls.Alert.show("Column " + headerTxt.text + " already exists.");
                  return;
              var dgc:DataGridColumn = new DataGridColumn();
              dgc.headerText = headerTxt.text;
              dgc.dataField = datafieldTxt.text;
              dgc.width = 100;
              ac.addItemAt(dgc, int(columnIndexTxt.text));
              SalesData.columns = ac.toArray();
              headerTxt.text = "";
              datafieldTxt.text = "";
              columnIndexTxt.text = "";
              mx.controls.Alert.show("Column " + headerTxt.text + " was added.");
        ]]>
      </mx:Script>
      <mx:HTTPService id="srv" url="data.xml" result="onresult()"/> 
      <mx:DataGrid id="SalesData" dataProvider="{myData}" width="500" height="300">
        <mx:columns>
          <mx:DataGridColumn headerText="Name" dataField="name" width="170"/>
          <mx:DataGridColumn headerText="Sales" dataField="sales" width="170"/>
          <mx:DataGridColumn headerText="Territory" dataField="territory" width="170"/>
        </mx:columns>
      </mx:DataGrid>
      <mx:Form label="Add or Remove a Column">
        <mx:FormItem label="Enter column header text:">
          <mx:TextInput id="headerTxt"/>
        </mx:FormItem>
        <mx:FormItem label="Enter column datafield (if adding):">
          <mx:TextInput id="datafieldTxt"/>
        </mx:FormItem>
        <mx:FormItem label="Enter zero based new column index (if adding):">
          <mx:TextInput id="columnIndexTxt"/>
        </mx:FormItem>
        <mx:FormItem label="Click to add or remove column">
          <mx:HBox>
            <mx:Button label="Add Column" click="modifyColumns(event);"
              disabledColor="0xf1aa99"
              enabled="{headerTxt.text!=''&amp;&amp;datafieldTxt.text!=''&amp;&amp;columnIndexTxt.text! =''}"/>
            <mx:Button label="Remove Column" click="modifyColumns(event);"
              disabledColor="0xf1aa99" enabled="{headerTxt.text!=''}"/>
          </mx:HBox>
        </mx:FormItem>
      </mx:Form>
    </mx:Application>

  • Possible to create an Application from Spreadsheet with Korean?

    When I try to use the wizard from importing a .csv file with Korean, Arabic, Japanese, etc. I choose UTF-8 as the File Character set, but the text comes in as "????-?????" Is there a way to get around this? Thanks.

    user561559,
    There are two possible explanations for this:
    1) You're inserting this data into a database with a character set which cannot support the encoding of these characters
    or
    2) The data you're importing via CSV is not encoded in UTF-8. If you're generating these CSV files from MS Excel, then the default CSV encoding will be specific to your client locale. If Arabic, it will be Arabic Windows 1256. If Korean, it will be Korean EUC (or Korean Windows 959). If Japanese, then it will be most likely Shift JIS.
    It will almost never be utf-8 coming from Excel, unless you explicitly export the data into utf-8.
    Joel

  • Creating dynamic lists from db resultset

    Hello, Not sure if this is the right forum but I am hoping someone can point me in the right direction.
    I have tried to set up a popup menu with JRadioButtonMenuItem (s) or a JTable from the resultset and then select from the list as input to the next db query (OracleSE db).
    What I cannot do is retrieve the value.
    With "JRadio" I cannot use 'this' on the button in the listener.
    With JTable I cannot extend the object.
    If there are examples then I would be grateful for leads, none of what I have seen goes this deep.
    Thanks,
    Ralph.
    Edited by: user548412 on Feb 21, 2012 6:05 PM

    It would be helpful if you posted your code inside the tags so it became readable. Please do that next time.
    And also: what's your question about that code? I don't see any JDBC code in there; did you have a JDBC question of some kind? If so, what is it?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • How to create dynamic tree from db resultset?

    i have a db and sql that includes item_id, parent_id, level, description for all hierarchy.
    i want to show this resultset on the page as a adf tree component. How to convert from db resultset to adf tree?
    that is my sql -&gt;SELECT LEVEL, display_title, item_id, parent_id, sac_Hierarchy.Branch(level,description) branch FROM XXXTABLE CONNECT BY job_code = 'ABCD' AND PRIOR item_id = parent_id START WITH job_code = 'ABCD' AND parent_id IS NULL;
    What can i do on backing java or what can i do on jsp page?
    Help Please.
    thanks
    Edited by: Mehmet Özkan on Aug 30, 2008 12:19 PM

    mehmet,
    Have you seen [url http://technology.amis.nl/blog/?p=2116]this?
    John

  • Application from Spreadsheet

    Hi,
    I want to create an Application from Spreadsheet or migrate a Excel Application to Oracle Apex.
    so I can Import a CSV File to the new Application that will be created.
    but
    how can i migrate an Excelapplication to Apex?
    and how to import the excelfiles without importing CSV files so many times as files exist?
    Many thanks.
    MDK.

    What table gets populated when you upload a csv file via create application from spreadsheet (is it only APEX_APPLICATION_FILES)? Because if i import the csv file in the repository it looks file when i download it. I not sure what controls the order of the csv file column order upon the upload create application from spreadsheet process. This is a very perplexing problem since it works on another apex 3.0/10.1 database environment.
    thanks

  • How do I export from PDF to PPT so that shapes created in Illustrator are editable

    How do I export from PDF to PPT so that shapes created in Illustrator are editable, not just text on top of them? I used the Acrobat XL Pro technique described here (http://www.adobe.com/products/acrobat/pdf-to-powerpoint-pptx-converter.html), to export a graphic I had created in Illustrator and saved as an Adobe PDF file, but shapes are not editable and are fuzzy too. Is there a way to export a complete Illustrator graphic to PowerPoint?

    Thanks Bill. Of course I realize I can insert an Illustrator drawing into a PPT without making it a PDF first. What I’m trying to do is insert a drawing from Illustrator that is still editable in PPT (a client request). Using the Acrobat XL Pro capability shown in this video <http://www.adobe.com/products/acrobat/pdf-to-powerpoint-pptx-converter.html> , only the text is editable in PPT, not shapes created in Illustrator.

  • Creating in DW a dropdown menu/navi-bar from png's created in Illustrator

    Hey All!
    I'm new to Dreamweaver (currently CS5.5) and trying to create webpages for a university-researched based project site.
    I'm totally lost as to how to create dropdown menus from buttons and dropdown menus I've created in Illustrator (CS4). I have made the buttons not particularly custom apart from the appearance. There seems to be no way to import from Illustrator unless using slices which only create html linkpages and/or CSS layers (I have no clue on that).
    I want to do a number of things:
    1. Have a navigation bar
    2. When the cursor hovers over the tab it inverts and
    (for example) the 'Introduction' tab drop-slides down to show the options.
    3. When the cursor hovers over an option the colour changes from light grey to black (?...)
    It's a tall order I know, but I've been searching on the web for the last 4 hours and have had no luck in finding what I'm looking for. It is possible isn't it? Surely at this point its possible to do anything with the adobe software?!
    Many thanks and best wishes,
    James MLM
    p.s. If you need to see an attachment of the exampled .pngs let me know. Cheers

    Thank you Murray *ACP* and Nancy O. for your help.
    I can neither afford to buy such software and nor want to sadly, if I could I would feel I'd learned nothing and have another program do all of the "thrashing" out for me . I'd like to know how it all works, since I'm very new to the whole website design industry (dreamweaver, joomla etc) and I'm keen to learn as much as possible.
    Don't take this the wrong way, but the Spry menu bars are fine for an everyday kind of put-together website, however this website is for an academic institution's project and I'm trying my darndest to make sure it doesn't resemble or fall into the category of excessive substance over style. It's a website meant for anyone to use, from the academics who understand the project to the anybody-joe-josie who can use it to learn from the research and products of the project. User-friendly as possible for an academic project. Harder than you think, unless you have seen any academic websites that have all the understandings of layout, clear project description and understanding and product.
    Surely there is a way of creating these customisable dropmenus and the masters of said software such as yourselves might find it too time-consuming to give me an idea of where to start, it's cool, I get it.
    On paper it's simple; create dropdown menus (slide smoothly) for external links etc, using the .pngs I've designed in Illustrator to give as much aesthetic interaction as possible, that's what I've been assigned to do to replace the quickly-slapped together website there was before. I can't show you the pages I've created from Illustrator using Slices (not a very effective option) since it's under the institution "law" of data protection until ready. I can only provide snippets and the previous website which is being completely updated to meet a brief of "smart, slick, simple".
    My definition of that is to have the style of smart, slick and simple whilst having a little more depth and accessibility. All things wonderful get better and evermore intriguing the closer you look.
    Thank you again for your help, I'm still learning but I put the hours into something that needs full attention. Plus to whinge (sorry) I'm not being paid, and it's a 3 month schedule. "Tene lupum auribus".
    Many thanks and best wishes,
    James MLM

Maybe you are looking for