Show all the drives of a system in Tree format as it displays in windows

Hi, I have the folloing code which is working fine to display a single drives files and folders but i want to display all the drives of my system with desktop and Doc & Settings in a single trre.
please help.
thanks in advanceimport javax.swing.*;
import javax.swing.event.*;
import javax.swing.tree.*;
import java.io.File;
public class FileTreeDemo
     public static void main(String[] args)
              File root;
          if (args.length > 0) root = new File(args[0]);
              else root = new File(System.getProperty("user.home"));   
          /*root=new File("F:\\");
          System.out.println("value of root :"+root);*/
              FileTreeModel model = new FileTreeModel(root);   
              JTree tree = new JTree();
              tree.setModel(model);
          root=new File("E:\\");
             model = new FileTreeModel(root);
          tree.setModel(model);
          tree.setRootVisible(true);
              JScrollPane scrollpane = new JScrollPane(tree);   
              JFrame frame = new JFrame("FileTreeDemo");
              frame.getContentPane().add(scrollpane, "Center");
              frame.setSize(400,600);
              frame.setVisible(true);
class FileTreeModel implements TreeModel
     protected File root;
       public FileTreeModel(File root) { this.root = root; } 
       public Object getRoot() { return root; } 
       public boolean isLeaf(Object node) {  return ((File)node).isFile(); }
     public int getChildCount(Object parent)
              String[] children = ((File)parent).list();
              if (children == null) return 0;
              return children.length;
       public Object getChild(Object parent, int index)
              String[] children = ((File)parent).list();
              if ((children == null) || (index >= children.length)) return null;
              return new File((File) parent, children[index]);
       public int getIndexOfChild(Object parent, Object child)
              String[] children = ((File)parent).list();
              if (children == null) return -1;
                   String childname = ((File)child).getName();
              for(int i = 0; i < children.length; i++)
                     if (childname.equals(children)) return i;
          return -1;
     public void valueForPathChanged(TreePath path, Object newvalue) {}
     public void addTreeModelListener(TreeModelListener l) {}
     public void removeTreeModelListener(TreeModelListener l) {}

Hi,
Use the FileSystemView class of javax.swing.filechooser
create an instance of the view and choose the method:
File root = FileSystemView.getHomeDirectory();as your root file object.
Maybe you need to do some modifications on your FileTreeModel...
under windows the desktop node and the first level nodes down from there
are not real file-objects ...
Olek

