Design problem with JScrollPane

First, I have problems with english. I hope u understand without problems that Im trying to say here. Sorry about that.
Mi problem is whit a JScrollPane. I want to put an image whit a predefined size for draw inside it. I dont have any information about it, just the size. I want to put it in a JPane. The best choice is use the JPane area. The problem is that I want to use a JScrollPane because the image is bigger that the visualization area.
Im unable to put a Canvas in the ScrollPane, or a JPane whit a predefined size or an image whit a predefined size. Im sure that is a design problem. Somebody can tell me something I can start whit? What do u think is better choice to put inside a JScrollPane?
I dont send any source code because I dont have anything else that is show in the example.
Gracias.

import java.awt.*;
import javax.swing.*;
import java.net.URL;
public class Test extends JFrame {
  String url = "http://www.sandbox-usa.com/images/product_images/2piece_16.gif";
  public Test() {
//    System.getProperties().put( "proxySet", "true" );  // uncomment if you have proxy
//    System.getProperties().put( "proxyHost", "myproxy.mydomain.com" ); // Your proxyname/IP
//    System.getProperties().put( "proxyPort", "80"); // Sometimes 8080   
    setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);   
    Container content = getContentPane();
    try {
      Image i = Toolkit.getDefaultToolkit().getImage(new URL(url));
      JLabel jl = new JLabel(new ImageIcon(i));
      content.add(new JScrollPane(jl), BorderLayout.CENTER);
      setSize(200, 200);   
      setVisible(true); 
    } catch (Exception e) { e.printStackTrace(); }
  public static void main(String[] args) { new Test(); }
}

