Determining the Extent (Projected Bounds) of an SRID

Hi All,
I'd like to determine the extent (Projected Bounds) of an SRID (in its own Coordinate System).
Is this possible using any Spatial functions or will I have to parse the WKTEXT and perform some operations ?
This is as an alternative to a previous issue that I never could get around:
Is there a way to help find SRID from external WKTEXT ?
(Finding an Oracle SRID from GDAL/OGR WKTEXT)
Thanks,
Ronan

Not sure Ronan. MDSYS.CS_SRS has a CS_BOUNDS column, but its null in the supplied entries. See note in doc - http://download.oracle.com/docs/cd/E11882_01/appdev.112/e11830/sdo_cs_concepts.htm#i890025
CS_BOUNDS: An optional SDO_GEOMETRY object that is a polygon with WGS 84 longitude and latitude vertices, representing the spheroidal polygon description of the zone of validity for a projected coordinate system. Must be null for a geographic or non-Earth coordinate system. Is null in all supplied rows.

Similar Messages

  • I am trying to determine the new project preset for multi-camera video shot as follows:  3 Canon camcorders, main shot is DV (tape) (720x480), b-roll is DVD (mini-disk) (720x480), additional b-roll is AVCHD (1920x1080).  Film is from a wedding, DV contain

    I am trying to determine the new project preset for a multi-camera video shot as follows:  3 Canon camcorders,
    Main shot is DV (tape) (720x480, 29fps) - ceremony and reception
    b-roll is DVD (mini-disk) (720x480, 29fps) - bride preparations
    additional b-roll is AVCHD (1920x1080, 29fps) - groom preparations and misc all day ceremony and reception. 
    Film is from a wedding, DV contains main footage so I assume it will need to be the base.  I am planning to use the preset for DV-Widescreen.  Is there a better option?  I'm concerned about playback as the three appear to have different PAR.  I'm using Premiere Elements 10 on W8.
    Ultimately this will be burned for two formats - one for a DVD that can be watched on a widescreen TV, second for a short clip trailer to go on vimeo.
    (And no I won't be doing this again for a wedding that I shoot.)

    VDRAVES
    Please review since I am not sure how you obtained Video 3 tall when you scaled Video 3 with Constrain Proportions in effect.
    Before
    After
    It becomes a zoomed in effect to get rid of the black borders. But, there is no tall and thin involved anywhere.
    And, after the Scale increase, you can always click on the screen and move the image around a bit
    (without overdoing it to get black borders again).
    After and an adjust
    Please let us know if you are OK with the information above.
    Thank you.
    ATR

  • Tablespace allocation type system  how oracle determines the extent size

    HI
    It may be silly question but the I have to ask and get some knowdge
    Suppose tablespace allocation_type is system then how oracle determins the inital extent and max extent size?

    Was this tablespace converted to locally managed from an existing tablespace? If so, the existing extents still exist after the conversion. Also depending on the Oracle version and maybe platform the pct_increase parameter is still honored after the conversion which can lead to odd sizes. The current value of this parameter may not be the value that was in effect when extents were allocated.
    Also Oracle enhanced the logic to not leave odd sized extents unused so that if by rights the system should take a 64K extent but there is a 56K extent available (perhaps at the end of a file) it can be used to fill the extent request.
    HTH -- Mark D Powell --

  • Is there a way to determine the equivalent ANSI C code from a Labview project?

    I'm a complete beginner to Labview.  I have this fairly complex Labview project that was used to create a DLL which matlab could call to control my PCI-6534 card without having to know the NIDAQmx calls.
    I'm in the process of figuring out how to make those NIDAQmx calls directly from Matlab but I'm not getting the same results as when I call this DLL mentioned above so I thought I'd try to make sense of the Labview project VIs.  I'm starting to make sense of the overall scheme of the VIs, but I'd like to be able to run the project, step through it, and perhaps see the NIDAQmx commands (or something equivalent so I can determine how to call the NIDAQmx commands within Matlab).
    Is this possible to do?
    Thanks,
    Jason
    Solved!
    Go to Solution.

    Yes. The toolbar allows you to turn on highlighting so you can run the VI and see the contents of wires. You can put probes on wires. You can single-step through code. All of this is explained in the LabVIEW Help under Fundamantals -> Running and DEbugging VIs -> Concepts -> Debugging Techniques.
    In regards to the implied question in the title of your post, no you cannot directly convert LabVIEW code to C in the development environment. Yes, there are tools to convert LabVIEW to C, but that's intended for microprocessors.

  • How to determine the size of an iMovie09 project?

    Hello:
    I recently created a nice video of about 2 hours in iMovie09. I "shared" it to iDVD but it was about 10% too big to burn. I went back to iMovie09 and removed some time to make the project smaller but how can I determine the size of my iMovie09 projects before I send them to iDVD? I know that both time and audio will affect the size of the iMovie09 project so the time of the video is not necessarily an accurate indicator.
    Thanks!

    Welcome to iMovie Discussions.
    As long as your movie is under about 1hr 50 minutes it should fit on a DVD.
    The thing which determines how much time is available on your DVD is usually the complexity of any Menus which you add in iDVD.
    With a simple Menu, which may "eat up" 10 mins of space, you should have room for 1h 50mins of movie.
    With complex, multi-level menus, your movie running time may be reduced by about 25 mins, or possibly more.
    Keep menus simple, and you should have space for about 1hr 50mins. It's always running time which counts, NOT "size" (in GB) of your movie.

  • How determine the absolute path of the aep-project?

    As in the script to determine the absolute path of the project?

    Try this for the platform-specific path:
    app.project.file.fsName
    or this for the URI path,
    app.project.file.fullName
    Dan

  • Using Win 10 there is a need for an app to determine the full device display area and aspect ratio programitically; the dimensions are needed to create full-screen bitmap.

    While Windows.Current.Bounds returns the application windows size, in order to create a full-screen bitmap my app would need to retrieve the full display area  of the device. I cannot even get the aspect ratio.
    Pre-Win10, using Windows.Current.Bounds I can create a bitmap of whatever size application window the user is seeing. When the user is showing my app at full screen, I can therefore get the full display area and aspect ratio of the device and create a full-screen
    bitmap.
    With Win10, the user would need to know to hide the taskbar and also display at full-screen before an app can retrieve the display area and aspect ratio using Windows.Current.Bounds.
    Before Win10 it's obvious to the user that full-screen is or is not being used. When I create the bitmap, I create it to fit the application window. When the app is displayed full screen, the bitmap will be full screen. Also, the app starts full-screen so
    I can detect the display area at startup if I need to.
    With Win10, to the user the app "looks like" it is full screen with the taskbar displayed even though it's not really full screen.
    I believe that in Win10 determining the full display area will be useful and not just retrieving the application window size.
    musical9

    Rob, Is this forum best way to get my suggestion to the development team?
    Before Win10 it's obvious to the user that full-screen is or is not being used. When I create the bitmap, I create it to fit the application window. When the app is displayed full screen, the bitmap will be full screen. Also, the app starts full-screen
    so I can detect the display area at startup if I need to.
    With Win10, to the user the app "looks like" it is full screen with the taskbar displayed even though it's not really full screen.
    Yes, Windows.Current.Bounds does work the same, but I believe that in Win10 determining the full display area will be useful and not just the application window.
    musical9

  • How do I determine the best Order to run my butterwort​h filter at?

    I'm lowpass filtering a signal that was sampled at 200hz through a 40Hz butterworth. I need to determine the optimal filter order. How do i create a quantitative comparison of the effects of the butterworth filter on the frequencies above 40Hz based on varying order?
    I have tried using the FFT to create a chart in the frequency space, but am not sure how to proceed. Any help would be greatly appreciated. What I want to compare is the path immediately before and immediately after the butterworth filter.
    Also is there an alternate way to read in a column of numbers from a text file without using the Read from Measurement file Express VI?
    Solved!
    Go to Solution.
    Attachments:
    frequencydomain.JPG ‏131 KB

    I have my filter working correctly now. I just need a quantifiable way to justify picking any one order of filtering over another.
    Here is my front panel, How can I compare the (After/ Before) graphs of varying orders (in a quantifiable way)? How can one tell which is the best?
    I was thinking I could compare the (Integral from 0 to 40)/40 and the (Integral from 40-inf). The order that yeilds the closest to 1 and 0 respectively should be the one I go with. Does that sound logical?
    How do I compute a definite integral with a lower bound and an upper bound?
    Attachments:
    order2.JPG ‏240 KB
    order5.JPG ‏240 KB
    order10.JPG ‏240 KB

  • How to determine the correct moment when Word has finished to write to a docx file

    Hello,
    we are currently passing a document to Microsoft Word for editing and want to take back the changed/saved document when editing is finished. But it seems we have issues to determine the correct moment when Word has for sure saved all changes and
    it is save to take back the file.
    To pass the document to Word we use ShellExecuteEx with the file name. Then we use the Running Objects Table and a File Moniker to wait for the file to be closed.
    Sample code:
    HRESULT hRes = S_OK; 
    CComPtr<IMoniker> spIMoniker; 
    CComPtr<IRunningObjectTable> pRT; 
    hRes = GetRunningObjectTable(0, &pRT); 
    if (FAILED(hRes))
       TWTHROW1(TWERR_ANY_ERROR, hRes, _T("GetRunningObjectTable failed."));
    hRes = ::CreateFileMoniker(m_strTempFilename.AllocSysString(), &spIMoniker);
    if (FAILED(hRes))
       TWTHROW1(TWERR_ANY_ERROR, hRes, _T("CreateFileMoniker failed."));
    while (S_OK == pRT->IsRunning(spIMoniker) && !m_bShutdown)
       Sleep(500);
       continue;
    So we wait for the file to be removed from the Running Objects Table and additionally wait until we can get exclusive access to the file before we take over the changed file. But still it seems to happen that we take the file too early. Hence it
    seems the file is removed from the Running Objects Table by Microsoft Word before saving the file has completed.
    Is this behaviour of Microsoft Word by design? What is the best practice to identify the moment in time when writing the file has completed. Some other applications like Winzip seem to do the same thing.
    Thanks,
    Wolfgang

    Hi WolfGang,
    Thanks for posting in MSDN forum.
    Based on the description, you are developing application with Windows API. I would like to move it to
    General Windows Desktop Development Issues forum.
    The reason why we recommend posting appropriately is you will get the mostqualified pool of respondents, and other partners who read the forums regularly can either share their knowledge
    or learn from your interaction with us.
    Thanks for your understanding.
    Regards & Fei
    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 determine the database size corresponding to the nber records in DSO

    Hi Colleagues,
    I would like to determine the database size corresponding to my new BI project.
    I know the number of records uploaded in the DSO from the source system for the intialization phase.
    How can I deduct the database size / disk size corresponding to the number of record uploaded ?
    Thanks,

    Hi Ram,
    I am with SAP BI Release SAPKW70019
    I do not have the option Single Table analysis -
    I have in DB02 or ST04 the following options.
    *- Space*
    -- space overview
    ->database
    --overview
    ->users
    --overview
    --detailed analysis
    -> tablespaces
    --overview
    --detailed analysis
    -> segments
    --overview
    --Detailed analysis
    --Detailed Analysis Aggregated
    -> Additional Functions
    --Collector Logs
    --BW Analysis
    Where should I go through ?
    Thanks

  • How to determine the event generating component in RESTORE-VIEW phase

    Hi,
    I have performance issues with my application.
    I am using PPR for components within the CoreTable. The table-model for this ADF-CoreTable is coded in java instead of binding it to PageDef table.
    The PageDef for the JSF page is heavily loaded with other objects & therefore there a delay in response. I have also found out that maximum time is lost after the RESTORE_VIEW process to before APPLY_REQUEST_ VALUE phase.
    Not sure if I am doing it right, but this is what I plan to do.
    On determining the event from CoreTable components, I want to bypass the ADF phase by passing null to all ADF Phases
    initContext(null)
    prepareModel(null)
    & before Invoke application
    prepareRender(null)
    Is there a way to determine the event generating component in the PhaseListener class?
    This is a ADF 10g project developed on JDeveloper 10.1.3
    Thank you,
    Prakash

    Just for other readers,
    I attempted to create a button to toggle a session scope Flag for test & proceed. However I was still unable to skip the ADF phase.
    In a self defined PhaseListener I also tried to remove ADFPhaseListeners before RESTORE_VIEW & reinstate it back in before RENDER_RESPONSE. Except the ADF InitContext() & processValidation() which run immidately after RESTORE_VIEW all other calls to ADF Phases were skipped.
    The reasults were not helpful to proceed as I need to entirely skip/bypass the ADF lifecycle to achieve the quick responce.
    Thank you

  • How can determine the duration of an audio file

    Hi,
    i'm making speech recognition project using java. i can capture sound by michrophone and playback it. the type of the sound is .wav.
    my question is how to determine the recording duration (for example: determine the duration for 0.25 second) because i must recorded syllable,the assumtion is needed less than 0.5 second to say a word. and then.. can this wav file be changed into... binary or integer ?
    thanks for your help

    FYI I'm newbie in Java,
    Yes, I want to limit the audio file lengths to a certain value. What should I do?
    I have read wav file using an AudioInputStream, for audio format I'm using sampleRate = 8000.0F and sampleSizeInBits = 8. My friend said if I used 8 bit for sampleSizeInBit (resolution in amplitude) the binary file should be -128 till 127 in range according to the bit. I try this code and the result is binary file which is zero, positive, and negative.
    the code
    try{
    audioInputStream.read(audioBytes);
    for (int i=0; i<audioBytes.length;i++){
    System.out.println(audioBytes);
    catch(IOException ioe){
    System.out.println("Error"+ioe);
    I'm not sure that the code is right, but it works. Should I change the audioBytes into integer before? I try this code but it doesn't work.
    int a = new int[audioBytes.length];
    for (int i=0;i<audioBytes.length;i++){
    a[i] = new Byte(audioBytes[i]).intValue();
    this binary file has been printed in console (I’m using texpad). So, how I can write that to file.txt? I'm using FileoutputStream but it doesn't work correctly. Here is the code
    FileOutputStream fos = new FileOutputStream(strFilePath);
    {audioInputStream.read(audioBytes);
    fos.write(audioBytes);
    catch (IOException ioe){
    System.out.println("Error"+ioe);
    When I open file .txt is read as character like this üüüüüüüüüüüüûüüüûüûûû ||||||| ||||||| ||||||||||||||||||||||||||||| &#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746;&#1746; (like using alt plus number)
    Edited by: anasfr on Mar 19, 2009 9:02 AM

  • Determine the best width for ListCellRenderer - Multi-column combo box

    Currently, I am having a multi column combo box. In order for the column to align properly during show popup, I use box layout to do so. However, the short coming for box layout is that, the size for each column is fixed. This makes me have a difficulty, when I have a long string to be displayed. The problem is shown through the following screen shoot.
    http://i.imgur.com/4Nfc6.png
    This is because in 2nd column,
    1) All the 3 rows must be in same size so that they are aligned.
    2) But 1st row and 2nd row cell renderer, do not know 3rd row is holding such a long string.
    The code (2 files) to demo this problem is as follow. Is there any way the size of the cell will be adjusted automatically? Yet, all the row will be aligned properly.
    ResultSetCellRenderer.java
    package javaapplication24;
    import java.awt.Color;
    import java.awt.Component;
    import javaapplication24.NewJFrame.ResultType;
    import javax.swing.JList;
    import javax.swing.ListCellRenderer;
    import javax.swing.UIManager;
    * @author yccheok
    public class ResultSetCellRenderer extends javax.swing.JPanel implements ListCellRenderer {
        /** Creates new form ResultSetCellRenderer */
        public ResultSetCellRenderer() {
            initComponents();
        /** This method is called from within the constructor to
         * initialize the form.
         * WARNING: Do NOT modify this code. The content of this method is
         * always regenerated by the Form Editor.
        @SuppressWarnings("unchecked")
        // <editor-fold defaultstate="collapsed" desc="Generated Code">
        private void initComponents() {
            jLabel1 = new javax.swing.JLabel();
            jLabel2 = new javax.swing.JLabel();
            setLayout(new javax.swing.BoxLayout(this, javax.swing.BoxLayout.X_AXIS));
            jLabel1.setText("jLabel1");
            jLabel1.setMaximumSize(new java.awt.Dimension(88, 14));
            jLabel1.setMinimumSize(new java.awt.Dimension(88, 14));
            jLabel1.setPreferredSize(new java.awt.Dimension(88, 14));
            add(jLabel1);
            jLabel2.setText("jLabel2");
            jLabel2.setMaximumSize(new java.awt.Dimension(100, 14));
            jLabel2.setMinimumSize(new java.awt.Dimension(200, 14));
            jLabel2.setPreferredSize(new java.awt.Dimension(100, 14));
            add(jLabel2);
        }// </editor-fold>
        // Variables declaration - do not modify
        private javax.swing.JLabel jLabel1;
        private javax.swing.JLabel jLabel2;
        // End of variables declaration
        // Do not use static, so that our on-the-fly look n feel change will work.
        private final Color cfc  = UIManager.getColor("ComboBox.foreground");
        private final Color cbc  = UIManager.getColor("ComboBox.background");
        private final Color csfc = UIManager.getColor("ComboBox.selectionForeground");
        private final Color csbc = UIManager.getColor("ComboBox.selectionBackground");
        private final Color cdfc = UIManager.getColor("ComboBox.disabledForeground");
        // For Nimbus look n feel.
        private final Color nimbus_csfc;
             Color c = UIManager.getColor("ComboBox:\"ComboBox.renderer\"[Selected].textForeground");
             // Pretty interesting. Applying "c" directly on the component will not
             // work. I have the create a new instance of Color based on "c" to make
             // it works.
             nimbus_csfc = c != null ? new Color(c.getRed(), c.getGreen(), c.getBlue()) : null;
        private final Color nimbus_csbc;
            Color c = UIManager.getColor("ComboBox:\"ComboBox.renderer\"[Selected].background");
             // Pretty interesting. Applying "c" directly on the component will not
             // work. I have the create a new instance of Color based on "c" to make
             // it works.
            nimbus_csbc = c != null ? new Color(c.getRed(), c.getGreen(), c.getBlue()) : null;
        @Override
        public Component getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus) {
            final Color _csbc = csbc != null ? csbc : nimbus_csbc;
            final Color _csfc = csfc != null ? csfc : nimbus_csfc;
            this.setBackground(isSelected ? _csbc : cbc);
            this.setForeground(isSelected ? _csfc : cfc);
            jLabel1.setBackground(isSelected ? _csbc : cbc);
            jLabel1.setForeground(isSelected ? _csfc : cfc);
            jLabel2.setBackground(isSelected ? _csbc : cbc);
            jLabel2.setForeground(isSelected ? _csfc : cfc);
            final ResultType result = (ResultType)value;
            jLabel1.setText(result.symbol);
            jLabel2.setText(result.name);
            return this;
    NewJFrame.java
    package javaapplication24;
    import java.awt.Container;
    import java.awt.Dimension;
    import javax.swing.JComboBox;
    import javax.swing.JList;
    import javax.swing.JScrollBar;
    import javax.swing.JScrollPane;
    import javax.swing.SwingUtilities;
    import javax.swing.event.PopupMenuEvent;
    import javax.swing.event.PopupMenuListener;
    import javax.swing.plaf.basic.BasicComboPopup;
    * @author yccheok
    public class NewJFrame extends javax.swing.JFrame {
        public static class ResultType {
             * The symbol.
            public final String symbol;
             * The name.
            public final String name;
            public ResultType(String symbol, String name) {
                this.symbol = symbol;
                this.name = name;
            @Override
            public String toString() {
                return symbol;
        /** Creates new form NewJFrame */
        public NewJFrame() {
            initComponents();
            this.jComboBox1.addPopupMenuListener(this.getPopupMenuListener());
            this.jComboBox1.setRenderer(new ResultSetCellRenderer());
            this.jComboBox1.addItem(new ResultType("Number 1", "Normal"));
            this.jComboBox1.addItem(new ResultType("Number 2", "Normal"));
            this.jComboBox1.addItem(new ResultType("Number 3", "A VERY VERY VERY VERY long text"));
        /** This method is called from within the constructor to
         * initialize the form.
         * WARNING: Do NOT modify this code. The content of this method is
         * always regenerated by the Form Editor.
        @SuppressWarnings("unchecked")
        // <editor-fold defaultstate="collapsed" desc="Generated Code">
        private void initComponents() {
            jComboBox1 = new javax.swing.JComboBox();
            setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
            getContentPane().setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());
            jComboBox1.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    jComboBox1ActionPerformed(evt);
            getContentPane().add(jComboBox1, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 10, 110, -1));
            pack();
        }// </editor-fold>
        private void jComboBox1ActionPerformed(java.awt.event.ActionEvent evt) {
            // TODO add your handling code here:
        * @param args the command line arguments
        public static void main(String args[]) {
            java.awt.EventQueue.invokeLater(new Runnable() {
                @Override
                public void run() {
                    final NewJFrame frame = new NewJFrame();
                    frame.setVisible(true);
        private PopupMenuListener getPopupMenuListener() {
            return new PopupMenuListener() {
                @Override
                public void popupMenuWillBecomeVisible(PopupMenuEvent e) {
                    // We will have a much wider drop down list.
                    adjustPopupWidth(jComboBox1);
                @Override
                public void popupMenuWillBecomeInvisible(PopupMenuEvent e) {
                @Override
                public void popupMenuCanceled(PopupMenuEvent e) {
         * Adjust popup for combo box, so that horizontal scrollbar will not display.
         * Resize JComboBox dropdown doesn't work without customized ListCellRenderer
         * http://www.camick.com/java/source/BoundsPopupMenuListener.java
         * @param comboBox The combo box
        public static void adjustPopupWidth(JComboBox comboBox) {
            if (comboBox.getItemCount() == 0) return;
            Object comp = comboBox.getAccessibleContext().getAccessibleChild(0);
            if (!(comp instanceof BasicComboPopup)) {
                return;
            BasicComboPopup popup = (BasicComboPopup)comp;
            JList list = popup.getList();
            JScrollPane scrollPane = getScrollPane(popup);
            // Just to be paranoid enough.
            if (list == null || scrollPane == null) {
                return;
            //  Determine the maximimum width to use:
            //  a) determine the popup preferred width
            //  b) ensure width is not less than the scroll pane width
            int popupWidth = list.getPreferredSize().width
                            + 5  // make sure horizontal scrollbar doesn't appear
                            + getScrollBarWidth(popup, scrollPane);
            Dimension scrollPaneSize = scrollPane.getPreferredSize();
            popupWidth = Math.max(popupWidth, scrollPaneSize.width);
            //  Adjust the width
            scrollPaneSize.width = popupWidth;
            scrollPane.setPreferredSize(scrollPaneSize);
            scrollPane.setMaximumSize(scrollPaneSize);
         *  I can't find any property on the scrollBar to determine if it will be
         *  displayed or not so use brute force to determine this.
        private static int getScrollBarWidth(BasicComboPopup popup, JScrollPane scrollPane) {
            int scrollBarWidth = 0;
            JComboBox comboBox = (JComboBox)popup.getInvoker();
            if (comboBox.getItemCount() > comboBox.getMaximumRowCount()) {
                JScrollBar vertical = scrollPane.getVerticalScrollBar();
                scrollBarWidth = vertical.getPreferredSize().width;
            return scrollBarWidth;
         *  Get the scroll pane used by the popup so its bounds can be adjusted
        private static JScrollPane getScrollPane(BasicComboPopup popup) {
            JList list = popup.getList();
            Container c = SwingUtilities.getAncestorOfClass(JScrollPane.class, list);
            return (JScrollPane)c;
        // Variables declaration - do not modify
        private javax.swing.JComboBox jComboBox1;
        // End of variables declaration
    }Edited by: yccheok on Jan 13, 2011 9:35 AM

    Are these two lines intentionally or is it just a mismatch?
    jLabel2.setMaximumSize(new java.awt.Dimension(100, 14));
    jLabel2.setMinimumSize(new java.awt.Dimension(200, 14));
    2) But 1st row and 2nd row cell renderer, do not know 3rd row is holding such a long string.There is only one cell renderer for all rows, so no need for the rows to know each other.
    To calculate the exact maximum width of column two, you have to check each entry.
    If you can do this BEFORE creating the combo, you could do this in a loop similar to this pseudo code
    FontMetrics fm= jComboBox1.getFontMetrics(jComboBox1.getFont());
    foreach (column2String) {
      int length= fm.stringWidth(column2String);
      if (length>max) max= length;
    }Now you have a max value to dimension jLabel2 in your renderer.
    If you don't fill your combo in one go, but rather at runtime, you have to check at each
    jComboBox1.addItem(...)
    whether the string for label2 is extending the current max, redefine max, and repaint the combo.
    This second approach I haven't done so far, but that's how I would try.

  • In C4: What determines the max number of slide one can successfully publish?

    Using C4.
    I am required by policy to use an original PowerPoint file. The total number of slide equals 72 (file size 38,201 KB when completed). The internal customer wants a "kicky" presentation based on her slides, so I must use some of the Captivate tools (e.g. zoom area, highlight box -- about the limit of my skills). And there must be spoken narration, not the text to speech feature. Total time for the 72 slides is 22.5 minutes when all is done. When published the narration is good, but the "kicky" part fails. Specifically some highlight boxes do not appear on many slides.
    I deleted the table-of-contents feature. The most unusual tools that I'm using are the certificate widget, and a page turning widget.
    I tried breaking the presentation into two parts. Part 1 was 58 slides and I experienced the same behavior. I've not tried part two yet.
    In the past, I practiced, on my computer, with the aggregator. Is this the best route? We have no experience hosting an aggregator project on our server. Are there any special concerns about doing so? (I'm not the person who does this. He is out of the office at this time). Would daisy-chaining be a better route? (if so, what is the best source for instruction to do this?)

    Again, I did not see the elephant in the room. I neglected to notice a default setting. Once corrected, everything works. My bad.
    But, I would still like to know what determines the maximum number of slides on can successfully publish without Aggregator or daisy-chaining.

  • Hw can I determine the pitch and tempo to be set for a song?

    I want to know how to determine the pitch, tempo, scale for any song in Garage band.
    My problem is this: I have ready with me a number of songs which I have composed, but I do not know what their musical attributes are...having received no training in music! Whenever I open a new project in GB, I have to set the pitch and tempo for the project beforehand itself...am asked to do so. This makes it impossible for me to try out the music at different pitches and tempo to determine what is required for any song.
    I hope I am making myself understood and hope to get a solution...[and, no, Iam not minded to go and join music classes!]
    Thanks in advance.

    Thanks for all this information. I can only vaguely understand what you have outlined.
    I am sorry - it is difficult for me to explain, if I cannot assume that you have a musical training.
    Is the first step you have asked...'using the tempo and key settings of another of my songs' a necessary one? Can I go ahead with the rest of the steps omitting the first?
    You have to set some values for tempo and song key. Finding a song, that is similar to a new song you want to create, and were you have written sheet music with  the song key and tempo  would give you a good first guess for the values to pick. But go ahead and use the default settings of GarageBand.
    Then you can add rhythm loops (drum loops from the loop browser) to generate an accompaniment conforming to the tempo you found.
    That is what I tried to describe in the second half of my post: A click track is a track similar to a metronom. You sound out the beats of your song by clicking or clapping and record this as a "click track". Adjust the Master Track "Tempo" automation curve, so that you will have four of your or claps in each measure. This way GarageBands tempo setting will follow the tempo of your song.
    Now you can drag loops from the loop browser to create an accompaniment. It will follow the tempo changes. I suggested the drums or other percussion instruments, because for these instruments the song key will not matter.
    How to adjust the Master Track Tempo:   From the "Track" menu > Show Master Track; then set the Pop Up menu in the Track Head to "master Tempo".

Maybe you are looking for

  • Help to access Win 7 PC on Wireless LAN

    Hi, I'm new to Mac & OSX and are having some noob issues hopefully that can be solved easily. Here's my situation: I have a wireless router connected to a internet modem. The router succesfully connects to: A Windows 7 Home Premium Edition Desktop PC

  • How to pass more than 1000 entries in 'IN' clause, Oracle 11g

    Hi All, I know this is a very common question in Oracle discussion forum. But, Im in different zone. I use C#, .NET and Oracle 11g. I have a situation where I will create a query statement using 'IN' clause in C# code based on my requirement and exec

  • Acrobat Pro App: how to delete documents in DC

    I can't find where to delete documents in the Acrobat Por DC iphone App. Is there someone who find out?

  • Mail linking radom messages

    Hello, I use mail to manage 3 different email accounts (1 gmail, 2 yahoo). Recently (pre-yosemite), I found that mail had combined two seemingly random threads without promting (i.e. in the inbox bar two entirely different message threads were combin

  • Wireless router options

    Im trying to get my wii online, so i wanted to access the wireless router options, where u up the IP in the address bar, signed in, i  only can acess the setup, wireless, and security tabs anything else i click on gives me a "internet explorere canno