Similar Messages

  • HT203167 I have just downloaded the latest itunes version (11.0.1). All my data cannot now be located, though the library is showing all the correct content.The data is stored on an external hard drive. How do I tell the library where to find it's data?

    I have just downloaded the latest itunes version (11.0.1). All my data cannot now be located, though the library is showing all the correct content.The data is stored on an external hard drive. How do I tell the library where to find it's data?

    The iTunes application should be installed on the system drive. You may need to repair iTunes to fix that error regarding a missing .exe.
    To organize your library properly see Make a split library portable.
    If you don't have a working version of the library that can be transformed into a portable shape I have tools and techniques that can repair the broken links.
    tt2

  • In solution manager system not showing all the system in SLD

    Dear Gurus,
    During the installation of solution manger sysyem i selected as a Central SLD as solution manager
    Later installed ECC 6.0 and EP systems selected SLD as solution manager system during the instllation.
    If i login in to http://hostname:50000/sld (solution manger system) and the screen also not showing all the options also. some options missing in the tab. Wat I need to do to see all the options clearly.
    It is not showing all the systems if i check in EP and ECC for SLDCHECK it is not givng any errror.
    But if i login into solution manger not  able to see all the system in SLD.
    Regards

    Thanks for reply
    it is not showing all the systems

  • When I type in "www" in the navagation space I get a drop down that shows all the web sites I have visited! How do I turn this off?

    # Question
    When I type in "www" in the navagation space of the home page I get a drop down that shows all the web sites I have visited! How do I turn this off? edit

    That drop-down shows matches from your History and/or Bookmarks. To change what is shown, see "Controlling Behavior" in this article:
    *https://support.mozilla.com/en-US/kb/Location%20bar%20autocomplete
    <br />
    The information submitted with your question indicates that you have out of date plugins with known security and stability issues that should be updated. To see the plugins submitted with your question, click "More system details..." to the right of your original question post.
    *Adobe PDF Plug-In For Firefox and Netscape "9.3.2"
    **New Adobe Reader X (version 10) with Protected Mode just released 2010-11-19
    **See: http://www.securityweek.com/adobe-releases-acrobat-reader-x-protected-mode
    *Next Generation Java Plug-in 1.6.0_20 for Mozilla browsers
    #'''Check your plugin versions''': http://www.mozilla.com/en-US/plugincheck/
    #*'''Note: plugin check page does not have information on all plugin versions'''
    #'''Update Adobe Reader (PDF plugin):'''
    #*From within your existing Adobe Reader ('''<u>if you have it already installed</u>'''):
    #**Open the Adobe Reader program from your Programs list
    #**Click Help > Check for Updates
    #**Follow the prompts for updating
    #**If this method works for you, skip the "Download complete installer" section below and proceed to "After the installation" below
    #*Download complete installer ('''if you do <u>NOT</u> have Adobe Reader installed'''):
    #**Use the links below to avoid getting the troublesome "getplus" Adobe Download Manager and other "extras" you may not want
    #**Use Firefox to download and SAVE the installer to your hard drive from the appropriate link below
    #**Click "Save to File"; save to your Desktop (so you can find it)
    #**After download completes, close Firefox
    #**Click the installer you just downloaded and allow the install to continue
    #***Note: Vista and Win7 users may need to right-click the installer and choose "Run as Administrator"
    #**'''<u>Download link</u>''': ftp://ftp.adobe.com/pub/adobe/reader/
    #***Choose your OS
    #***Choose the latest #.x version (example 9.x, for version 9)
    #***Choose the highest number version listed
    #****NOTE: 10.x is the new Adobe Reader X (Windows and Mac only as of this posting)
    #***Choose your language
    #***Download the file
    #***Windows: choose the .exe file; Mac: choose the .dmg file
    #*Using either of the links below will force you to install the "getPlus" Adobe Download Manager. Also be sure to uncheck the McAfee Scanner if you do not want the link forcibly installed on your desktop
    #**''<u>Also see Download link</u>''': http://get.adobe.com/reader/otherversions/
    #**Also see: https://support.mozilla.com/en-US/kb/Using+the+Adobe+Reader+plugin+with+Firefox (do not use the link on this page for downloading; you may get the troublesome "getplus" Adobe Download Manager (Adobe DLM) and other "extras")
    #*After the installation, start Firefox and check your version again.
    #'''Update the [[Java]] plugin''' to the latest version.
    #*Download site: http://java.sun.com/javase/downloads/index.jsp (Java Platform: Download JRE)
    #*Also see "Manual Update" in this article: http://support.mozilla.com/en-US/kb/Using+the+Java+plugin+with+Firefox#Updates
    #* Removing old versions (if needed): http://www.java.com/en/download/faq/remove_olderversions.xml
    #* Remove multiple Java Console extensions (if needed): http://kb.mozillazine.org
    #*Java Test: http://www.java.com/en/download/help/testvm.xml

  • I restart my mac air accidentally during reinstallation, after I restart the machine again, I lost all the drives in my computer including win OS. what can I do?

    I restart my mac air accidentally during reinstallation, after I restart the machine again, I lost all the drives in my computer including win OS. what can I do?

    This is not a reply. I just want to elaborate on this problem.
    My computer freezes occasionally when it is used after being sleep for a while. The spinning ball appears and everything is totally disabled. Nothing on the keyboard works.
    The mouse moves, but does not work.
    The only solution is to turn the power off and on (losing all data in open applications.)
    I kept the System monitor running on the side to find out which program was running when the computer froze. The Monitor as well as all other applications froze, but the data showed:
    Firefox 18.4%
    Activity Monitor 0.9%
    Firefox Plugin 0.2%
    This is all the information I have. By the way, I am using iMac with OS 10.6.

  • Performance monitor reports and graphs don't show all the counters that were captured

    I've run into an odd behavior of performance monitor that I haven't been able to clear up yet: after I run a data collector set, the resulting report only shows a partial list of the counters that I captured, and so does the graph of that report (but different
    items).
    For instance, I chose the following counters for the data collector set:
    \PhysicalDisk(*)\% Idle Time
    \PhysicalDisk(*)\Avg. Disk Queue Length
    \PhysicalDisk(*)\Avg. Disk sec/Read
    \PhysicalDisk(*)\Avg. Disk sec/Write
    When the data collection ends, the report that gets displayed shows all those counters for _Total instance and C:, but then E: only shows % Idle Time and Avg. Disk Queue Length. That's it, the report ends there, even though I also have F: and V: drives on
    this server.
    If I choose to view the graph of this data collection, it only shows those four counters for the _Total instance.
    It took me a while to realize that all the data is being captured, but it's just the display that is truncated. If I view the folder then open the report.html, it actually shows all the data. Same with the graphs. If I select to add counters and add
    all the missing counters, they are displayed.
    I have searched high and low but haven't been able to find more than one post at ServerFault where someone had a similar issue, but no real solution or cause was provided, so I was hoping that someone here might have an idea.
    I also found a variety of articles about missing counters due to registry settings or because the counters needed to be reset, but that's a different issue that doesn't apply in my case. By the way, this is on a windows server 2012 R2 VM (file server).

    Hi SomeAdmin,
    The counter missing often caused by the related registry value is corrupted, please first refer the following related KB then perform a fix then monitor the issue again.
    Event ID 3012 — Performance Counter Loading
    http://technet.microsoft.com/en-us/library/cc775053(v=ws.10).aspx
    More information:
    Overview of Performance Monitoring
    http://technet.microsoft.com/en-us/library/cc958257.aspx
    PerfGuide: Analyzing Poor Disk Response Times
    http://social.technet.microsoft.com/wiki/contents/articles/1516.perfguide-analyzing-poor-disk-response-times.aspx
    Analyzing Storage Performance using the Windows Performance Analysis ToolKit (WPT)
    http://blogs.technet.com/b/robertsmith/archive/2012/02/07/analyzing-storage-performance-using-the-windows-performance-toolkit.aspx
    I’m glad to be of help to you!
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Pacman isn't showing all the installed packages

    Hey guys!
    Since last week pacman isn't showing all the installed packages in my system. If I issue the command pacman -Q it just returns the following packages:
    a52dec 0.7.4-4
    acl 2.2.49-2
    alsa-lib 1.0.23-2
    atk 1.32.0-1
    attr 2.4.44-2
    avahi 0.6.28-1
    bash 4.1.009-3
    bzip2 1.0.6-1
    cairo 1.10.2-1
    cairo-perl 1.061-3
    compositeproto 0.4.2-1
    coreutils 8.10-1
    cracklib 2.8.18-1
    damageproto 1.2.1-1
    db 5.1.19-3
    dbus 1.4.1-1
    dbus-core 1.4.1-1
    desktop-file-utils 0.18-1
    e2fsprogs 1.41.14-1
    expat 2.0.1-6
    faac 1.28-2
    ffmpeg 20110121-2
    filesystem 2010.12-1
    findutils 4.4.2-3
    fixesproto 4.1.2-1
    fontconfig 2.8.0-1
    freetype2 2.4.4-2
    gcc-libs 4.5.2-6
    gdbm 1.8.3-8
    gdk-pixbuf2 2.22.1-1
    gettext 0.18.1.1-1
    glib-perl 1.223-2
    glib2 2.26.1-1
    glibc 2.13-1
    gmp 5.0.1-2
    gnutls 2.10.4-1
    gtk2 2.22.1-1
    gtk2-perl 1.222-2
    gzip 1.4-2
    heimdal 1.3.3-4
    iana-etc 2.30-1
    imagemagick 6.6.7.3-1
    inputproto 2.0.1-1
    kbproto 1.0.5-1
    lame 3.98.4-1
    lcms 1.19-1
    libarchive 2.8.4-2
    libcap 2.20-1
    libcups 1.4.6-1
    libdaemon 0.14-1
    libdatrie 0.2.4-1
    libdrm 2.4.23-1
    libdv 1.0.0-3
    libdvdread 4.1.3-2
    libfetch 2.33-1
    libgcrypt 1.4.6-1
    libgl 7.10-1
    libgpg-error 1.9-2
    libice 1.0.7-1
    libjpeg 8.3.0-1
    libldap 2.4.23-1
    libmp4v2 1.9.1-1
    libmpeg2 0.5.1-1
    libogg 1.2.2-1.1
    libpng 1.4.5-1
    libsasl 2.1.23-5
    libsm 1.2.0-1
    libtasn1 2.8-1
    libthai 0.1.14-1
    libtheora 1.1.1-1
    libtiff 3.9.4-1
    libtool 2.4-2
    libva 1.0.8-1
    libvdpau 0.4.1-1
    libvorbis 1.3.2-1
    libvpx 0.9.5-2
    libx11 1.4.1-1
    libxau 1.0.6-1
    libxaw 1.0.9-1
    libxcb 1.7-1
    libxcomposite 0.4.3-1
    libxcursor 1.1.11-1
    libxdamage 1.1.3-1
    libxdmcp 1.1.0-1
    libxext 1.2.0-1
    libxfixes 4.0.5-1
    libxft 2.2.0-1
    libxi 1.4.1-1
    libxinerama 1.1.1-1
    libxml2 2.7.8-1
    libxmu 1.1.0-1
    libxpm 3.5.9-1
    libxrandr 1.3.1-1
    libxrender 0.9.6-1
    libxt 1.0.9-1
    libxv 1.0.6-1
    libxxf86vm 1.1.1-1
    linux-api-headers 2.6.37-1
    lzo2 2.04-1
    mjpegtools 1.9.0-4
    ncurses 5.7-4
    opencore-amr 0.1.2-1
    openjpeg 1.3-3
    openssl 1.0.0.d-1
    orc 0.4.11-1
    pacman 3.4.3-1
    pacman-cage 2.9.8.2-4
    pacman-mirrorlist 20101223-1
    pam 1.1.3-1
    pango 1.28.3-1
    pango-perl 1.221-3
    pcre 8.12-1
    perl 5.12.3-1
    perl-anyevent 5.24-1
    perl-event 1.13-3
    perl-event-execflow 0.64-2
    perl-gtk2-ex-formfactory 0.66-2
    perl-libintl-perl 1.20-2
    pixman 0.20.2-1
    popt 1.16-3
    randrproto 1.3.2-1
    readline 6.1.002-2
    renderproto 0.11.1-1
    schroedinger 1.0.10-1
    sdl 1.2.14-6
    shadow 4.1.4.2-4
    shared-mime-info 0.90-1
    sqlite3 3.7.5-1
    tar 1.25-1
    texinfo 4.13a-5
    transcode 1.1.5-5
    tzdata 2010o-1
    util-linux-ng 2.18-4
    videoproto 2.3.1-1
    x264 20110115-1
    xcb-proto 1.6-2
    xextproto 7.1.2-1
    xf86vidmodeproto 2.3.1-1
    xineramaproto 1.2.1-1
    xproto 7.0.20-1
    xvidcore 1.2.2-1
    xz 5.0.1-1
    zlib 1.2.5-3
    Here you can see a shot of my /var/lib/pacman/local directory, containing just a few directories related to the packages above.
    I have a lot more installed in my system, eg. the holl KDE system.
    Is there a command/workaround to make these missing packages appear again in pacman?!
    Thanks in advance.
    Last edited by estevao (2011-02-11 17:29:52)

    Spider.007 wrote:
    Leonid.I wrote:
    mcmillan wrote:You probably can do some searching to track it down (or rewrite something similar if you know how) prior to going through with a complete reinstall.
    ... which (complete reinstall) will be required with high probability, since all the solutions proposed above will most likely break the system
    Arch Linux is more than just GNU/Linux -- it's an adventure
    I think your signature is either too sarcastic, or too much in contrast with what you are posting here. A damaged database is really no big deal, and the only things that the proposed solutions attempt to do is that pacman re-installs a package (which changes close to nothing in your actual installation) and then write that update to its database.
    I do not agree with your statement that the probability of a required reinstall are high. Actually, I would say they are pretty low
    There is nothing sarcastic about my sig. Indeed, what would be the fun of using a system, which never breaks?
    Regarding the probability of a reinstall either my opinion, or yours is irrelevant for the topic of this discussion.
    Finally, I would like to draw your attention to the little thingie in the end of my post: ":)" . It's called smiley and was  put there for a reason, you know...

  • Vertical scrollbar not showing all the records when I scroll down.

    Vertical scrollbar not showing all the records when I scroll down.
    Using Oracle forms 10g , operating system windows
    I have two fields with number of items dispayed = 15.
    I have a vertical scroll bar with them. There are 34 records in the table but the scrollbar only shows 15 records.
    Here are the properties for block / scrollbar.
    WORK_CATEGORY
    - Subclass Information                           
    - Comments                                       
    * Navigation Style                                Same Record
    - Previous Navigation Data Block                 
    - Next Navigation Data Block                     
    - Current Record Visual Attribute Group          
    - Query Array Size                                0
    - Number of Records Buffered                      0
    * Number of Records Displayed                     60
    * Query All Records                               No
    - Record Orientation                              Vertical
    * Single Record                                   No
    - Database Data Block                             Yes
    - Enforce Primary Key                             No
    - Query Allowed                                   Yes
    - Query Data Source Type                          Table
    * Query Data Source Name                          WORK_CATEGORY
    * Query Data Source Columns                      
    * Column Name                                   JOB_TYPE
    * Column Type                                   VARCHAR2
    - Column Type Name                             
    - Parent Column                                
    * Length                                        30
    * Precision                                     0
    * Scale                                         0
    * Mandatory                                     Yes
    * Column Name                                   WORK_CATEGORY
    * Column Type                                   VARCHAR2
    - Column Type Name                             
    - Parent Column                                
    * Length                                        30
    * Precision                                     0
    * Scale                                         0
    * Mandatory                                     Yes
    - Query Data Source Arguments                    
    - Alias                                          
    - Include REF Item                                No
    * WHERE Clause                                   
    * ORDER BY Clause                                 job_type
    - Optimizer Hint                                 
    - Insert Allowed                                  Yes
    - Update Allowed                                  Yes
    - Locking Mode                                    Automatic
    - Delete Allowed                                  Yes
    - Key Mode                                        Automatic
    - Update Changed Columns Only                     No
    - Enforce Column Security                         No
    - Maximum Query Time                              0
    * Maximum Records Fetched                         0
    - DML Data Target Type                            Table
    - DML Data Target Name                           
    - Insert Procedure Name                          
    - Insert Procedure Result Set Columns            
    - Insert Procedure Arguments                     
    - Update Procedure Name                          
    - Update Procedure Result Set Columns            
    - Update Procedure Arguments                     
       Don't know where am I going wrong. I'll really appreciate if you can help me in this.
    Thanks.
    Edited by: 831050 on Sep 14, 2011 8:05 AM

    One of the items is a list item.. here are it's properties:
    * Name                                          JOB_TYPE
    * Item Type                                     List Item
    - Subclass Information                         
    - Comments                                     
    - Help Book Topic                              
    - Enabled                                       Yes
    * Elements in List                             
    * Label                                      
    * List Item Value                             LIST20
    * List Style                                    Combo Box
    - Mapping of Other Values                      
    - Implementation Class                         
    - Case Restriction                              Mixed
    - Popup Menu                                   
    - Keyboard Navigable                            Yes
    - Mouse Navigate                                Yes
    - Previous Navigation Item                     
    - Next Navigation Item                         
    - Data Type                                     Char
    - Data Length Semantics                         Null
    - Maximum Length                                30
    - Initial Value                                
    * Required                                      Yes
    * Copy Value from Item                         
    - Synchronize with Item                        
    - Calculation Mode                              None
    - Formula                                      
    - Summary Function                              None
    - Summarized Block                             
    - Summarized Item                              
    - Current Record Visual Attribute Group        
    - Distance Between Records                      0
    * Number of Items Displayed                     15
    - Database Item                                 Yes
    * Column Name                                   JOB_TYPE
    - Primary Key                                   No
    - Query Only                                    No
    - Query Allowed                                 Yes
    - Insert Allowed                                Yes
    - Update Allowed                                Yes
    - Update Only if NULL                           No
    - Visible                                       Yes
    * Canvas                                        CANVAS2
    - Tab Page                                     
    * X Position                                    47
    * Y Position                                    137
    * Width                                         187
    * Height                                        18
    - Visual Attribute Group                        DEFAULT
    - Prompt Visual Attribute Group                 DEFAULT
    - Foreground Color                             
    * Background Color                              white
    - Fill Pattern                                 
    - Font                                         
    * Font Name                                     Tahoma
    * Font Size                                     10
    * Font Weight                                   Demilight
    * Font Style                                    Plain
    * Font Spacing                                  Normal
    * Prompt                                        Job Type
    - Prompt Display Style                          First Record
    * Prompt Justification                          Start
    * Prompt Attachment Edge                        Top
    - Prompt Alignment                              Start
    * Prompt Attachment Offset                      10
    * Prompt Alignment Offset                       0
    - Prompt Reading Order                          Default
    - Prompt Foreground Color                      
    - Prompt Font                                  
    * Prompt Font Name                              Tahoma
    * Prompt Font Size                              10
    * Prompt Font Weight                            Bold
    * Prompt Font Style                             Plain
    * Prompt Font Spacing                           Normal
    - Hint                                         
    - Display Hint Automatically                    No
    - Tooltip                                      
    - Tooltip Visual Attribute Group               
    - Direction                                     Default
    - Initial Keyboard State                        Default
    - Keyboard State                                Any
        

  • Photoshop CS6 Brush Manager does not show all the default brushes

    The brush panel shows all the default brushes, but the Brush Presets panel and the Brush Preset Manger do not, intact the last brush that they show is "100 Rough Round Bristle". it only shows the first 67 at max... if you delete anything before the 100 Rough Round, that becomes the new default number. It's like the rest of the brushes don't exist. Although I can select them in the Brush Panel.
    If I want to load any other brush set, it over writes any brushes that appear after "100 Rough Round Bristle".
    Need some serious help as my workflow is being severely hampered.
    Cheers!
    Arlen

    Which operating system are you using?
    Could you post a screenshot(s) of the issue?

  • My iphone has calendar history for 10 years.  my icloud only shows about 6-8 weeks back.  how can i get icloud to show all the calendar events in the past that are on iphone?

    my iphone has calendar history for 10 years.  my icloud only shows about 6-8 weeks back.  how can i get icloud to show all the calendar events in the past that are on iphone?

    I encountered a similar problem when finally (and with much regret) I was obliged to migrate my MobileMe to iCloud last month.
    Many years of iCal history vanished without trace during this automated transition by Apple and iCloud then kindly synched the resulting vacuum back to iCal on my Mac.
    Fortunately, iCloud wasn’t able to decimate iCal on my other Macs because (1) they are still running Snow and (2) I had switched them off as a precaution.  Good job I did.
    My solution was to export my iCal data on one of those other Macs to a backup file – then I imported that backup file into my Lion-updated Mac’s iCal. That restored all the iCloud-deleted iCal data back on to my Mac and this was promptly synched automatically to my Calendar on iCloud.  So now it’s all there and showing.
    Perhaps you could do something similar?  In the meantime, be very careful not to let iCloud’s amnesia get synched to your iPhone (and other devices).
    Experience has taught me never to trust an “upgrade” until it is proven to be working correctly and always to keep in reserve another Mac with a properly-functioning system and all synching to it switched off...

  • How to show all the rows of a report in one page

    My report has 30 rows, by default it just show 15 rows. I want to show all the rows just in one page, without cliking link or arrow to see the left.
    In the Layout and Pagination:
    Report Template: template: 15. Standard Report (PPR)
    Pagination Scheme: Row Ranges X to Y (no pagination)
    Display Position: Bottom - Right
    Number of Rows: 1000
    Number of Rows (item) 1000
    Maximum Row Count: 1000
    How to fix it?
    Thanks.
    Jen

    Ok, I think I got it. I needed to blank out Number of Rows(item), Maximum row count and only populate Number of Rows. I was sure I did that before and it didnt work.
    Do you think that the Sessions in Apex can cause unexpected results? I have found that when I make changes I have to log all the way out of Apex, close my browser and reopen everything to ensure that my change took. Does anyone else have this issue? I can move this into a different thread if need be.
    Thx!

  • Summary report to show all the software components and version installed

    We are using 64bit Windows 2003 and Hyperion Planning and Essbase in 2 separate servers. I am not sure whether Windows can have a summary report to show all the software components and version installed and show it is 32bit or 64bit version installed?
    Thanks!

    Refer steps here to delete SC file.:
    http://support.apple.com/kb/TS2363
    Then proceed to repair your QuickTime. START / CONTROL PANEL / ADD n REMOVE PROGRAMS / highlight QUICKTIME and click CHANGE then REPAIR.

  • How to show all the rows in a report

    I have a report, and i want to show all the rows in a page, how to do it. Currently, i just show part of rows.
    Thanks,
    Jen

    Jen,
    I'm guessing you are using Application Express,...
    Go to the region where the report is located, go to report attributes. In the "Layout and Pagination" section there is a setting called "Number of Rows". Change the setting, and that's it.

  • How can I show all the results returned by a sql query?

    Hi guys,
    I need your help.
    Let's say I have one table: TableA. Fields of TableA are aleg, anon, apes. The following sentence can return, in general, several rows: select anon from TableA where aleg = somevalue. I'd like to show the result of column anon but no luck. If I try to show the results in a TextArea and the origin is an sql query only shows the first row value. I tried Show as: show as text (based in PLSQL) and coding an anonymous plsql block as
    DECLARE
    v_anon TableA.anon%TYPE;
    CURSOR v_cur IS
         select anon from TableA where aleg = somevalue;
    BEGIN
    OPEN v_cur;
    LOOP
    FETCH v_cur INTO v_anon;
    EXIT WHEN v_cur%NOTFOUND;
    :FIELD_IN_FORM := v_anon;
    END LOOP;
    CLOSE v_cur;
    END;
    but in this case it's not shown any result.
    So the first question is what kind of field should I use to show the result. And the second one is what can I do to being able to show all the results returned by the query (provided that is more than one single row).
    regards

    Hi Denes,
    Just starting with apex. I think I know how to show the results in a report region. I've simplified the posted question.
    A more detailed question would be: Suppose you have a region where you have put several text areas to accommodate the result of a multi-column query (lets say for TableA) that only returns one row, each column value returned put in a different text area. Also you want to show the values of other fields in TableB that depends on some value just retrieved from TableA and that you want all values retrieved (from TableA and the linked TableB) to be show in the same region. Is that possible? If yes, how?
    Thank you in advance

  • I recently updated my e-mail address with apple, but now it does not show all the "purchased" music that I purchased under my old e-mail address.  How can I re-gain access to those hundreds of purchased songs?

    I recently updated my e-mail address with apple, but now it does not show all the "purchased" music that I purchased under my old e-mail address.  How can I re-gain access to those hundreds of purchased songs?

    You are trying to find a loophole to circumvent a basic rule that prohibits the transfer of purchased content from one Apple ID to another.
    Content tied to an Apple ID are bound to that Apple ID forever. You can not merge or trade accounts. Well, not (officially) anyway...

