JFileChooser "List" and "Details" button disabled.
Hi,
The two buttons "List" and "Details" buttons on the top-right of my JFileChooser dialog box are both disabled.
Dose anyone know how to enable them?
Thanks
slam
Here's a solution. I still think there should be a more official way of doing this.
public MyFileView(JFileChooser chooser)
for ( Component c : chooser.getComponents())
if (c.getClass() == FilePane.class)
filePane = (FilePane) c;
@Override
public String getName(File f)
if (filePane.getViewType() == FilePane.VIEWTYPE_DETAILS){
return "Long";
return null;
}
Similar Messages
-
JFileChooser - List and Details
Hi,
In the JFileChooser Dialog, we have two buttons "List" and "Details" to view and select the files.
The default is "List" mode, when the File Chooser dialog opens.
In this mode, if we type in the first character of the file we want to select, then the FileChooser will automatically focus the first file in that directory starting with that letter.
For Example: If I type in 's' in the "File Name" text filed, the focus is on the first file in that directory starting with letter 's' like "sample.txt".
But this same feature is not available in the "Details" mode.
Does anyone have an idea of how to incorporate this in the "Details" mode ?
Also is there a way to make the "Details" mode as the default mode when the FileChooser dialog opens.
I have tried many sources but could not find any information regarding this problem.
Any help will be appreciated.
Thanks in advance,
Neeharika.Here's a solution. I still think there should be a more official way of doing this.
public MyFileView(JFileChooser chooser)
for ( Component c : chooser.getComponents())
if (c.getClass() == FilePane.class)
filePane = (FilePane) c;
@Override
public String getName(File f)
if (filePane.getViewType() == FilePane.VIEWTYPE_DETAILS){
return "Long";
return null;
} -
Buttons 'LIST' AND 'DETAILS' disabled in WEBUTIL_FILE.FILE_OPEN_DIALOG
When I do 'WEBUTIL_FILE.FILE_OPEN_DIALOG' the explorer is opened and it shows some bittons ('List','Details',etc).
My problem is that the buttons 'List' and 'Details' are disabled and I need to use them.
And a question ¿could I hide any of the icons in the explorer?
Sorry for my English
Thank youDid you find out how to fix it? I need it, too, but looks like no one have answer. Please let me know if you know.
Thanks,
Jess -
List and details controls of JFileChooser not working
hey pls tell me wheather there is any way of making list and details controls of JFileChooser work in jdk1.3 it perfectly work in jdk1.4 ....
pls help me
thanx
nikHi Kamal
In XI 3.0, this is a known issue for DCP value which is based on SAP OpenSQL driver can't be shown .
It has been resolved in XI3.1 version.
Thanks
Ricky -
Change view order of characteristics in list and details view
Hello everybody
I made some changes in the view order of most standard and own characteristics. Unfortunately the characteristic position changes I made are only partly applied!
Example:
Position Characteristic real pos. in list view
1 /CCM/PRODUCT_ID 2
2 /CCM/SHORT_DESCRIPTION 1
3 /CCM/ORDER_UNIT 3
4 ZZUMREF_AUSME_MEINS 8
5 /CCM/BASE_UOM 4
6 /CCM/PRICE 6
7 /CCM/PRICE_BASIS_QUANTITY 7
8 ZZNFMAT_KZ not shown!
9 ZZNON_AML_AM 5
10 ZZLIM not shown!
Why characteristics are not shown as a column in the list view is clear to me. This is the case when no catalog items have a value in those characteristics.
Did anyone else out there observe similar behaviour and hopefully knows the solution to it?
Kind regards,
RenaudJust for the records...
The system obeys to a changed character view order of own defined characteristics only if your own defined characteristics are not specified on catalog but on schema level!
We had specified our own defined characteristics on both levels at the same time... this disturbed the system and was the reason for the disorder in list and details view.
After correcting it all is fine again.
Hope this helps someone in future.
Kind regards,
Renaud -
Delete and Junk Buttons Disabled
I noticed today that the "Delete" and "Junk" buttons in Mail's toolbar have become disabled ("grayed out"), even with a highlighted message in the message list pane. (I use a "three-pane" configuration, if that matters.) All the other buttons (Reply, Reply All, Forward, New Message, Get Mail, Note, and To Do) work fine.
If I open a message into its own window, those buttons are active.
All buttons work fine on another computer running the same OS version. I haven't installed any updates in the last few days.
Does anyone have any ideas about what might be going on or how I could fix it? Thanks for any ideas.This is strange. With only a reboot (no updates applied), those buttons are now working again.
-
Formula list and details of operations
In an OBIEE analyisis, when you drag a column to the "Selected Columns" section and then from more options edit the Formula and try to add fucntions like SUM() or COUNT() on the column, you fina a host of other formula as well in the new popup window. My question is, can you help me with a link or documentation for the list of all supported functions and details on how to use them ? Where can I find them. I am aware that hen you try selecting a formula, you get a instance help, but it will will be good to have to documentaion for all the functionas together in one place.
Thanks,
KD.Logical SQL Reference - 11g Release 1 (11.1.1)
-
db11gxe , apex 4.0 , firefox 24 ,
hi all ,
i have a master detail page , with an item "test_id" as a select list ,
and a detail region has also a column "test_id" ,
what i want is :
when i change the value of the master "test_id" , the data is retrieved in the detail region where "test_id" = "master_test_id" ;
how to do so ?
thanksNewbi_egy
Do you mean that when you change the test in the master you want to refresh the detail?
Can you put up an example of your tables and foreign keys etc. on apex.oracle.com.
To me this sounds a wrong model design.
The detail should only depend on the primary key of the master. And the primary key shouldn't be updatable.
Nicolette -
CCM 2.0 Approve and Reject buttons disabled
Hi!!!
We log into de CAT with the Catalog Approver User. And when we go to the Procurement Catalog, the approve and reject buttons are disabled.
The procurement Catalog has the status To Be Approved (we defined it in the spro), so the items that I mapped from the Supplier to the Mater and to the Master to the Procurement catalog have this status.
I loged in to the Procurement Catalog with the Catalog Manager and assigned the approver to the catalog (CCM_APROVER). And this user has the role of approver (we have double checked in the pfcg).
Any idea why the buttons are disabled?
THANKS IN ADVANCED!!!!Hi Jay, Hay Nimish,
First of all, thanks for reply.
I think that we have found the problem. Is in relation to the transaction SICF. But we won't be able to check it until monday.
If the SICF solution doesn't work I will get back to you.
Thanks once again!
Message was edited by: Patricia Mussons -
Drop down lists and email buttons
I am creating a form and I have about twenty items in a drop down list. I was wondering if and how I can set it so each item selected will cause an email button I have to change address. i.e item 1 sets the email button to [email protected] and item 2 sets the button to [email protected] I think it has something to do with binding but I only have basic training so I am lost. Any help that you can give will be greatly appreciated . Thank you in advance
As mentioned, you can´t do that in InDesign but fortunately it´s fairly easy task to do in Acrobat Professional. You didn´t mention what are you sending, just an empty email that sender can fill in email client, whole PDF as attachment or some form data from PDF... all those options are possible by few lines of javascript in Acrobat side.
I made you a quick sample which just opens up an email client, populates email address based on choise that user has made in combobox and some custom subject and body meassage text. You can find it from my dropbox: https://dl.dropbox.com/u/17227987/sampleform.pdf
There´s only two formfields in that PDF; combobox for choosing email recipient (AA = [email protected], BB = [email protected] etc) and submit button. Check javascript code from
-combobox´s properties > Validate tab and
-button´s properties > Actions > Run a javascript.
In combobox, small javascript sets the myemail variable´s value based on the choise user makes. In Button there´s small javascript that triggers the email client and uses the value of myemail variable as a target email address.
ps. this sample probably works only in Acrobat and Adobe Reader. I have no idea how for instance MacOS Preview supports PDF javascript, probably not very well....=) -
Program with list and select button
Hi,
is there a program module that displays a list and when user selects an item and clicks on some button the program returnes selected item.
I just want to use that kind of program as a template.
Thank you.Hi,
Try this program BCALV_GRID_02
Cheers.
...Reward if useful -
A1 - Menu, Home and Back buttons disabled???
Hi, I restored my system to the original factory settings on my Lenovo A1, and now front buttons (menu, home and back) are disabled. Is there any way to enable/disable front buttons???
ThanksAre you through the setup phase following the reset? Did that seem to go normally?
If you haven't powered the device completely off and rebooted it, do so. If that doesn't fix the problem, try resetting the device again. -
Chart - PREVIEW and SAVE buttons disabled.
I am using BI Publisher Desktop with WORD 2007 on VISTA. When I attempt to add a chart to a rtf template, the PREVIEW and SAVE buttons are disabled. I can move data fields from the Data section into the Layout Section, select chart type, even the style. Everything appears to work just fine but I can not preview or save. The template file is not in any restricted folder. I can add a table, then save and preview the document just fine.
I have even openned some of the samples that came with the download and when I view the properties on an existing chart, I see the same disabled buttons.Which menu path are you using?
Are the items available for personalization? -
WSDL Authentication - Details Button Disabled
Hi,
We are using CE 7.3 EHP1 system, I created a WSDL in BPM to start the process and deployed in CE system. This WSDL is called by an external Java Application(WebCommerce) running in different portal.
They can import the WSDL & pass the data to it, But BPM could not start the process & fails stating (Authentication Error) which i could find in the Logs.
But when I try to give the authentication to the webservices by navigating SOA -> Application & Scenario Communication --> Single Service Administration
Identify my service --> Configuration --> Security --> HTTP Authentication --> Click Userid/Passwd . The Details button not enabled to give the userid and password.
Can you please let me know how to enable the details button.
Your Help is Much Appreciated.
Thanks,,
Prabhu KaruppasamyHi Prabhu,
If there is no authentication for the execution of WSDL, it could be related to the special user 'SAP_BPM_Service' .
I had faced this similar issue while triggering the BPM from a WDJ Application.
I referred this document and assigned the UME Action: "SAP_BPM_TRIGGER_EVENT" to SAP_BPM_Service.
My understanding is that if there is no authentication for execution of the WSDL from another application, that implies to BPM that there is no specific user for this execution.
So, SAP_BPM_Service executes this.
I could be wrong and there might be some other issue here. But when my BPM did not start from another application, i tried this and it worked for me.
You could try it too. Any help is good help at this time.
Note: Make sure all the configurations and application communications and provider system configs are done as suggested earlier. If nothing works, then try this. It worked for me.
Hope it works for you too.
Cheers,
Sid. -
"Accept and Submit" button disabled
I am trying to applying for Adobe Runtimes / Reader Distribution License Agreement but the "Accept and Submit" button is disabled on https://www.adobe.com/cfusion/mmform/index.cfm?name=distribution_form. I have tried everthing I could but unable to proceed. Please help. Thanks.
One more thing: Since I did not have Safari installed on my office computer on which I was facing the problem, I tried at home on my home computer using Safari which worked. So, I do not know if the problem was with web browser only. It is also possible that on my home computer, I might have had another version of Java and/or different settings.
Maybe you are looking for
-
How to delete values from extension collection field through importer?
Hi Experts, We have created one extension collection field in Master Agreement. We are able to add values to that collection field using Extension collection template CSV file through importer. Now we have a requirement to delete values from the Exte
-
Combining files into a single pdf stopped working
I used to be able to combine files into a single pdf on my Mac using Adobe Acrobat XI Professional. Now when I select "combine files into a single pdf", I just get a short vertical line with a gray cloud around it in the center of my screen. Do I nee
-
Osx 10.6.8 freezes
imac 5 osx 10.6.8 After about 5 minutes it just freezes where it is and I have to just switch it off? Any fixes?
-
Notification number %ZZZZZZZZZZ1
Hi experts, The problem is that the BAPI_ALM_NOTIF_CREATE fm does not return the NOTIF_NO in EXPORTING structure notifheader_export ? There is only number like that : %ZZZZZZZZZZ1, which could not be of course compareable with the QMEL-QMNUM val
-
Flash media server Admin Console 3.5 cannot connect to server
Hi to every one I am new in FMS and installed FMS Development version 3.5 When i put server addess localhost OR 127.0.0.1 and other information username and password then i press ok button it says worng information to login Please tell me the correct