Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Disabling word wrap for JTextPane

843804Apr 29 2005 — edited Sep 19 2009
I'm working on an extension of JTextPane, and I need to disable word wrap for it, is there anyway to do it? Please don't say just use JTextArea, it's not an option available to me. Any reply would be VERY appreciated.

Comments

Mike Kutz

The upgrade to a 2007+ file format?

XLS is a different format than XLSX.

They are both different than CSV.

Many times I have seen CSV files with the XLS/XLSX file extension.  This is wrong.  This is Sooo wrong.  Please ensure this is not the case.

I don't use the Data Load Wizard.  But I heard that it now supports the XLSX format.

XLS format should no longer be in use.  As such, I doubt the Data Load Wizard will ever support XLS format.

Workaround

Save the file as an XLSX file and try again.

MK

Tomek

File is XLSX.

Mike Kutz

Is it really an XLSX file? can you change the extension to ZIP and open it? (this question is a habit of mine.  I've seen too many people claim their CSV file is an XLSX file)

Does the XLSX file actually contain the correct worksheet name that the Data Load Service is looking for?

Is it spelled correctly?  (don't laugh - I once had someone misspell RAT)

Case matches? (I'm not sure if this is the case.  As I've said, I don't use Data Load Service)

Without trailing spaces?

What does the debug log say?

Sanjay Sikder

@Tomek,

File is XLSX sure? You can try again by changing the file extension. or Please re-edit the file and save it in the same format and try to upload and then upload the file.  I also had a similar problem once.

Tomek
Answer

Found the solution...

By opening it in a special repair mode and saving it, I can then open it with Apex.

pastedImage_1.png

This is the link that talks about it

Marked as Answer by Tomek · Sep 27 2020

On Data Load Definition > Data Profile > Advanced found Default Sheet Name as sheet2.xml, changed to sheet1.xml and error disappear. I did never change that property to sheet2.xml.

1 - 6
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Oct 17 2009
Added on Apr 29 2005
27 comments
3,420 views