Similar Messages

  • Design Problem with GUI sub vi

    Hello community,
    in general, I would like to separate the GUI from the data, but I get
    a problem with this design approach in LabView:
    I often have sub VIs that are supposed to control something.
    Therefore, these VIs consist of a control loop. A GUI window should
    show the regulation process (showing how the tracking error is
    hopefully approaching zero etc.). As I said, this GUI should be a
    separate VI (separate from the control loop VI). Since the GUI has to
    be updated on each sample, it is clear that the GUI VI should be
    inside the control loop, and therefore, it should be a sub VI of the
    control loop VI.
    Now, the problem is that the control loop VI itsself is a sub VI
    because the whole regulation is just a subsystem of the whole program
    (The main VI doesn't have a GUI, but first starts a (GUI) input mask
    for the same reason: separate the GUI from the rest).
    But back to the GUI VI inside the control loop. I must check the 'Show
    Front Panel When Called' option. But I can't check the 'Close
    Afterwards if Originally Closed' option since the GUI VI would appear
    and disappear in the control loop - according to the loop's sample
    rate. However, if I don't check the 'Close Afterwards if Originally
    Closed' option then the GUI VI will continue to show, even after the
    control process is finished.
    So in other words: I need the possiblity to close the GUI VI
    programatically, after the control process is finished.
    Any ideas?
    Regards
    Johannes

    Hi tmh,
    thanks for your answer
    On Tue, 11 Nov 2003 10:26:32 -0600 (CST), tmh wrote:
    >I think you're on the wrong track trying to put your 'GUI VI' inside
    >your control loop. It might be a better design to have the control and
    >GUI handled by separate loops and use an appropriate method to pass
    >data between the two, e.g. a global variable to pass the setpoint from
    >GUI to control...
    I try to avoid globals. Now, suppose I had multiple unrelated control
    loops. I had to suppose a global variable for each of these
    subsystems. I already use globals for the GPIB device IDs. I wouldn't
    like more.
    >and a queue to pass readings from control to GUI. In
    >fact, you could even split the GUI into two loops: one to read user
    >input from the front pa
    nel controls and one to display data returned
    >by the control loop.
    But if I split the GUI: How can I view them simultaneously? The user
    must see input and output simultaneously, in one window.
    >You may find it's more convenient to make the GUI
    >the top-level VI and make the control loop a subVI of that (but
    >outside the GUI loops).
    Your approach sounds interesting. Is there a sample for this
    architecture in the examples?
    Anyway, I have to point out that I have several unrelated GUI windows
    in my application. There is no notion of a main GUI in my application.
    The control loop is just one feature of my application, so it doesn't
    make sense to use the control GUI as the top-level VI. At application
    startup a user input form is displayed (it also has some sort of menu
    selection). But even this window can't be toplevel since it provides
    an Option radio button (that shows and hides controls, accordingly) a
    CONTINUE button, and a STOP button which implies that the input
    form.vi must be
    in a loop.
    The problem is that I can't send messages to windows in LabView as I
    am used to in Win32/VC++.
    Johannes

  • Reporting designer - problem with insertin query

    hi, I have problem with inserting query into reporting designer, when i do it there occurs metadata error and the system write check query, but query is ok, there are no variables. Have you any idea whats the problem.
    thanx

    I had a similar problem after "upgrading" to SAPGUI 7.10, except my failure was in the BEx Analyzer. (We are still using BW 3.5 SP 18.)
    The solution I found was in SAP Note 1039191 which addresses this problem for both the Analyzer and the Query Designer, and includes a revised "wdbsPres.dll" file as a workaround. After downloading and installing this file, the problem was resolved.
    BTW, I have asked SAP when this will be fixed in a future FEP, but they have so far only given me a very ambiguous reply suggesting that I try it on another PC.
    Hope this helps...
    Bob

  • Design problem with Swing

    Hi all. I've run into some design problems when trying to create a Swing app.
    I've got a non-graphical class that emulates a power supply unit. Let's call it PSUnit. I have to create a GUI for PSUnit.
    Every class designed to build a full GUI app uses PSUnit in some way (changes its voltage, displays voltage, turns it on, turns it off, etc.)
    Here's the catch. Suppose I've got a class:
    public class BuildingBlock extends JPanel {
         // code includes a JTextBox displaying
         // the current PSUnit voltage.
    }another class is created for setting the voltage:
    public class AnotherBlock extends JPanel {
         // this class contains a JSpinner and
         // a button that retrieves the JSpinner value
         // and sets it as the current voltage of
         // PSUnit
    }When the button in AnotherBlock is clicked, I must notify the BuildingBlock class that a PSUnit has changed its state so it can update it's values and display the correct data.
    I've tried to do this a few times but failed miserably, so I'm hoping you guys could help me out.
    Please note that both of the above classes have some additional code and it's not very pleasant to make one class an inner class of another. I should be able to create a "standalone" classes which, combined together, form a GUI for PSUnit.
    Thanks.

    Yes this is a common problem that many of us have when building UIs
    Here's the question: In this instance, are these two classes really independant? Could they stand alone? Often when building a GUI, it's not even that easy to answer that question, but these leads to the two ways you can solve this
    #1. Make them independent, and use listeners either using Observable / Observer or creating your own custom listeners. The advantage of this is smaller classes and more independence. The disadvantage is it's generally more complicated, especially at the design stage
    #2 (what I'd probably recommend). Make 1 GUI class "MyPSFrame", then declare your panel classes as inner classes within that class. This way, everything goes into one spot, and everything is shareable. This also makes sense if you can't have 1 of the panels without the other.

  • Problem with JScrollPane and Mouse Event in JDK 1.4

    The folowing code works fine with JDK 1.3. But not with JDK 1.4. It has got a JPanel(main panel) which hosts JScrollPane which hosts another JPanel (drawing Panel). If I remove(do not add) JScrollPane to the main Panel and ad drawing panel directly to the main panel, it works.
    Thanks.
    In order to replicate the exact scenario, I have modified Sun's tutorial ScrollDemo2.java
    * This code is based on an example provided by John Vella,
    * a tutorial reader.
    import javax.swing.*;
    import javax.swing.event.MouseInputAdapter;
    import java.awt.*;
    import java.awt.event.*;
    import java.util.*;
    public class ScrollDemo2 extends JPanel {
    private Dimension size; // indicates size taken up by graphics
    private Vector objects; // rectangular coordinates used to draw graphics
    private final Color colors[] = {
    Color.red, Color.blue, Color.green, Color.orange,
    Color.cyan, Color.magenta, Color.darkGray, Color.yellow};
    private final int color_n = colors.length;
    JPanel drawingArea;
    public ScrollDemo2() {
    setOpaque(true);
    size = new Dimension(0,0);
    objects = new Vector();
    //Set up the instructions.
    JLabel instructionsLeft = new JLabel(
    "Click left mouse button to place a circle.");
    JLabel instructionsRight = new JLabel(
    "Click right mouse button to clear drawing area.");
    JPanel instructionPanel = new JPanel(new GridLayout(0,1));
    instructionPanel.add(instructionsLeft);
    instructionPanel.add(instructionsRight);
    class MyScrollPane extends JScrollPane
    MyScrollPane(JPanel drawingArea)
    super(drawingArea);
    public void grabFocus()
    super.grabFocus();
    public void requestFocus()
    super.requestFocus();
    protected void processFocusEvent(FocusEvent e)
    if ( e.getID() == FocusEvent.FOCUS_GAINED )
    int i = 0;
    else
    if( e.getID() == FocusEvent.FOCUS_LOST )
    int i = 0;
    super.processFocusEvent(e);
    //Set up the drawing area.
    drawingArea = new JPanel() {
    protected void paintComponent(Graphics g) {
    super.paintComponent(g);
    Rectangle rect;
    for (int i = 0; i < objects.size(); i++) {
    rect = (Rectangle)objects.elementAt(i);
    g.setColor(colors[(i % color_n)]);
    g.fillOval(rect.x, rect.y, rect.width, rect.height);
    g.drawString("Hello",100,100);
    protected void processMouseEvent(MouseEvent pEvent)
    if(pEvent.getID() == pEvent.MOUSE_PRESSED)
    super.processMouseEvent(pEvent);
    else
    super.processMouseEvent(pEvent);
    drawingArea.setBackground(Color.LIGHT_GRAY);
    addMouseListener(new MyMouseListener());
    //Put the drawing area in a scroll pane.
    JScrollPane scroller = new MyScrollPane(drawingArea);
    scroller.setPreferredSize(new Dimension(200,200));
    setLayout(new BorderLayout());
    add(scroller, BorderLayout.CENTER);
    //If the above line is commented and the line bellow will be uncommented it works.
    //add(drawingArea, BorderLayout.CENTER);
    protected void processMouseEvent(MouseEvent pEvent)
    if(pEvent.getID() == pEvent.MOUSE_PRESSED)
    super.processMouseEvent(pEvent);
    else
    super.processMouseEvent(pEvent);
    class MyMouseListener extends MouseInputAdapter {
    final int W = 100;
    final int H = 100;
    public void mouseReleased(MouseEvent e) {
    boolean changed = false;
    if (SwingUtilities.isRightMouseButton(e)) {
    // This will clear the graphic objects.
    objects.removeAllElements();
    size.width=0;
    size.height=0;
    changed = true;
    } else {
    int x = e.getX() - W/2;
    int y = e.getY() - H/2;
    if (x < 0) x = 0;
    if (y < 0) y = 0;
    Rectangle rect = new Rectangle(x, y, W, H);
    objects.addElement(rect);
    drawingArea.scrollRectToVisible(rect);
    int this_width = (x + W + 2);
    if (this_width > size.width)
    {size.width = this_width; changed=true;}
    int this_height = (y + H + 2);
    if (this_height > size.height)
    {size.height = this_height; changed=true;}
    if (changed) {
    //Update client's preferred size because
    //the area taken up by the graphics has
    //gotten larger or smaller (if cleared).
    drawingArea.setPreferredSize(size);
    //Let the scroll pane know to update itself
    //and its scrollbars.
    drawingArea.revalidate();
    drawingArea.repaint();
    public static void main (String args[]) {
    JFrame frame = new JFrame("ScrollDemo2");
    frame.addWindowListener(new WindowAdapter() {
    public void windowClosing(WindowEvent e) {System.exit(0);}
    frame.setContentPane(new ScrollDemo2());
    frame.pack();
    frame.setVisible(true);

    I tried it . It didn't work.
    Thanks for the suggestionI've got it... I know that inside the paitComponet method you can't call setSize() in jdk1.4, but you could in previous versions... that has caused al lot of problems to me...
    Abraham

  • Design problem with the cube.

    hi,
         i need to maintain two fields in the cube, first field hold data month wise(like M1,M2,M3) and the second field hold the data in the year to month wise.
    eg.
                          M1          M2           M3
           FIELD1    10          20            30
           FIELD2    10          30            70
    PLEASE SUGGEST

    Hi LAX,
    I can think of following design:
    You have a source feeding the information as 10, 20, 30 etc for different months.
    Now continue loading data from source to cube for the first field (FIELD1).
    Now introduce an ODS between Cube and Source. Keep everything you have in cube as Key field in the ODS except Key Figure. keep the key Figure in the additive mode.
    Now in the start routine of ODS, for each of the record, you will have value of calmonth and a value to the KF.
    Say calmonth value is 01/2009 and KF value is 10. The thing you are doing is, you want to add this value to all the months along with the value of that month. Meaning this 10 should be included in all the months till december. Correct me if I am wrong.
    So for each of the record, duplicate the record from the calmonth to 12. In the case of example, it would be from 02 to 12 times.
    While duplicating the record, update the calmonth value of the duplicated data_package record as 02/2009, 03/2009 etc. etc.
    By doing this, you will have value for 10 for all the months in that year.
    After loading this information to ODS, you can pass that to Cube which will have your required numbers for FIELD2.
    - Danny

  • Help - Problems with JScrollPane

    I am bulding an application which displays several data base records. I want to build a scrolling display which would allow the list to be various sizes.
    However, in setting up the code for JScrollPane, I cannot get the definitions correct because the compiler keeps giving me "cannot resolve symbol" errors on the vertical scrollbar policy.
    I have read the API's and the Tutorial on JScrollPane and my reference book and have tried to set it up as they illustrate.
    The code is below.
    1) What is the correct definition for the scrollbar policy?
    2) Is my code basically correct to get a simple panel scrolled?
    ===============================
    // This Java program is for Listing Pay Periods
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.sql.*;
    public class prcPayPayPerLst extends JFrame implements ActionListener
    public JFrame frmPayPerLst;
    public JPanel pnlPayPer;
    public JScrollPane scrlPayPer;
    JButton btnPayPerEnd;
    JButton btnNewPayPer;
    public void prcPayPayPerLst(Color[] RFSColor, Font[] RFSFont,
                   String DBPwd)
         ColrIn = RFSColor;
         FontIn = RFSFont;
         RFSBkgC = ColrIn[0];
         *** (other programming)
         frmPayPerLst.addWindowListener(new WindowAdapter()
              public void windowClosing(WindowEvent e)
                   frmPayPerLst.dispose();
                   return;
         frmPayPerLst.setSize(420, 640);
         frmPayPerLst.setBackground(RFSDatC);
         frmPayPerLst.setVisible(true);
    // Connect to and read database
    //     Build data arrays
    //     Define panel
         pnlPayPer = new JPanel();
         pnlPayPer.setBorder(BorderFactory.createTitledBorder("Pay Periods"));
         pnlPayPer.setBackground(RFSDatC);
         pnlPayPer.setLayout(new GridLayout(0, 6, 15, 15));
    // define JButtons, JLabels, etc and load into panel
    //     *** (the display is about 14 rows long now)
    // last, set JButton
         pnlPayPer.add(btnPayPerEnd);
         btnPayPerEnd.addActionListener(this);
    // do JScrollPane - only the first one will compile with no errors
    //     scrlPayPer = new JScrollPane(pnlPayPer, 1, 0);
    //     scrlPayPer = new JScrollPane(pnlPayPer, VERTICAL_SCROLLBAR_ALWAYS, 0);
         scrlPayPer = new JScrollPane(pnlPayPer, ALWAYS, 0);
    //     scrlPayPer.setVerticalScrollBarPolicy(VERTICAL_SCROLLBAR_AS_NEEDED);
    //     add JScrollPane to Frame and display
         frmPayPerLst.getContentPane().setLayout(new BorderLayout());
         frmPayPerLst.getContentPane().add(scrlPayPer, BorderLayout.NORTH);
         frmPayPerLst.setLocation(50,150);
         frmPayPerLst.pack();
         frmPayPerLst.show();

    Thanks for all the suggestions.
    JScrollPaneConstants.scrollbar_policy works great.
    But I now have a frame being displayed that ignores the size I gave it. The vertical scrollbar is there altho inactive because it displays all the records - going off the bottom of the display to do it. The display has 15 or so records each with 6 columns.
    Why is it ignoring my Size statement?
    Pertinent parts of the code are:
    ========================
    // Define JFrame
    JFrame frmPayPerLst = new JFrame("Heading");
    frmPayPerLst.setSize(420,640); <<<<<=======
    frmPayPerLst.setVisible(true);
    // Define and load JPanel
    JPanel pnlPayPer = new JPanel();
    pnlPayPer.setLayout(new GridLayout(0,6,15,15));
    read database, add JButtons, JLabels, data, etc.
    // Define and load JScrollPane
    JScrollPane scrlPayPer = new JScrollPane(pnlPayPer, vert, horiz);
    // Put scrollpane in frame
    frmPayPerLst.getContentPane().setLayout(new BorderLayout());
    frmPayPerLst.getContentPane().add(scrlPayPer, BorderLayout.CENTER);
    frmPayPerLst.pack();
    frmPayPerLst.show():
    ============

  • Query designer problem with SAP GUI 7.10

    I recently installed the SAP GUI 7.10 and when I'm going to apply or remove a filter in any characteristic, this error is shown :
    <b>----
    BEx Query Designer
    Run-time error '-2147417848 (80010108)':
    Automation error
    The object invoked has disconnected from its clients.
    OK  
    </b>
    Anybody knows what to do?
    Tnks in advance.

    I had a similar problem after "upgrading" to SAPGUI 7.10, except my failure was in the BEx Analyzer. (We are still using BW 3.5 SP 18.)
    The solution I found was in SAP Note 1039191 which addresses this problem for both the Analyzer and the Query Designer, and includes a revised "wdbsPres.dll" file as a workaround. After downloading and installing this file, the problem was resolved.
    BTW, I have asked SAP when this will be fixed in a future FEP, but they have so far only given me a very ambiguous reply suggesting that I try it on another PC.
    Hope this helps...
    Bob

  • Design problem with dynamically added row in datatable

    Hello all,
    I have a dataTable and have developped a method that dynamically adds rows to the dataTable. Each row is made up of two form controls. The problem I have now is that I don't know how to retrieve the values from the mutiple rows. Ideally I would need the values to be stored into a list.
    Can anyone help?
    Thanks in advance,
    Julien.
    Here is my code:
    <h:dataTable var="line" binding="#{TradeClientsAndQuantitiesBean.clientsAndQuantities}"  value="#{TradeClientsAndQuantitiesBean.listOfMiddleFormHelpers}">
                <h:column>
                    <f:facet name="header">
                        <h:outputText value="S�lectionnez un client"/>
                    </f:facet>
                    <h:selectOneMenu value="#{TradeClientsAndQuantitiesHelperBean.selectedClientTemp}">
                        <f:selectItems value="#{TradeClientsAndQuantitiesHelperBean.concatenatedLabelMap}"/>
                    </h:selectOneMenu>
                </h:column>   
                <h:column>
                    <f:facet name="header">
                        <h:outputText value="Renseignez une quantit�"/>
                    </f:facet>
                    <h:inputText value=""/>
                </h:column>   
            </h:dataTable>

    The values will just be put in the same row object you added to TradeClientsAndQuantitiesBean.listOfMiddleFormHelpers.
    It might be worth to read this article: http://balusc.xs4all.nl/srv/dev-jep-dat.html

  • Web Application Designer Problem with Variable Rolluptime_max

    Hi,
    I needed some help on one of the issues I am facing in the Web template.There is a requirement that a query when executed on the web should have LatestDataUpdate of the data provider on the Header of the Report, which in this case is the Web Template.
    The issue is that I used the Rolluptime_max as the variable to get the value in the Web template and it works fine too in Dev system as I can see the changes on the Web.When I transported the changes to QA system then also it worked fine but in Production after the transport it's not picking up the date.
    I checked the template and the changes which I did is there in Production but it still doesn't pick up the date.
    Can anybody help.I am on BI7.0
    Thanks
    Umang

    I resolved my problem!
    In the Content Administration of the portal:
    -Portal Content
    --Content Provided by SAP
    ---Platform Add-Ons
    Business Intelligence
    iViews
    BEx Web... right click, Open -> Object
    I've deleted the value in the property "BEx Web Application Query String", I put in it nothing.
    Now, it works!
    Bye
    Federico

  • Problem with expanding textfield in Adobe LiveCycle Designer

    I've got an urgent problem with Adobe LiveCycle Designer and I really could use some help. The problem is that I'm trying to get my textfield expandable, but whatever I try, it's not working. What I'm trying to get done is that you can fill in a textfield, and when there is more text than the size of the field, the textfield expands to make the text fit in the field.
    I tried a whole lot of things:
    placing the textfield in a subform
    expand to fit (height)
    allow multiple lines
    allow page breaks
    flowed/positioned
    etc.
    The strange thing is, that no matter what I try to adjust, I can't change anything in the pagination tab. Maybe that is the problem, but I don't know what to do, to change that.
    In the examples of Adobe itself (Purchase Form) is an example of a textfield that sort of behaves as I want it to, BUT the problem is that that textfield in the subform has to be triggered to appear by a button (add comments) and that is what I don't want. I want the textfield to be visible from the beginning. But in that example you CAN see the pagination tab and make changes in it.
    I searched a lot in the Adobe Helpfiles of Designer, and I even bought and read/studied the book 'Creating Dynamic Forms with Adobe LiveCycle Designer', but still I'm not able to get this done.
    Is there anyone who can help me?
    Thanks in advance,
    Sterre

    I am creating my first .pdf with no training. I first converted a word doc of our form into a .pdf. Modified everything and thought I was the "bomb" for figuring it out. Then I tried to use the form and where I had "allowed multiple lines" I realized that it would allow that but not display it or print it except for what was showing.
    In researching for a solution, this site said to use "expand to fit". After much frustration I realized that this feature is only available if you created the form from scratch in adobe.
    I have figured out, somewhat, how to create the form and get the field to move with the text but I need the entire form to adjust to the input. Can't have one specific field expand into the rest of the form.
    I did some more research on this site, and it looks like the solution has something to do with 'subforms'. No idea what to do.
    If anyone knows if there is a way to do this with a converted doc (since I already have that completed) I would GREATLY appreciate it. If it isn't possible, could someone walk me through how to do it or provide a reference for a "barney style" walk through?
    Appreciate ANY assistance you can provide. THANKS! Guess I need to sign up for an Adobe Pro class. BTW I'm working on LiveCyle 8.0

  • Problem with chart design

    Hi
    I am experiencing a problem with the output of a line chart that I am creating in APEX. Its labels (X-axis) are dates, but they do not seem to fit entirely into the lenght of the x-axis (all the ones that I have ordered in the sql expression). Also, I needed to place these dates in a vertical position, for which I cannot find any parameter. The sql is as follows:
    select null link, DATA_REGISTO label, Total value
    from (select DATA_REGISTO, TOTAL_SEQ_URGENCIA as Total FROM "ANDRE"."HTIDISTSIMPLIF"
    where
    DATA_REGISTO = '06.01.01'
    or DATA_REGISTO = '06.01.08'
    or DATA_REGISTO = '06.01.15'
    or DATA_REGISTO = '06.01.22'
    or DATA_REGISTO = '06.01.29'
    or DATA_REGISTO = '06.02.05'
    or DATA_REGISTO = '06.02.12'
    or DATA_REGISTO = '06.02.19'
    or DATA_REGISTO = '06.02.26'
    or DATA_REGISTO = '06.03.05'
    or DATA_REGISTO = '06.03.12'
    or DATA_REGISTO = '06.03.19'
    or DATA_REGISTO = '06.03.26'
    or DATA_REGISTO = '06.04.02'
    or DATA_REGISTO = '06.04.09'
    or DATA_REGISTO = '06.04.16'
    or DATA_REGISTO = '06.04.23'
    or DATA_REGISTO = '06.04.30'
    or DATA_REGISTO = '06.05.07'
    or DATA_REGISTO = '06.05.14'
    or DATA_REGISTO = '06.05.21'
    or DATA_REGISTO = '06.05.28'
    or DATA_REGISTO = '06.06.04'
    or DATA_REGISTO = '06.06.11'
    or DATA_REGISTO = '06.06.18'
    or DATA_REGISTO = '06.06.25'
    or DATA_REGISTO = '06.07.02'
    or DATA_REGISTO = '06.07.09'
    or DATA_REGISTO = '06.07.16'
    or DATA_REGISTO = '06.07.23'
    or DATA_REGISTO = '06.07.30'
    or DATA_REGISTO = '06.08.06'
    or DATA_REGISTO = '06.08.13'
    or DATA_REGISTO = '06.08.20'
    or DATA_REGISTO = '06.08.27'
    or DATA_REGISTO = '06.09.03'
    or DATA_REGISTO = '06.09.10'
    or DATA_REGISTO = '06.09.17'
    or DATA_REGISTO = '06.09.24'
    or DATA_REGISTO = '06.10.01'
    or DATA_REGISTO = '06.10.08'
    or DATA_REGISTO = '06.10.15'
    or DATA_REGISTO = '06.10.22'
    or DATA_REGISTO = '06.10.29'
    or DATA_REGISTO = '06.11.05'
    or DATA_REGISTO = '06.11.12'
    or DATA_REGISTO = '06.11.19'
    or DATA_REGISTO = '06.11.26'
    or DATA_REGISTO = '06.12.03'
    or DATA_REGISTO = '06.12.10'
    or DATA_REGISTO = '06.12.17'
    or DATA_REGISTO = '06.12.24'
    or DATA_REGISTO = '06.12.31'
    order by DATA_REGISTO)
    How can I do this?
    Thanks in advance
    Andre

    Hi Frank,
    I'm creating some SEM Management Cockpit, the problem I faced is not the BEx Query itself, but the pie chart design and display. I have processed my data in advance, so there a only 5 values in my query at a time, and these area values are not constant values. If I don't mark a selection criteria, it will display a full pie in Management Cockpit.
    And if I browse the query in IE directory, I can get a desired pie chart by "Swap Axes", so I think maybe there is a same choose in Management Cockpit.
    Thank you and Best Regards,
    Rocket

  • DW CS3 problem with PNG-8 images in Design View?

    DW CS3 (build 3481) on XP seems to have problems with PNG-8 images, specifically trying to display them in design view.
    I had a very simple image that was able to be exported by Fireworks CS4 as PNG-8 using 4 colors (no transparency) for a tiny file size under 250 bytes.
    DW could not display it at all, or even recognize it, reporting it was 0 x 0 in size. I published the page anyway, and it looked fine in the browser.
    I upped the number of colors to 32, and DW could then display it in design view in the page I was working on.
    I'm still having problems with other PNG-8 images. The attached file "temp.jpg" is a screenshot showing part of the design view in DW.
    The smaller image on the left of the banner is "58_certificate_of_discharge.png" (attached), and the larger image below is used as the background of the DIV containing the form,"compassbk.png" (also attached).
    These images all look fine in the browser, but terrible in DW.
    I'm stumped as to why.
    Thanks in advance.

    According to a different discussion, the images that are stuck as "Queued" are showing a bug in the virus scanning on the forums.
    Now trying the recommended 'camera icon' method...
    Looks like it worked.
    Now compare what it looks like in DW CS3 in the design view:
    It's a 16 color PNG-8 made in Fireworks CS4 with no transparency, size is 113 x 58, ending up at 1.71K.
    If this is a repeatable problem in CS3, is there any hope of it being resolved, or am I stuck with upgrading to CS4 as my only option (assuming it's fixed in CS4)?
    Thanks.

  • Migration Jdev 11.1.1.1 to Jdev 1.1.2, IDE visual problems with ADF design

    Migration Jdev 11.1.1.1 to Jdev 1.1.2, IDE visual problems with ADF design
    CONTEXT
    I’ve been working my project with Jdev11.1.1.1, when I migrate to JDev 11.1.1.2. I realized that my project didn’t compile successfully as before besides I couldn’t see the design view in a WYSIWYG mode on my JSF pages.
    I had installed (initially) in C:\oracle\Middleware Jdev 11.1.1.1 with WLS 10.3 (default in Installer)
    A couple days ago I realized about the new Jdev release JDev 11.1.1.2 and I decided to migrate because of the IDE improvements such as Bugs Solutions, Maven support, code templates, etc).
    The new version seemed to be non-compatible with WLS 10.3 because I couldn’t mount it in the same middleware so I installed the new one in C:\oracle\Middleware11g2, JDev 11.1.1.2 with WLS 10.3.1 (default in Installer).
    EXAMPLE
    I have created a new sample Project named JDev112App, it only has 1 java class, 1 ADF template and 1 JSPx to show the errors and differences between releases of the IDE… However, I also have added the screenshots of the Project in each IDE, also I have included a screenshot of my real project (Business App).
    NOTE. Business APP project is under subversion SVN and the migration was done successfully when JDEv 11.1.1.2 opened it (it migrated automatically).
    What should I do?? .. thanks
    Best Regards,
    Screenshot1
    http://comunidadoraclehispana.ning.com/forum/attachment/download?id=2315969%3AUploadedFi38%3A15778
    Screenshot2
    http://comunidadoraclehispana.ning.com/forum/attachment/download?id=2315969%3AUploadedFi38%3A15779
    Example APP
    http://comunidadoraclehispana.ning.com/forum/attachment/download?id=2315969%3AUploadedFi38%3A15784

    I think that the problem could be preferences/settings migration from Jdev 11.1.1.1.0 to JDev 11.1.1.2.0, because I migrated not only the application but also the JDev preferences ( "Documents&Settings...Jdeveloper..." ).
    I have installed in a new machine without previous version of Jdev the new release JDev 11.1.1.2.0 and when I deploy my test application with errors ( showed in this post ), it works fine and also the design view is correct.
    I am not SURE but I think the bug or problem could be also the preference/settings migration between JdeveloperS.
    Can anybody tell me the real reason?? How can I fix it ... I don’t want to import each of my settings manually in JDev 11.1.1.2.0 ( I mean templates, javadocs settings, connections, repositories, etc).
    Thanks in advance for your help,

  • Data Modeler: Problems with importin from DDL and Designer

    I have a few problems with importing models from Designer and DDL:
    1. Can I import spatial indexes from Designer or DDL file? An index does appear in the model but it doesn’t seem to be a spatial index. When trying to import from database, the index doesn’t appear in the model at all.
    2. Is it possible to import sdo_geometry data types from DDL file? I haven’t succeeded with it, instead the column's data type appears unknown.
    3. Sometimes import from DDL files (that are generated with DM) failed with nothing appearing to the model. I haven’t figured out why that happens. I didn’t receive any error message, the model just opened empty.
    4. DM doesn’t seem to recognize public synonym creation from DDL. View log gives the following message:
    <<<<< Not Recognized >>>>>
    CREATE PUBLIC SYNONYM TABLE1
    FOR TABLE1
    5. Sequences lose their properties when importing from Designer. They only have a name but but start with, increment by and min/max values are empty in DM. Importin from DDL works fine.
    I’m using data modeler version 2.0.0 build 584

    Hi Alex,
    There is newer version of Data Modeler (3.0 EA2) and it is free
    You can download it from here
    http://www.oracle.com/technetwork/developer-tools/datamodeler/ea2-downloads-185792.html
    Regards
    Edited by: Dimitar Slavov on Dec 9, 2010 2:15 AM

Maybe you are looking for

  • Problem with group messaging?

    A couple of days ago I started receiving only some of the texts that the people in the group message were sending. I receive some messages, but not others. Sometimes the ones that I hadn't received are received hours after the messages were sent. Ple

  • Firewire 800 problem

    Hi, I'm newbie to the Server side of Macs, so if anyone can help with this problem, please speak in lay-man's terms. The problem I have is with my Lacie 1Tb Bigger disk which I use to store the backup catalogues etc from Retrospect. Everything was fi

  • Matrix with excel output?

    Hi I was wondering if creating a matrix report with excel output is possible? _*                                                                                                                                                                          

  • Dell SP2008WFP monitor with built in webcam - webcam not working

    Just set up the new SP2008WFP monitor from Dell with the built in webcam to use with my Ti 500mhz powerbook. At first it told me the camera was in use by another application, but after installing iChatUSBCam I was able to get it to show a black scree

  • HT1296 my iphone 5 will not sync with new computer

    I have been having issues in syncing my iphone 5 with my new desktop