JList problems, can't write to a list
Hi there....can anyone help???
I'm having a problem with a dialog box...I use a dialog box to logon a new user (client) to my server, but the GUI on the client's side isn't showing who's online so to speak(I'm using a JList as my 'buddy' list type of window)....How do I get the dialog box to send the user's name to my client's GUI and add it to my who's online box??? Conversely how do I get the name to be removed when the user disconnects from the server??? Thanks everyone for any help you can provide....
You need to refresh the JList every time the data changes:
JList myjlist = new JList();
Vector data = new Vector(); //or use an array of type Object
//data changes
myjlist.setListData(data);
Similar Messages
-
SQ01 DIsplay Problem (Can v write abap code ) Sql Query
Hi
Need help in SQL Query
I generated one sql query which has the following output in general .
Customer name description amount
asrq1 sharekhan Amount payed 10
asrq1 sharekhan Amount Advance 20
asrq1 sharekhan Amount due 30
but i need the output in the following way
Customer name AMount payed Amount Advance Amount Due
asrq1 sharekhan 10 20 30
and iam new this sql query but came to know we can write code ..but iam unable to initiliaze to write
a peace of code as i dont know what are the select-options defined ..i saw in the include but didnt got it
% comes prefix of select-options,and iam unable to get he internal table which is displayed in the query .
can anyone help me in this answers will be awarded points.First, I will suggest to go for ABAP report for this kinda requirement.
If you really want to go for it through SQ01, even then you will have to write some ABAP to display the records in one row. You will need to create three custom fields.
I will give Psudo for one field:
Field Name := ZAmountPayed
Select Amount_Payed into varAmountPayed from Table Where Emp# = '12345'
ZAmountPayed := varAmountPayed
Convert the above into relative ABAP code and create 2 more similar fields, and you should be all set.
You have to know the table names and any other calculations to get the right data. -
Hi, the problem of deleting files / videos seeds desktop to go into Terminal and then sudo rm-rf ~ /. Trash Pohangina the answers I've had e of someone in her forum but when I write procedures line in Terminal as the Krever my password and it can not write anything there, I write but nothing comes and my problem is not löst.När I want to delete the movie / video image Frin desktop still arrive Finder wants to make changes.Type your password to allow this. But even that I type my password file / video is left I need help in an easier way or another set-even those on the terminal that I can not type my password to solve the problem Regards Toni
If you want to preserve the data on the boot drive, you must try to back up now, before you do anything else.
There are several ways to back up a Mac that isn't fully working. You need an external hard drive to hold the backup data.
1. Boot from the Recovery partition or from a local Time Machine backup volume (option key at startup.) Launch Disk Utility and follow the instructions in this support article, under “Instructions for backing up to an external hard disk via Disk Utility.”
2. If you have access to a working Mac, and both it and the non-working Mac have FireWire or Thunderbolt ports, boot the non-working Mac in target disk mode. Use the working Mac to copy the data to another drive. This technique won't work with USB, Ethernet, Wi-Fi, or Bluetooth.
3. If the internal drive of the non-working Mac is user-replaceable, remove it and mount it in an external enclosure or drive dock. Use another Mac to copy the data. -
I can not write in Hebrew And create effects It shows all distorted When This problem solved?
I can not write in Hebrew
And create effects
It shows all distorted
When This problem solved?roeisarusi wrote:
When This problem solved?
Nobody knows. iWorks apps have always had bugs that make them unsuitable for Hebrew/Arabic for most people. Tell Apple here:
http://www.apple.com/feedback/keynote.html -
Hello I have a problem I can not write in Arabic in Tor BlackBerry 9630 4.1.0.40 (platfrom v4.1.40)
i want those dukes, lol.
import java.util.StringTokenizer;
import java.util.ArrayList;
public class StringTokens{
public static void main(String[] args) {
new StringTokens();
public StringTokens(){
String change = "10 20 30 40";
ArrayList changenumbers = new ArrayList();
StringTokenizer st = new StringTokenizer(change);
while(st.hasMoreTokens()){
changenumbers.add(st.nextToken());
if(changenumbers.size() > 0){
int[] numbers = new int[changenumbers.size()];
for(int i = 0; i < changenumbers.size(); i++){
try{
numbers[i] = Integer.parseInt((String)changenumbers.get(i));
} catch (NumberFormatException e){
numbers[i] = 0;
for(int i = 0; i < numbers.length; i++){
System.out.println("Number: " + numbers); -
List v = new Vector() how can i write this ?
List v = new Vector() how can i write this ?
vector does not 'extends' List rather it 'implements' only ......so how can write this way ? ( polymorphism applies only for 'extends' ).my question in a simple way is :
List some_list extends Vector
No, List is an interface; Vector is a concrete class. Read the javadocs.
Vector implements List
>
AND
List some_list implements Vector
are these two same in behaviour
our apart from theoretical differences ?thanks
Interfaces don't have any implementation; they're pure method signatures. When a concrete class implements an interface, it makes a promise that says "I will provide implementations for exactly these methods. Any client can call a method from the interface and I will do something 'sensible' if I'm written correctly."
From the point of view of static and dynamic types, there's no difference between interfaces and classes.
C++ has interfaces, too - they're classes with all pure virtual methods. If you understand how C++ works, the concept shouldn't be hard.
ArrayList is preferred precisely because it isn't synchronized by default. (You can always make it so using java.util.Collections if you wish later on.) If you don't need synchronization, why pay the performance penalty? -
have a problem choosing artist from my artist list when I will put music on my iPad from my iMac. I can only see the 25 first artis and it is not possible to scroll down the list
Hi stig68,
If you are having grouping issues with compilation albums in iTunes, you may find the following article helpful:
Apple Support: Why aren't songs with the same album art grouped together?
http://support.apple.com/kb/TS1468
Regards,
- Brenden -
I installed iOS 5.0.1 on my Iphone 3GS. I never can not write in my calendar. Anyone else having this problem after their upgrade?
I was going to suggest - Settings>General>Reset>Reset all settings, but if you are restoring to factory settings, that should restore the settings back to factory defaults. But if you are restoring from a backup, after restoring to factory settings, try resetting all of the settings and see if that fixes it.
It might be something in your backup. -
"Files can not write or be written to disk" (pic problem)
I can't seem to figure out why I get the error that I can't write to the disk. Does that mean I can't write to the ipod? I've tried 5 r's and still can't figure it out. Is is an OS issue on my comp? Anyway, I can't figure it out...thanks for your time.
GregWelcome to Apple Discussions!
Try this...
Disk cannot be read from or written to error syncing iPod in iTunes
btabz -
Wrt610n problem, can't seem to write to hard drive
so i set up the router and have set up all the shares along with the user properties with admin status. I have mapped the network drive on Vista and am able to see the hard drive and play everything off it. But i cant seem to write to it, everytime i try to it says i need permission. i know i have connected via admin status with my user name not the admin user name since i cant seem to with vista.
suggestions? TIAHello there!
With your concern, are you connecting a USB thumb drive or HDD to the router? What's the difference?
With USB Thumb Drive attached to your router, it only reads it as NTFS and you have Read-Only permission to this. That means, only opening files. With HDD or hard disk drive, make sure it is formatted to Fat/Fat32 for read-write permission. Also, make sure the user you created on the router's storage settings is set to read-write permission as well. Take note that before you proceed with reformatting your hard drive, you have to create a backup first.
So far, this are the options you have to check. Also, test if you can read-write once the hard drive is connected directly to the computer.
Keep posted!
for heads up! <<<call_me_jam_>>> -
I have a new iMac (like this):
I am trying to connect the Drobo that I used to use with my Windows Computer. It has 4 drives @ 3TB each, and the whole drive is over half full, so I am not terribly interested in the cost that it would take to "back up" that whole disk pack. It took some shenanigans (reboots of both the drive and the computer; disconnections, and reconnections; fiddling around with MAC Disk Utility) to get it to show up in Finder at all. I still have issues with it unmounting and needing to remount it, but that's not my main issue.
THE REAL PROBLEM:
Though I can get the Drobo to show up in finder, and I can read from it, I can't write to it. Based on some earlier searching I tried this terminal command, which helped it to show up in finder, but didn't seem to affect it's being read-only:
new-host-3:~ davidholcomb$ getfileinfo /Volumes/Drobo
directory: "/Volumes/Drobo"
attributes: avbstclinmedz
created: 12/10/2012 19:06:46
modified: 09/11/2014 03:37:07
Looking at another thread (partition map check failed because no slices were found), which I wandered into because I was getting this error in Disk Utility upon running Verify Disk because I got a failure when I tried to "mount" the drive in Disk Utility:
This thread suggested I try a couple additional Terminal Commands, which I will post the results of here:
#1: diskutil list
new-host-3:~ davidholcomb$ diskutil list
/dev/disk0
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *121.3 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_CoreStorage 121.0 GB disk0s2
3: Apple_Boot Boot OS X 134.2 MB disk0s3
/dev/disk1
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *1.0 TB disk1
1: EFI EFI 209.7 MB disk1s1
2: Apple_CoreStorage 999.3 GB disk1s2
3: Apple_Boot Recovery HD 650.0 MB disk1s3
/dev/disk2
#: TYPE NAME SIZE IDENTIFIER
0: Apple_HFS Macintosh HD *1.1 TB disk2
/dev/disk4
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *17.6 TB disk4
1: Microsoft Basic Data Drobo 17.6 TB disk4s1
#2 diskutil cs list
new-host-3:~ davidholcomb$ diskutil cs list
CoreStorage logical volume groups (1 found)
|
+-- Logical Volume Group 7DACBFD5-E22C-404B-98B1-99D97AD08B2F
=========================================================
Name: Macintosh HD
Status: Online
Size: 1120333979648 B (1.1 TB)
Free Space: 114688 B (114.7 KB)
|
+-< Physical Volume F26F7717-B081-4312-8252-65C9E3040AD4
| ----------------------------------------------------
| Index: 0
| Disk: disk0s2
| Status: Online
| Size: 120988852224 B (121.0 GB)
|
+-< Physical Volume 414053B5-EFD8-4FC0-87CE-F3913D6E876B
| ----------------------------------------------------
| Index: 1
| Disk: disk1s2
| Status: Online
| Size: 999345127424 B (999.3 GB)
|
+-> Logical Volume Family BE5280EF-B093-4137-88A2-5AF3F1ACEFCC
Encryption Status: Unlocked
Encryption Type: None
Conversion Status: NoConversion
Conversion Direction: -none-
Has Encrypted Extents: No
Fully Secure: No
Passphrase Required: No
|
+-> Logical Volume D35043A0-F886-4223-81DD-4880F04ECEA3
Disk: disk2
Status: Online
Size (Total): 1114146996224 B (1.1 TB)
Conversion Progress: -none-
Revertible: No
LV Name: Macintosh HD
Volume Name: Macintosh HD
Content Hint: Apple_HFS
and #3: Mount:
new-host-3:~ davidholcomb$ mount
/dev/disk2 on / (hfs, local, journaled)
devfs on /dev (devfs, local, nobrowse)
map -hosts on /net (autofs, nosuid, automounted, nobrowse)
map auto_home on /home (autofs, automounted, nobrowse)
/dev/disk4s1 on /Volumes/Drobo (ntfs, local, nodev, nosuid, read-only, noowners)
Another user who had run these commands and posted the results, seemed to have been missing an EFI partition on their external drive and was asked to run this command and post results. But the thread with that user dies there. Here are my results of this command:
new-host-3:~ davidholcomb$ diskutil info disk4
Device Identifier: disk4
Device Node: /dev/disk4
Part of Whole: disk4
Device / Media Name: TRUSTED Mass Storage Media
Volume Name: Not applicable (no file system)
Mounted: Not applicable (no file system)
File System: None
Content (IOContent): GUID_partition_scheme
OS Can Be Installed: No
Media Type: Generic
Protocol: USB
SMART Status: Not Supported
Total Size: 17.6 TB (17592186044416 Bytes) (exactly 34359738368 512-Byte-Units)
Volume Free Space: Not applicable (no file system)
Device Block Size: 512 Bytes
Read-Only Media: No
Read-Only Volume: Not applicable (no file system)
Ejectable: Yes
Whole: Yes
Internal: No
OS 9 Drivers: No
Low Level Format: Not supported
Can anyone help me with a next step to make this drive read/writeable?Turns out that the Drobo needs to be plugged straight into computer. I had it via hub. Though it has worked for the past couple weeks in this configuration, the new update pushed it over the edge, I guess. Plugged in directly and working fine.
-
HP DVD Writer 840b can't write to Sony DVD-RW
HP DVD 840b can't write to Sony DVD-RW. I cannot "send to" the dvd nor save a simple file from notepad. I can see the device in the device manager. I can also read and write CD-R disks, no problem.
I'm running Windows XP sp3 build 2600.
I did the following firmware update:
http://h10025.www1.hp.com/ewfrf/wc/softwareDownloadIndex?cc=us&lc=en&dlc=en&softwareitem=ob-40561-1
No luck, I still can't access the Sony DVD-RW disks.
Any suggestions?
Thank you.Try:
Removing Upper and Lower Filters
Step 1:
Click
Start > type "regedit" in the Start Search box, and then click "regedit" in the Programs list.
Locate, and then click the following registry subkey:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E965-E325-11CE-BFC1-08002BE10318}
right-click UpperFilters, and then click Delete.
right-click LowerFilters, and then click Delete.
Step 2:
Click
Start, Right click on Computer and go to Manage, then in Computer Management, click Device Manager
Click
the "+" next to DVD/CDROM Drives and Right Click and Uninstall the Driver
and check "Delete the driver software for this device" and click Uninstall
Restart and Test the Drive ... -
Startsap: Cannot write class prefetch list
Hello,
at startup from SAP on oracle 11.2.0.4 with a Java Only Netweaver 7.4 I have got a problem with the file "class_prefetch.lst".
Error message:
sidadm> startsap
Checking SID Database
setTrace: false
WARNING: Cannot write class prefetch list; classload performance may be affected
WARNING: java.io.FileNotFoundException: class_prefetch.lst (Permission denied)
WARNING: To fix the problem, remove the inaccessible file /oracle/SID/saptrace/diag/rdbms/sid/SID/trace/class_prefetch.lst
System is starting and working.
But I can't solve this problem. On other systems I don't find a file class_prefetch.lst in the mentioned path, so there is nothing to remove.
How can I solve this warning / problem?
Regards,
JuliaHi Julia,
Goto the directory /oracle/SID/saptrace/diag/rdbms/sid/SID/trace/
and run the command
touch class_prefetch.lst
hope it will help!
Also do check the permission of trace it should have a owner orasid and sapsys
With Regards
Ashutosh -
After a couple of years of trouble free operation, one of the lists in our SharePoint Foundation site suddenly (overnight) started presenting the error against Datasheet views on lists.
The view returns a large number of items when working correctly c.6K - however Throttling Settings have been adjusted accordingly some time ago without detrimental affect on SharePoint users and network in general. As admin and therefore throttling at 20k
items the error message still presents.
The view was working fine at 4:30pm Wednesday 27/3, but was returning the error at 8:30am the next morning. To my knowledge very few items (if any) had been added to the list between those times and no system level changes had been made (SharePoint,
SQL Express, or virtual Windows 2008R2 server).
The problem is most apparent on 2 lists in SharePoint. I've checked that the settings within SharePoint admin are set to deal with queries that should accommodate the
number of rows that are returned by the views associated with that list. It is still possible to create new items to the list and access data via 'standard views' that are presented with groups that are collapsed.
Items in Documents Libraries on other parts of SharePoint and within the same subsite can be accessed at what feels like pretty normal speed -though small query size
may mean the problem is masked to a large extent.
More Specific
The lists still open in Standard View -though much more slowly than was the case before the above error started to present.
List Details
Referrals Tracker (10,442 items) -the list was 10,420 something items on Wednesday when all was working fine.
LD Tracker (4,390 items)
Both lists have grown incrementally over the period of a couple of years rather than by adding a block of data to the list. Items are added/ updated one at a time using the associated
form or directly into cells within a datasheet view.
That it is also experienced against the smaller list suggests to me that the number of items in the Referrals Tracker is not the main factor here.
In attempting to resolve the issue I have managed to get datasheet views working that deliver 100 items and c2k items. Both views present much more slowly than we would normally expect.
Throttling Settings
List view limit - 12K items - has been this high for some time without damaging SharePoint performance across the company.
Actions Taken So Far (no improved performance seen)
The SharePoint Foundation WSS Content DB did was closer to the 10GB SQL Express limit earlier this month, however a clear down and rationalisation of versioning settings
was undertaken to ensure that did not become a problem going forward.
We did a Shrink on Thursday (the day the issue started presenting) to rationalise whitespace as all indicators were that this was where the problem may lie, but this has
not resolved the problem.
The WSS Content DB now sits at c5.5GB.
What I Need to Know
1) I'd like to understand what is causing the problem?
2) What the fix is? or,
3) How I might go about diagnosing the problem further to arrive at a fix.
With all the above, I'm part wondering if the problem is related to the virtual server or poss SQL Express related rather than being a 100% SharePoint issue?Hi
afearn,
More often this is related to columns which are not editable by user, some columns are not editable in datasheet view. Please check if there is any new column addition and then you started getting this issue.
Also datasheet view displays all items on same page so definitely it takes little long time then load in standard view.
Let us know your results, thanks
Regards,
Pratik Vyas | SharePoint Consultant |
http://sharepointpratik.blogspot.com
Posting is provided AS IS with no warranties, and confers no rights
Please remember to click Mark As Answer if a post solves your problem or
Vote As Helpful if it was useful. -
i am trying to connect to my friend's wifi, i have a very strong signal indicated on my ipad, but cannot connect to the internet. Yesterday i connected without any problem, can anybody tell me why i cannot connect today?
Some things to try first:
1. Turn Off your iPad. Then turn Off (disconnect power cord for 30 seconds or longer) the wireless router & then back On. Now boot your iPad. Hopefully it will see the WiFi.
2. Go to Settings>Wi-Fi and turn Off. Then while at Settings>Wi-Fi, turn back On and chose a Network.
3. Change the channel on your wireless router (Auto or Channel 6 is best). Instructions at http://macintoshhowto.com/advanced/how-to-get-a-good-range-on-your-wireless-netw ork.html
4. Go into your router security settings and change from WEP to WPA with AES.
5. Renew IP Address: (especially if you are droping internet connection)
• Launch Settings app
• Tap on Wi-Fi
• Tap on the blue arrow of the Wi-Fi network that you connect to from the list
• In the window that opens, tap on the Renew Lease button
6. Potential Quick Fixes When Your iPad Won’t Connect to Your Wifi Network
http://ipadinsight.com/ipad-tips-tricks/potential-quick-fixes-when-your-ipad-won t-connect-to-your-wifi-network/
~~~~~~~~~~~~~~~~~~~~~~~~~
iOS 6 Wifi Problems/Fixes
Wi-Fi Fix for iOS 6
https://discussions.apple.com/thread/4823738?tstart=240
How To: Workaround iPad Wi-Fi Issues
http://www.theipadfan.com/workaround-ipad-wifi-issues/
Another Fix For iOS 6 WiFi Problems
http://tabletcrunch.com/2012/10/27/fix-ios-6-wifi-problems-ssid/
Wifi Doesn't Connect After Waking From Sleep - Sometimes increasing screen brightness prevents the failure to reconnect after waking from sleep. According to Apple, “If brightness is at lowest level, increase it by moving the slider to the right and set auto brightness to off.”
Fix For iOS 6 WiFi Problems?
http://tabletcrunch.com/2012/09/27/fix-ios-6-wifi-problems/
Did iOS 6 Screw Your Wi-Fi? Here’s How to Fix It
http://gizmodo.com/5944761/does-ios-6-have-a-wi+fi-bug
How To Fix Wi-Fi Connectivity Issue After Upgrading To iOS 6
http://www.iphonehacks.com/2012/09/fix-wi-fi-connectivity-issue-after-upgrading- to-ios-6.html
iOS 6 iPad 3 wi-fi "connection fix" for netgear router
http://www.youtube.com/watch?v=XsWS4ha-dn0
Apple's iOS 6 Wi-Fi problems
http://www.zdnet.com/apples-ios-6-wi-fi-problems-linger-on-7000004799/
~~~~~~~~~~~~~~~~~~~~~~~
How to Boost Your Wi-Fi Signal
http://ipad.about.com/od/iPad_Troubleshooting/a/How-To-Boost-Your-Wi-Fi-Signal.h tm
Troubleshooting a Weak Wi-Fi Signal
http://ipad.about.com/od/iPad_Troubleshooting/a/Troubleshooting-A-Weak-Wi-Fi-Sig nal.htm
How to Fix a Poor Wi-Fi Signal on Your iPad
http://ipad.about.com/od/iPad_Troubleshooting/a/How-To-Fix-A-Poor-Wi-Fi-Signal-O n-Your-iPad.htm
iOS Troubleshooting Wi-Fi networks and connections http://support.apple.com/kb/TS1398
iPad: Issues connecting to Wi-Fi networks http://support.apple.com/kb/ts3304
WiFi Connecting/Troubleshooting http://www.apple.com/support/ipad/wifi/
How to Fix: My iPad Won't Connect to WiFi
http://ipad.about.com/od/iPad_Troubleshooting/ss/How-To-Fix-My-Ipad-Wont-Connect -To-Wi-Fi.htm
iOS: Connecting to the Internet http://support.apple.com/kb/HT1695
iOS: Recommended settings for Wi-Fi routers and access points http://support.apple.com/kb/HT4199
How to Quickly Fix iPad 3 Wi-Fi Reception Problems
http://osxdaily.com/2012/03/21/fix-new-ipad-3-wi-fi-reception-problems/
iPad Wi-Fi Problems: Comprehensive List of Fixes
http://appletoolbox.com/2010/04/ipad-wi-fi-problems-comprehensive-list-of-fixes/
Connect iPad to Wi-Fi (with troubleshooting info)
http://thehowto.wikidot.com/wifi-connect-ipad
Fix iPad Wifi Connection and Signal Issues http://www.youtube.com/watch?v=uwWtIG5jUxE
Fix Slow WiFi Issue https://discussions.apple.com/thread/2398063?start=60&tstart=0
How To Fix iPhone, iPad, iPod Touch Wi-Fi Connectivity Issue http://tinyurl.com/7nvxbmz
Unable to Connect After iOS Update - saw this solution on another post.
https://discussions.apple.com/thread/4010130
Note - When troubleshooting wifi connection problems, don't hold your iPad by hand. There have been a few reports that holding the iPad by hand, seems to attenuate the wifi signal.
Wi-Fi or Bluetooth settings grayed out or dim
http://support.apple.com/kb/TS1559
~~~~~~~~~~~~~~~
If any of the above solutions work, please post back what solved your problem. It will help others with the same problem.
Cheers, Tom
Maybe you are looking for
-
ClassCastException with Local Interfaces
Hi, My environment is WLS6.1SP3 (JDK131) DB2 7.1 Windows 2000 I am trying to access an entity bean through it's local interface from a stateless session bean. I can see the jndi tree contains both remote and local names. I get the correct local home
-
Installer thinks volume is case sensitve
I have two volumes on my mac. The system volume is case sensitive. I have a separate non-case sensitive volume from which I run CS4. I read the prerequisites before I purchased Illustrator and Photoshop CS5: "2GB of available hard-disk space for i
-
Install solaris via hyper terminal
Hi, I just got my new ultra 5 box and I was wondering what type of cable and hyper terminal settings I need in order to get this thing rolling. The type of cable I used before was a null modem cable db9F --> db9F. Then I read I needed db9 --> db25. S
-
My 4 year old macbook won't boot up. Stays in the same mode . Gray screen, apple logo and spinning wheel. Tried booting in safe mode but reverts back to same. Also tried resetting by removing battery. Nothing is working!! Any advise before I take
-
Colour difference issues on wide gamut Dell 3007wfp
Hey guys, I was wondering if someone could help with this problem that is driving me insane. I have tried a lot of possible solutions I found online, but nothing seems to work. The problem I've got is that when I save a JPEG in Photoshop through Save