Advance after edit in jtable?
i edit jtable cell with F2, confirm entry with enter and focus stays on the same cell. however, i'd like to advance to next cell after editing is done and enter pressed. is it possible? (and how?)
thank you for any answer!
dario
http://forum.java.sun.com/thread.jsp?forum=57&thread=356886
Similar Messages
-
Problem occures after editing the JTable....
Before understanding problem, let understand my logic first --
I m writing code for 'find' functionality, which works exactly same as find (ctrl+f) in any document or table...
- In my case I m applying it on JTable it follows the steps bellow .
- Enter word to search in a GUI & click on find or find all
Internal working as :---
- take JTable instance..
-pass it to function which detects the occurrence of 'search word' in a JTable cell.
- save rows & columns no. of all occurrences in a vector
- pass the vector to cell renderer, which ll high light the occurrences with blue color.
- update table UI using "table.updateUI()".
Now my problem is :--
The code works fine & doesn't gives any problem until I do not edit the cell of JTable displayed on screen...
If I edit the cell & then try to search a particular word in the table then it ll not work properly & shows message "Word not found".(Which actually displayed if the word count is zero in the table).
Code is too large so I am not pasting here....
Any suggestion or clue will be appreciated....
Thank you very much in advance
SuyogCode is too large so I am not pasting here....If you need further help then you need to create a [Short, Self Contained, Compilable and Executable, Example Program (SSCCE)|http://homepage1.nifty.com/algafield/sscce.html]
that demonstrates the incorrect behavior, because I can't guess exactly what you are doing based on the information provided.
Don't forget to use the [Code Formatting Tags|http://forum.java.sun.com/help.jspa?sec=formatting] so the posted code retains its original formatting. -
Why does the size of my photos reduce to 0mb after editing in iPhoto?
Please bear with me here. I am a new Mac user (MacBook Pro, 2008, OSX 10.7.5), as well as not the most technologically competent person in the world, so I might need a little patience and additional questions to help me understand everything!
After a recent trip to Europe, I imported photos that I had taken with two different cameras into iPhoto ('09, version 8.1.2). All the photos that I took with my Canon Rebel t2i DSLR have not had the problem I'm about to describe, in the past or with photos from this trip. The problem has been only from pictures that I took and uploaded from my husband's Nikon Coolpix L610 point and shoot. Not sure if this will matter, but the mode I was shooting in was 16M (4608x3456) which appears to be the "best" quality for this camera.
As I was going through my photos and editing them (mostly minor edits, cropping, straightening, enhancing, altering the sharpness/exposure/definition/saturation), I noticed the size of my photos decreasing, as described in the information box in the lower left hand corner of the screen. With at least 30+ pictures of the ones I have tried editing (this isn't counting the hundreds more that I have yet to start editing), the file size dropped to 0MB, some after one edit as simple as straightening, others taking 2 or more minor edits to drop to 0. The picture is still there in the multiphoto view (in Photos section under Library), but if I try to click on the picture to view it larger, it just shows up as a black screen.
For example, one picture I have showed a size of 4608 x 3456 and 7.6 MB. When I did one edit (enhance photo), the 4608 x 3456 stayed the same, but the 7.6MB changed to 0KB. For others, it will decrease some with one edit, then drop down to 0 if I do additional edits. Most of my pictures are in the 4-10MB range in their original form (no edits). I'm assuming that I was shooting in jpeg mode, since that's what they uploaded as. (I've read on here of other people shooting in RAW mode and such, but I don't even think this camera has that capability). I read some other boards with similar questions, but not the exact same problem as I'm facing. I know that there is "jpeg compression" with jpeg files when editing.
So I guess my question is this: Is there anything I can do to stop this reduction down to 0? I will only be printing out a few of these pictures, and most in a 4x6 or 5x7 size. I'm more concerned with being able to post them to Facebook for my family, who lives far away. When the file size is 0KB, it won't upload because it doesn't even register as there being a picture and if I try it anyway, it gives me an error message, something along the lines of not supporting this format (or something similar, has been a couple days since I last tried).
I read something one of the similar boards that mentioned saving the edited photos as TIFF files, but it also mentioned that that takes up a lot more disk space, which I'm not sure if I want to (or have the space to) do. (Side question: If I did check the box in Preferences --->Advanced "Save edits as 16-bit TIFF files, would that do that to every picture in my library that I have edited?)
As I said, I'm new to this whole Mac stuff (been using it for just under a year, given to me by my brother-in-law after my computer died), so please use as much layman lingo as possible! And thank you in advance for anyone that can give me any insight and/or advice!None of my pictures that I uploaded into iPhoto are in my Finder under Pictures. Should I copy and paste my folders from iPhoto into here, in case something happens to my iPhoto program (in addition to backing them up onto an external hard drive like I already do)?
No, that's just wasting space. A back up needs to be on a different disk.
Your photos are within the iPhoto Library. -
IPhoto does not see any changes after editing a photo in Camera Raw
Hello everyone ,
I have some small problem with my iPhoto. I have set up Camer Raw in iPhoto as External Editor, so when I click on edit in IPhoto,
automatically opens my JPG in Camera Raw. After editing in Camera Raw I'm clicking on ,,Save image" then destination is ,,Save in same location" When I go back to iPhoto to the same photo, iPhoto does not show any changes I have made in Camera Raw.
What could it be or should I set something in iPhoto or in Camera Raw?
Is there a chance in order to deal with this?
I will be grateful for any assistance and
I'm waiting for advice
DawidAny time a RAW file is edited in any 3rd party editor from within iPhoto it MUST be saved to the Desktop and imported as a new file. There's no other way to do it. So the photos you've edited and saved are somewhere in the iPhoto Library folder system but cannot be recognized and used by iPhoto.
The following is geared for Photoshop and Photoshop Elements but might have some info relevant for you:
Using Photoshop CS3 or Photoshop Elements 9 as Your Editor of Choice in iPhoto.
1 - select Photoshop as your editor of choice in iPhoto's Advanced Preference Section's under the "Edit photo:" menu.
Click to view full size
2 - double click on the thumbnail in iPhoto to open it in Photoshop. When you're finished editing click on the Save button. If you immediately get the JPEG Options window make your selection (Baseline standard seems to be the most compatible jpeg format) and click on the OK button. Your done.
3 - however, if you get the navigation window
Click to view full size
that indicates that PS wants to save it as a PS formatted file. You'll need to either select JPEG from the menu and save (top image) or click on the desktop in the Navigation window (bottom image) and save it to the desktop for importing as a new photo.
This method will let iPhoto know that the photo has been editied and will update the thumbnail file to reflect the edit..
NOTE: With Photoshop Elements 9 the Saving File preferences should be configured as shown:
Click to view full size
s I also suggest the Maximize PSD File Compatabilty be set to Always. In PSE’s General preference pane set the Color Picker to Apple as shown:
Click to view full size
NOTE: If you want to use both iPhoto's editing mode and PS/PSE without having to go back and forth to the Preference pane, once you've selected PS as your editor of choice, reset the Preferences back to "Open in iPhoto". That will let you either edit in iPhoto using the Edit button or Control-clicking on the thumbnail and selecting "Edit in iPhoto" or in PS/PSE by Control-clicking on the thumbnail and selecting "Edit in External Editor" in the Contextual menu.
Click to view full size
This way you get the best of both worlds.
OT -
Adobe pro 8: how to make an existing secure encrptyed form unfillable after editing
Hello,
as the discussion topic says.
adobe pro 8: how to make an existing secure encrptyed form unfillable after editing? Is it even possible to do in adobe pro 8?
For work there's a secure and encrptyed form. I want to write in the form and save it so it will be unfillable / uneditable.
this form is not created by myself, and already secure and encrypted.
I am aware that in other recent adobe pro versions on how to do this, since they have a " save as a copy" function in the file menu. (adobe 8 doesnt have)
I've also tried printing as a PDF, but due to encryption of the form, that doesn't come out great.
Upgrading to a recent version of adobe pro is not an option.
I've also tried exporting as a picture files and then recombinding them to a pdf. I dont like this method and find it time consuming.
If possible please inform me of a way to solve this problem , step by step with adobe pro 8's features.
or
show me the equivalent method to how recent versions "save a copy" of a secure encrypted form on adobe pro 8.
Thanks in advance for reading this thread and helping.Well after you use save a copy, and the security is disabled, you could then re enable security features and disable editing of the form.
EDIT: I just tested , with a PDF is in secure mode, even using a "save a copy" feature wouldn't work.
Would finding a program to desecure the pdf be a possible option?
Or is there a way to copy the form (with all it's editable fields) and paste it as an unsecure pdf?
You would then be able to make new security features.
thanks for replying and viewing this problem. -
Not editable in JTable..
I want to make not-editable cell in JTable.
so I was searching for source code and posts in forums..
I found perfect source code..
but I don't know the difference between my source code and perfect code...
could you explain me the difference two of sources
Especially, isCellEditabel function....
In advance thank you
perfect code
Test()
JTable myTable = new JTable(data, headers)
@Override
public boolean isCellEditable(int row, int column)
return false;
add(new JScrollPane(myTable));
my source code
field_vc.add("Hotel Name");
field_vc.add("City");
field_vc.add("Maximum");
field_vc.add("Smoking");
field_vc.add("Price per Night");
field_vc.add("Date");
field_vc.add("Customer ID");
field_vc.add("Select");
view_jt = new JTable(data_vc , field_vc)
@Override
public boolean isCellEditable(int row, int column)
return false;
view_jsp = new JScrollPane(view_jt);
perfect source code is not editable in JTable
But my source code is editable in JTable
Plz help me
Edited by: KIMJINHO on Feb 22, 2008 8:33 AMBut my source code is editable in JTableprove it by posting a demo program that we can copy/paste/compile/run and double click a cell to edit
-
can't save pictures on original folder position after edit, get save popup to save at different position, also still on toubles to get them back to original folder positon since I'm upgraded to IOS7 on IPad2.
I say the problem is probably noted, and probably will be resolved. Not that i can speak for Apple. I find the "problems" of wallpaper to be pretty minor compared to the advantages of iOS 7. The fun of wallpaper has always been pretty insignificant here.
-
I have created a form in InDesign, exported to a pdf, then created an editable form and saved. When I open the form and make changes and save, then reopen the changes are there. If try to email this form as an attachment after editing, the attachment is always minus the edits. ????
Hi chuck,
If you ave created the form and then filling it yourself and saving the form, the filled data should be there when you reopen the same form.
Can you please send the form to me at [email protected] so that I can have a look.
Regards,
Rave -
How to save data in ztable after editing in alv report
how to save data in ztable after editing in alv report?
Hi,
Please find the attachment below.This may be usefull to you.
[http://wiki.sdn.sap.com/wiki/display/Snippets/ALV-Editingandsavingtheeditedvaluesin+Database%28OOPS%29]
Regards,
Ramakrishna Yella. -
How to sync two excel files, the content is the same in both files after edit.
I have two excel files, which are data and edit by multi users, how can I sync the master files to the copy files after edit?
Is this operation required VBA? marco?Hi,
Your request could be done via VBA code. Here are two ideas.
One:
Syncing the data from master file to the copy file without opening copy file. Sample code
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Count > 1 Then Exit Sub
Dim cnn As Object, SQL$, s$
Select Case True
Case Target.Value = ""
s = "null"
Case IsDate(Target.Value)
s = "#" & Target.Value & "#"
Case IsNumeric(Target.Value)
s = Target.Value
Case Else
s = "'" & Target.Value & "'"
End Select
Set cnn = CreateObject("ADODB.Connection")
cnn.Open "provider=microsoft.jet.oledb.4.0;extended properties='excel 8.0;hdr=no';data source=" & ThisWorkbook.Path & "\test folder\Book2.xls"
SQL = "update [Sheet1$" & Target.Address(0, 0) & ":" & Target.Address(0, 0) & "] set f1=" & s
cnn.Execute (SQL)
cnn.Close
Set cnn = Nothing
End Sub
Two:
Saving the master file as copy file before closing. Reference:
https://msdn.microsoft.com/en-us/library/office/ff194765.aspx?f=255&MSPPError=-2147217396
If you have any further question about coding, I recommend you post the question to the MSDN forum for Excel
http://social.msdn.microsoft.com/Forums/en-US/home?forum=exceldev&filter=alltypes&sort=lastpostdesc
The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
Regards,
George Zhao
TechNet Community Support
It's recommended to download and install
Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
programs.
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]. -
in iphoto, how do i save a photo after editing, in the same or higher file size, it's saves in a lower size
It's rather more complicated that this.
iPhoto is a lossless editor. You don't lose any quality on your shot in iPhoto.
The file size you see reported is the size of your iPhoto Preview: this is what gets used if you access the data via a media browser. It's a "good-enough-for-most-uses" version of the shot. Email it, upload to websites, use it in Presentation, Word processing file etc
If you want to set the quality yourself then Export the photo using the File -> Export command.
You can choose to export to Jpeg, Tiff or png. Tiff is lossless but the file sizes are up to 10 times larger. Jpeg allows you to choose different qualities: High, Medium or low. The difference is the amount of compression involved. High quality means very little compression. It's not unusual for photos exported at this setting to have a larger file size than the original.
Which setting you choose depends on the use you intend. Further editing, printing then high is important. Sending to Facebook? Well low will do just fine there as they're going to trash the file anyway.
But the key point: the file size only becomes an issue when you export.
Regards
TD -
Error in saving .aspx pages after editing the XSLT
Hi,
I am developing a SharePoint 2010 web app and I had to do some modifications for a .aspx page which has a data form web part and I am encountering following issues:
1. After selecting the web part, when trying to modify the filter criteria of the data source, the "group" and "ungroup" buttons are seen as disabled and the option of editing in the XSLT editor is also not visible.
2. after editing the XSLT, knowing that there are no issues if I try to save it an is showed saying null value issue and asking whether to allow scripts to run in this page r not. After choosing either yes or no, when I try to preview it in browser I get
an error in the place where I have the data form web part saying error with web part try to edit it in SharePoint editor such as SharePoint designer.
3. this is happening only i try to edit the code but no matter how many copies I get from the original page, they are correctly previewed in the browser unless I try to edit it.
your kind support or suggestions are highly appreciated as I am unable to fix this
thanks.Data you are changing is on the frontend. You need to pass data to backend (server). The static method 'dispatch' of control framework class (CL_GUI_CFW) is used to do this 'manual' synchronization. It is sort of helper method of control framework (which is basis for ALV controls) and is independent of ALV controls (cl_gui_alv_grid etc.) that are used.
Try putting this code as suggested and check.
short code would be (without error handling)
CL_GUI_CFW=>DISPATCH( ).
null -
what is the next step after editing or triming a video?
what type of file format should be save and what to do after that?In the early days of digital video editing, an export render could take hours! Not many applications are as hard on system resources as video editing, and rendering the final edit is probably the most system intense action of all.
Head on over to the Premiere Pro Hardware forum to see what sort of computer hardware the pros use for NLE (non linear editing), or to the PPBM5 site for a better look.
PPBM5 Benchmark
Also check out the specs on the Video Guys website -
Hi,
I'm currently editing a full length feature film and originally imported all the footage directly into final cut making the timeline become a 29.97 timeline, when the pulldown should have been removed before the fact. After much research I know that you can properly remove the 3:2 pulldown from the 24p footage after editing and can be done in compressor. I've tried a number of different compressions and seem to have the dimensions correct which is good. But the 16:9 footage when brought into iDVD or dvd studio pro it seems to want to make the footage 4:3 which is quite confusing and frustrating. I need to be able to get my compression settings correct so that i'm able to put this on a dvd properly. I originally exported the footage from final cut as DV/NTSC and made sure it was 16:9 coming out of final cut. The resolution is 720x480 but comes out as 853x480 as its dimensions and has a squeezed look to the video as it did on its timeline unless the preserve aspect ratio button was unchecked. The only way around getting the squeezed look to go away is to go through compressor and make sure that letterbox is turned off so that its a full screen. Even though its a large file size I compressed using apple pro res to get the best resolution I could, but I need the best results with the lowest file size since the running time is roughly 1:43:00. The footage looks good coming out of compressor, but for some reason even though its full screen 16:9 everytime it is brought into iDVD or dvd studio pro it wants to make it 4:3? what is the reason for this! I recently read an article on this problem and the reverse telecine option within compressor is used to remove the extra frames that final cut adds, and makes the video of better quality relieving the horizontal lines that are caused by the extra frames. I need help on this and I know it can be done because people have proof that it works but I can't seem to reach a solution myself. Thank you to all who reply much appreciated!What happens when you drop a 4:3 clip - with its anamorphic flag cleared - into the 16:9 sequence ?
I have not been doing exactly this, but I have been going the other way, to produce letterboxed 4:3 footage from 16:9 HDV.
I found, when dropping the clip in, FCP automatically set a scale and distort, to correct for the differnce in aspect ratio - does it do this for you for 4:3 SD on a 16:9 SD timeline ?
Remember, you have to re-open a clip, from the sequence timeline, to see its motion settings in that timeline - I keep forgetting this, drop a clip on, then wonder why nothing I change on the clip happens in the sequence!
Regarding the final output, it all sounds fine, except for the possibility of the 4:3 TV output - the 16:9 footage would be okay letterboxed, but the original 4:3 footage would be better 1:1 - if you had to pillar box the 4:3 in the 16:9 (probably what FCP would do by default) and then letterboxed that when making the 4:3, you'll end up with a box in box, plus interlacing problems from the rescale.
I would consider making a second 4:3 sequence, once you have finished the edit on 16:9, try copying all the 16:9 edits (Cmd-A, Cmd-C) and pasting them into the new 4:3 (Cmd-V) - then its a case of leaving the 16:9 letter boxed, or zooming and panning it for 4:3, and removing the scale / aspect from the 4:3 sequences alltogether, so they play normally.
Messy - isn't it ?
Good luck!
PowerBook G4 Mac OS X (10.4.4) -
how do i get my photos back on usb after editing. i used export but after checking my photos were not back on usb?
You're really going to need to explain that. What's "USB"? Do you mean a Disk, Drive or volume connected by USB? How is your iphoto set up? What version are you using?
Regards
TD
Maybe you are looking for
-
Creating a HTML file in a java class
Hi everybody, I want to create,configure and open a html file all that in a java class so can you help me please
-
I am trying to install Windows 7 Ultimate to my Toshiba Portege M900 (MODEL NO. PSU9RL-002002/ Seral no. XXXXXXXXX). What drivers do I install and in what sequence do I install them? I'm desperateand any help will be so so so much appreciated...
-
I'm trying to rescue files from a friend's 2.5" hard drive. It's a WD drive in a USB enclosure. It was formatted and used to store pictures and music. Now when connecting it to a PC or Mac it won't mount--it needs to be initialized. I've removed it f
-
Custom Login Module that should check only userId with out passwd
Hi All, Can we write a custom login module which should check user name in the HTTPHeader and let the user login if the user id exists in the userstore(Active Directory Server). It should not validate with the passwd, as the requesting server sends
-
Windows 8.1 BUG - Cannot right click wi-fi networks
There are various threads on this with so many really bad answers. You guys really need to recognize that you broke the function and have to put it back. In windows 8.1 you cannot go to wi-fi, right click Answers I have seen is go to PC settings, Net