Maybe you are looking for

  • Open Directory: user authentication and logining takes a lot of time

    We have Mac OS X Server Snow Leopard 10.6.8 with OpenDirectory and some iMacs with Mac OS X Snow Leopard 10.6.8. After adding Network Account Server in iMacs (System Preferences->Accounts->Login Options->Network Account Server Edit) OD works normally

  • Feedback on my dv8, even when all programs are closed

    I installed Skype on my dv8 and the microphone was not working.  After fiddling with Skype and Windows Control Panel, I finally got it working but there was a lot of echo and feedback.  I tried adjusting the levels, but the feed back continued, even

  • Script to find a user and restart two services

    I am looking to make a script to first find a user that is connected to a server (list) the to stop Spooler, then stop cpsvc. Once the services are stopped, the script would then clear out the folder on "C:\Windows\System32\spool\PRINTERS" Director

  • Appending namespaces attributes

    Hi there, We have a proxy service (pswsdl) and business service (bswsdl) I am currently working on transforming xml payload from proxy service (pswsdl) to the xml as compliant with business service (bswsdl). I grab the payload from the proxy service

  • Downloading timeout when installing flash player 11.5.502.149 on mac osx ?

    Downloading timeout when installing flash player 11? I have a new MacBook Pro. I have OS 10.8.2. I cannot get FlashPlayer to download. I have tried uninstalling and reinstalling Adobe Flash Player 11 from the Adobe website. Doesn't work. Every time I