Why Calling-Station-Id [31] attribute is "async"??
AS5350, IOS tried 12.4(4T) and 12.4(3b).
Cisco configured as dial-up server. When subscriber connects to some SPE via usual modem using radius authentication, his callback number may not be determined. Then I see in radius debug, that:
RADIUS: Calling-Station-Id [31] 7 "async"
When I used ios 12.3(3a) in that case i saw a blank field instead of "async".
When callback number is determined i see, i.e.:
RADIUS: Calling-Station-Id [31] 12 "3272779467"
What does "async" mean? Why exactly this? How to cut this async off?
Okay. Let it so. But in IOS 12.3(3a) there was a blank field. No "async" words.
Have you got any link to a document where it is said that "async" is a normal value of 31th attribute of RADIUS protocol?
Similar Messages
-
Why Calling-Station-Id [31] attribute has an "async" value??
AS5350, IOS tried 12.4(4T) and 12.4(3b).
Cisco configured as dial-up server. When subscriber connects to some SPE via usual modem using radius authentication, his callback number may not be determined. Then I see in radius debug, that:
RADIUS: Calling-Station-Id [31] 7 "async"
When I used ios 12.3(3a) in that case i saw a blank field instead of "async".
When callback number is determined i see, i.e.:
RADIUS: Calling-Station-Id [31] 12 "3272779467"
What does "async" mean? Why exactly this? How to cut this async off?It doesn't matter what RADIUS I am using. Records are sent by cisco to radius. And after IOS changing these records changed.
If you think it's too important, my radius is self-made by RASTEL company. That company says that curve records are seen from cisco... -
Called-Station-ID attribute and Cisco WLC code 7.4
Hello
I have 2 WLCs configured with 2 SSIDs (one is [WPA2][Auth(802.1X)] and the other is Web-Auth). One of the WLCs is remote and its WLANs are configured with mobility anchors pointing to the other WLC. Both WLCs are configured with Called-Station-ID set to AP Mac Address:SSID. I use this attribute on ACS to authenticate/authorize users based on what SSID they connect to.
This worked fine on WLC code 7.0 but on upgrading to 7.4 I started having some issues:
clients on the remote WLC can still authenticate on the [WPA2][Auth(802.1X)] SSID as the Called-Station-ID attribute is still AP Mac Address:SSID
clients on the remote WLC cannot authenticate on the Web-Auth SSID as the Called-Station-ID attribute now appears to be the Mac Address of the WLC anchor controller
WLC models are 5508 and current code is 7.4.110.0 (APs are AIR-LAP1142N-E-K9). Can anyone tell me why I'm seeing this behaviour on the Web-Auth SSID on the remote WLC?
Thanks
AndySince you have two AAA devices that's sending info, you can have your policy for the guest specifying the guest WLC. The SSID policy for the foreign WLC is only really needed if you have multiple 802.1x authentication from the foreign WLC and that's when you can use the regex to defiance the SSID per AD Group.
Look at a successful authentication from one of the guest users. Look at the detailed log and then in that log, you will see all the attributes being sent that the radius can send back to the WLC. You can use any of those attributes in your policies.
Called-Station-ID might not be sent like what your use to, because the foreign WLC has the access point the guest user associates to and tunnels it back to the anchor WLC. So this attribute might not be available. Things do change with code versions so you might just have to adjust your policies. I haven't played around with 7.0.x code with guest anchor and radius in a while, but I have in the past upgraded radius or the WLC and had to tweak my radius policies.
Sent from Cisco Technical Support iPhone App -
Why is VO getter not called for custom VO attributes?
Hi,
The requirement is to add couple of fields on a OAF page. Here is what I did:
- Created custom VO by extending the standard VO
- Added fields to the page via personalization.
The issue is that the values for the custom fields on the page were not showing up. On investigation, I found the VORowImpl getter getAttrInvokeAccessor was not being called for my custom attribute. I tried to check the difference between the attributes for which the getter was called and for which it was not called. I couldn't find any and I'm totally left clueless as to what determines the getter to be called.
Really appreciate your help to move ahead.
Thanks,
Anil
Edited by: AnilMenta on Mar 5, 2013 10:40 AMHi Anil,
First of all, Could you please make sure that Extended VO is being picked up during the execution of the page . Ensure that extended VO is substituted
If the VO is substituted then try Steps below
1. Enable the diagnostics .. show log on page statements
2. Search for your custom VO name .
If you can find your extended VO here, then substitution is right and page is picking up the extended VO.
Thanks -
RADIUS packet-id not incrementing, called-station-id missing
I am running v1.3.5.58 on an SG300-20. I am attempting to use a Network Access Control (NAC) solution, which involves a RADIUS proxy. It is getting confused by two odd behaviors of the SG300 when attempting EAP-PEAP-MSCHAPv2 authentication.
1. The SG300 does not properly increment the "Packet Identifier" bits as it progresses through the RADIUS negotiation. The packet identifier is always 0x00.
2. The SG300 does not properly set the "Called-Station-ID" Attribute-Value-Pair (AVP). Instead, it is left blank.
Although freeradius is able to find away around these problems, the NAC RADIUS proxy cannot. Have I done something in the config to cause this to happen (see below)? Is this a known bug? Does it have a workaround? Will our hero save defeat the villain and save the day? ;-)
config-file-header
ausoff-sw-test1
v1.3.5.58 / R750_NIK_1_35_647_358
CLI v1.0
set system mode switch
file SSD indicator encrypted
ssd-control-start
ssd config
ssd file passphrase control unrestricted
no ssd file integrity control
ssd-control-end cb0a3fdb1f3a1af4e4430033719968c0
spanning-tree priority 40960
port jumbo-frame
vlan database
vlan 2-3,12,14,16,99,600,1000,1010
exit
voice vlan id 1010
voice vlan oui-table add 0001e3 Siemens_AG_phone________
voice vlan oui-table add 00036b Cisco_phone_____________
voice vlan oui-table add 00096e Avaya___________________
voice vlan oui-table add 000fe2 H3C_Aolynk______________
voice vlan oui-table add 0060b9 Philips_and_NEC_AG_phone
voice vlan oui-table add 00d01e Pingtel_phone___________
voice vlan oui-table add 00e075 Polycom/Veritel_phone___
voice vlan oui-table add 00e0bb 3Com_phone______________
dot1x system-auth-control
dot1x traps authentication failure 802.1x
dot1x traps authentication success 802.1x
hostname ausoff-sw-test1
line console
exec-timeout 30
exit
line ssh
exec-timeout 30
exit
line telnet
exec-timeout 30
exit
encrypted radius-server key C1TbrSasKDSDdUoOG2XrohFMsM5tVmu+3QyTwkiVKMI=
encrypted radius-server host 172.18.14.114 key C1TbrSasKDSDdUoOG2XrohFMsM5tVmu+3QyTwkiVKMI= priority 1 usage dot1.x
radius-server host 172.18.58.58 usage dot1.x
radius-server timeout 10
logging host 172.18.58.50
aaa accounting dot1x start-stop group radius
enable password level 15 encrypted
username nac password encrypted *** privilege 15
username admin password encrypted *** privilege 15
username cisco password encrypted *** privilege 15
username readonly password encrypted ***
ip ssh server
ip ssh password-auth
snmp-server server
snmp-server engineID local 800000090308cc68423f4d
snmp-server location "***"
snmp-server contact "***"
snmp-server community *** rw 172.18.58.58 view DefaultSuper
snmp-server community *** rw 172.18.14.105 view DefaultSuper
snmp-server host 172.18.58.58 traps version 2c nac
snmp-server host 172.18.58.58 version 3 auth nac
snmp-server group nac v3 auth notify DefaultSuper read DefaultSuper write DefaultSuper
snmp-server group SNMPSuperuser v3 auth notify DefaultSuper read DefaultSuper write DefaultSuper
encrypted snmp-server user nac nac v3 auth sha ***
encrypted snmp-server user ManageEngines SNMPSuperuser v3 auth sha ***
ip http timeout-policy 1800
clock timezone " " -6
sntp anycast client enable ipv4
sntp broadcast client enable ipv4
clock source sntp
sntp unicast client enable
sntp unicast client poll
sntp server 0.pool.ntp.org poll
sntp server 1.pool.ntp.org poll
ip domain name blah.net
ip name-server 172.18.19.232
ip domain timeout 2
ip domain retry 1
ip telnet server
interface vlan 2
name NACRegistration
interface vlan 3
name NACIsolation
interface vlan 12
name Users
interface vlan 14
name Dev
interface vlan 16
name LAN
interface vlan 99
name Mgmt
ip address 172.18.58.61 255.255.255.128
interface vlan 600
name "Core Test"
dot1x guest-vlan
interface vlan 1000
name Guest
interface vlan 1010
name Voice
interface gigabitethernet1
dot1x host-mode multi-sessions
spanning-tree disable
spanning-tree bpduguard enable
switchport mode access
switchport access vlan 600
interface gigabitethernet2
dot1x host-mode multi-sessions
spanning-tree disable
spanning-tree bpduguard enable
switchport mode access
switchport access vlan 600
interface gigabitethernet3
dot1x host-mode multi-sessions
spanning-tree disable
spanning-tree bpduguard enable
switchport mode access
switchport access vlan 600
interface gigabitethernet4
dot1x host-mode multi-sessions
spanning-tree disable
spanning-tree bpduguard enable
switchport mode access
switchport access vlan 600
interface gigabitethernet5
dot1x host-mode multi-sessions
spanning-tree disable
spanning-tree bpduguard enable
switchport mode access
switchport access vlan 600
interface gigabitethernet6
dot1x host-mode multi-sessions
spanning-tree disable
spanning-tree bpduguard enable
switchport mode access
switchport access vlan 600
interface gigabitethernet7
dot1x host-mode multi-sessions
spanning-tree disable
spanning-tree bpduguard enable
switchport mode access
switchport access vlan 600
interface gigabitethernet8
dot1x host-mode multi-sessions
spanning-tree disable
spanning-tree bpduguard enable
switchport mode access
switchport access vlan 600
interface gigabitethernet9
dot1x host-mode single-host
dot1x violation-mode protect trap 10
dot1x guest-vlan enable
dot1x radius-attributes vlan static
dot1x port-control auto
spanning-tree disable
spanning-tree bpduguard enable
switchport mode access
interface gigabitethernet10
dot1x host-mode multi-sessions
dot1x guest-vlan enable
dot1x radius-attributes vlan static
dot1x port-control auto
spanning-tree disable
spanning-tree bpduguard enable
switchport mode access
interface gigabitethernet11
dot1x host-mode multi-sessions
dot1x guest-vlan enable
dot1x radius-attributes vlan static
dot1x port-control auto
spanning-tree disable
spanning-tree bpduguard enable
switchport mode access
interface gigabitethernet12
dot1x host-mode multi-sessions
dot1x guest-vlan enable
dot1x radius-attributes vlan static
dot1x port-control auto
spanning-tree disable
spanning-tree bpduguard enable
switchport mode access
interface gigabitethernet13
dot1x host-mode multi-sessions
dot1x guest-vlan enable
dot1x radius-attributes vlan static
dot1x port-control auto
spanning-tree disable
spanning-tree bpduguard enable
switchport mode access
interface gigabitethernet14
dot1x host-mode multi-sessions
dot1x guest-vlan enable
dot1x radius-attributes vlan static
dot1x port-control auto
spanning-tree disable
spanning-tree bpduguard enable
switchport mode access
interface gigabitethernet15
dot1x host-mode multi-sessions
dot1x guest-vlan enable
dot1x radius-attributes vlan static
dot1x port-control auto
spanning-tree disable
spanning-tree bpduguard enable
switchport mode access
interface gigabitethernet16
dot1x host-mode multi-sessions
dot1x guest-vlan enable
dot1x radius-attributes vlan static
dot1x port-control auto
spanning-tree disable
spanning-tree bpduguard enable
switchport mode access
interface gigabitethernet17
dot1x host-mode multi-sessions
no snmp trap link-status
port monitor GigabitEthernet 20
spanning-tree disable
spanning-tree bpduguard enable
switchport mode general
switchport general acceptable-frame-type untagged-only
switchport forbidden default-vlan
interface gigabitethernet18
dot1x host-mode multi-sessions
dot1x guest-vlan enable
dot1x radius-attributes vlan static
dot1x port-control auto
spanning-tree disable
spanning-tree bpduguard enable
switchport mode access
interface gigabitethernet19
switchport trunk native vlan 600
interface gigabitethernet20
spanning-tree link-type point-to-point
switchport trunk allowed vlan add 2-3,12,14,16,99,600,1000,1010
macro description switch
!next command is internal.
macro auto smartport dynamic_type switch
exit
ip default-gateway 172.18.58.1Thank you for your response, Tom. I have performed packet captures associated with this issue, and they show that the Called-Station-ID AVP is not sent with the RADIUS packets, from the SG300. There is not an issue with capitalization, the value is simply not provided at all. Here is an example of a tcpdump decode of such a packet. Please note the missing attribute:
15:48:01.843296 IP (tos 0x0, ttl 64, id 59875, offset 0, flags [none], proto UDP (17), length 142)
172.18.58.61.49205 > 172.18.58.58.1812: [udp sum ok] RADIUS, length: 114
Access Request (1), id: 0x00, Authenticator: 390000003f2000009e3f0000eb670000
NAS IP Address Attribute (4), length: 6, Value: 172.18.58.61
0x0000: ac12 3a3d
NAS Port Type Attribute (61), length: 6, Value: Ethernet
0x0000: 0000 000f
NAS Port Attribute (5), length: 6, Value: 57
0x0000: 0000 0039
Username Attribute (1), length: 12, Value: SSO\dalewl
0x0000: 5353 4f5c 6461 6c65 776c
Accounting Session ID Attribute (44), length: 10, Value: 050000DF
0x0000: 3035 3030 3030 4446
Calling Station Attribute (31), length: 19, Value: E0-DB-55-B3-1D-5C
0x0000: 4530 2d44 422d 3535 2d42 332d 3144 2d35
0x0010: 43
EAP Message Attribute (79), length: 17, Value: ..
0x0000: 0201 000f 0153 534f 5c64 616c 6577 6c
Message Authentication Attribute (80), length: 18, Value: ......R..1...EU.
0x0000: bed3 b19e c70f 52e0 ec31 afcb d545 55ad -
Radius NMAS 2 Calling station Id
Hello,
can the Novell RADIUS server be set up to provide authentication based on
MAC address and/or Calling - Station -ID ?
Currently running system 6.5sp2 servers and NMAS with radius.
Thanks
MichaelThe called-station-id and calling-station-id attributes are generally
referred to as "request attributes" because the NAS provides them in the
access-request packet. Unfortunately, the current version of RADIUS does not
support request attributes. When you configure attributes for Novell RADIUS,
you may only configure attributes for the access-accept packet.
>>> <[email protected]> 10/07/04 7:08 AM >>>
Hello,
can the Novell RADIUS server be set up to provide authentication based on
MAC address and/or Calling - Station -ID ?
Currently running system 6.5sp2 servers and NMAS with radius.
Thanks
Michael -
Cisco 3640, PPPoE, MAC in Calling-Station-Id
Hi ALL!
Almighty ALL, please tell me which IOS on 3640 can send MAC address in Calling-Station-Id when user connecting via РРРоЕ? I tried command "radius-server attribute 31 mac format unformatted" with no luсk :(
Thanks!You can try using the code 12.3(9.9) on a 3640. You could use the radius-server attribute nas-port format command to configure the NAS-Port field for the PPP extended format. And the called-station-id should be the mac of the AP.
-
Calling-station-id has nothing
I am using cisco 7206 VXR as pptp server with radius aaa, everithing work exept that router doesn't send to radius attribute Calling-station-id that should contain IP adress of connecting client (I need that for authorization check).
I'm using Cisco IOS Software, 7200 Software (C7200P-ADVENTERPRISEK9-M), Version 12.4(11)T2, RELEASE SOFTWARE (fc4)Thanks, but that doesn't help.
By the way, i'm not needed exacly Calling-station-id. I can accept any posobility to send client IP to radius.
What can I try more? -
Hi
cisco 3550/3750 switch is called catalyst ?why called catalyst ,its only name or others .
any idea just for to know.
thanks
BiplobHi,
I heard it happens even before that. The acquisition of kalpana happened by Oct. 24, 1994. Catalyst is the first product resulting from technology Cisco obtained through the September 1993 acquisition of Crescendo Communications Inc., now called Cisco's Workgroup Business Unit.
But as he said, i don't think that there is no particular significance.
Rgs -
If an entity bean (CMP v2) has its transaction attrib "supports", why
when a client (ejb/servlet/jsp) calls its business methods does WLS
call ejbLoad() before every method call? Note that the calls do not
occur inside a transaction!
This is not intuitive to me. I would think that ejbLoad() would be
called once when the bean is activated and then all business methods would
access that data.
Note that if you put the entity bean behind a session bean with a
transaction attrib "Required", then the ejbLoad() gets called once no
matter how many business methods are called from the session bean.
This is (obivously) correct.
Why is this relevant? The latest java petstore demo essentially calls
EJBLocal's from jsp (via taglib's) - I guess no different from WLS
EJB to taglib product - where the fine grained getter methods are
called. From what I gather, this means that every one of the jsp
get methods results in a database read! This can't be right!
What am I missing? As above, if the entity bean has "supports"
and is called from a jsp, it appears that ejbLoad()/ejbStore()
would be called for every jsp taglib invocation.
Glenn"Glenn R. Kronschnabl" wrote:
Rob,
Thanks for your reply. This implies that even EJBLocals with fine
grained getter methods should never be used outside a tx scope.Yes, unless you are using Read-Only entity beans which cache data for longer
periods of time.
Even
though you bypass the RMI semantics, you'll be killed by the local tx.
Which to me says that using EJB's from JSP (even via tags) is a bad
idea because each getter method will result in a database read/write,
(unless you go with a readonly EJB as you stated).
Accessing transactional entity beans via tags is probably a bit off. You
could start the tx in the JSP or the tag library, but I don't really like
that pattern much. I prefer making the tags more coarse-grained and having
the tags talk to a stateless session bean which in turn talks to the entity
beans.
>
Unfortunately, I've been seeing some threads on the net advocating
using EJBLocals with tx=supports because one of the most common
patterns has session beans (where you can specify your desired tx)
in front of entity beans (so you're set methods are protected via
the session bean tx),RIght, I think Required or Mandatory is a better choice for the entity beans
here.
but then you can use the EJBLocal (via tags)
on a JSP page (no tx) to view the data via fine grained getter
methods.Other than the performance issues, I dislike this because it exposes the
entity bean directly to the JSP. If I have to go through an interface (the
session bean) to access the entity bean, then I shouldn't have another route
to access the entity bean directly.
-- Rob
>
As you state, this is a disaster because each getter method
will run in a local tx, requiring a database read/write. Oouch!
Glenn
On Thu, 06 Dec 2001 17:08:07 -0600, Rob Woollen wrote:
First off, I wouldn't recommend that you ever run any EJB with the
'supports' transaction attribute. If you want transactional behavior
use Required, RequiresNew, or Mandatory. If you want to run in an
unspecified tx, use NotSupported or Never.
WLS runs entity beans with an unspecified tx in their own local tx.
That's why you see the reads and writes on the method call boundary.
Your scheme of only reading when the bean is activated could make the
bean's data out of sync with the underlying database. That's acceptable
in many cases, and that's why we have the Read-Only entity bean option.
It gives you exactly what you'd like.
-- Rob
"Glenn R. Kronschnabl" wrote:
If an entity bean (CMP v2) has its transaction attrib "supports", why
when a client (ejb/servlet/jsp) calls its business methods does WLS
call ejbLoad() before every method call? Note that the calls do
not occur inside a transaction!
This is not intuitive to me. I would think that ejbLoad() would be
called once when the bean is activated and then all business methods
would access that data.
Note that if you put the entity bean behind a session bean with a
transaction attrib "Required", then the ejbLoad() gets called once no
matter how many business methods are called from the session bean. This
is (obivously) correct.
Why is this relevant? The latest java petstore demo essentially calls
EJBLocal's from jsp (via taglib's) - I guess no different from WLS EJB
to taglib product - where the fine grained getter methods are called.
From what I gather, this means that every one of the jsp get methods
results in a database read! This can't be right! What am I missing? As
above, if the entity bean has "supports" and is called from a jsp, it
appears that ejbLoad()/ejbStore() would be called for every jsp taglib
invocation.
Glenn
AVAILABLE NOW!: Building J2EE Applications & BEA WebLogic Server
by Michael Girdley, Rob Woollen, and Sandra Emerson
http://learnWebLogic.com
[att1.html] -
Why call me when i am 9 days late on my monthly payment
i dont understand why vwerizon calls me 4 times a day when i am a couple of days late on my monthly bill considering i am paid a month in advance to start with have been a customer for almost 10 years and have maintained my account not thousands behind . then have the rep get nasty with me on the phone when i tell her i will make payment in morning . now my real question verizon didnt have a problem taking my money in advance for 6 months when i had a phone that did not work properly that i purchased from them they directed me to the manufacturer due to programing problems that to my knowledge still havent been fixed if you know the phones are problems why sell them and make someonepay for a service or servises that are not working properly. for 200.00 dollars a month i would think you people would try harder to satisfy your customers even the ones that pay late considering you charge late fees on advance billing you are trying to push me to at&t
Why call you when you are 9 days late on your monthly payment?
Because you are 9 days late with your monthly payment!!!!
You signed a contract to pay your bill by a certain date and now you are not keeping up with your side of the agreement!!!
Good luck though with however you decide to handle your situation. -
Why calls to Ukraine via Skype more expensive than...
Hello there!
I often call to Ukraine from Canada to stationary and mobile phones. I would like to use Skype. But the phone companies offers a lowest rate than Skype. Why? Do you plan to change something?
Now my phone calls to stationary phones cost 6 cents per minute. To mobile phones 9 cents per minute. No any extra fees.
Please take this into consideration.Reasons:
Australian import duties
Australian taxes on foreign imports
Australian VAT
Got complaints? Talk to your politicians. Apple has nothing to do with it. -
How to call used WD Comp attributes
Hi experts,
please help me.
dc1:
view 1;
user submits the data
dc2:
view 2
here i have to call the data submitted by the user in dc1,view1.
i have made the required attributes of dc1 available in interface controller.
and added the same interface controller under used WD copm of dc2.
and now i need the code for calling the attributes in the view 2 of dc2.
can we directly call them or we have make any context mapping ?
thanks in advance.Hi,
i am not understand you are req. you are asking communicate between two DC's
or
Comminicate between two Components with in DC.. Give me full information..
any way..Please look at this documents
[this is having communication between two DCu2019s|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0ae5f90-1679-2c10-4183-8c64cf932088?QuickLink=index&overridelayout=true] and [ this is having communicate between two Components with in DC|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60132577-7801-2b10-c9b1-b13b2f78f23b]
Hope this is help full for u
Regards
Vijay
Edited by: VijaySAPEP on Nov 7, 2011 2:13 PM
Edited by: VijaySAPEP on Nov 7, 2011 2:15 PM -
OutputText : why both bind and value attribute and other gripes
Hi
gripe1
I have started using creator and I'm a bit confused as to why creator insists on the binding attribute being in place to link the outputText field to the default managed bean -
like most of us I want to set the value via a resource bundle. ( as shown blelow). If I delete the binding atttribute then outputText Field doesn't get displayed in the Visual Design tab. aaaaaaah!
<h:outputText binding="#{DemographicInformation.nameLabel}" id="nameLabel" value="#{bundle.userName_label}"/>
gripe2
When you declare a resource bundle; either through editing the source directly or dragging from the advanced palette you can't seem to be able place the contained "names" in this the individual outputText field values via value property->bind to object->select from property file. i.e you do don't see to be able to expand the f: loadBundle. This results in a lot of tedious typing
which I thought this tool was all about preventing!
Regards
DanielRe gripe 1:
Why do you want to remove the binding attribute? The binding attribute has nothing to do with the value - you can certainly display values from resource files without removing the binding attribute. One of the online tutorials (the Sign On example) shows a Creator project using bundle files.
Re gripe 2:
The designtime experience for using bundle files in the web app has been improved in the next version of Creator.
-- Tor
http://blogs.sun.com/tor -
Why calling repaint() erases the screen first?
Hi
I have created my component bitMapPlot (bitMapPlot extends JComponent), where I specify paint(Graphics g)
method to draw lines, pixels, etc. My paint methods does NOT erase the screen.
When I call repaint() method from my Frame (which extends JFrame), the whole contents of my bitMapPlot component gets erased first, before a new set of lines,pixels are rendered.
According to SWING manuals, this should not happen!
Any ideas why repaint in JFrame or JComponent erases the screen first?
Thanks
Gregory MiecznikIf you call the 'repaint()' method, it first calls the update( Graphics g ) method and then call the paint( Graphics g ) method. And because the update( Graphics g ) method clears the Graphics object first, you'll see some flickerings, etc.
So, I think you should put the painting routines (currently in paint( Graphics g ) method) into paintComponent( Graphics g ) method to avoid it. You will get some better output because the paintComponent( Graphics g ) method paints on 'light-weight' component and is double-buffered basically.
Maybe you are looking for
-
Unable to raise password expiry warning exception in OID using JAVA API
Hi, We are maintaing the user information for our application in OID(9.2). During logon, it is required that a warning is given to the user according to the value set in "Password Expiration Warning" parameter. A pl/sql program (using DBMS_LDAP/DBMS_
-
i have below situation Client has many discount payment terms.and client does not want to take discount, if theyare running paymen program in last two weeks of each quarter end. as there are four quarters inthe year and at the end of each quarter, in
-
A website doesn't display properly on iMac
Hi I'm stumped. I own both an iMac and a MacBook. Lately I've been trying to use www.theknot.com and while the website does work, it displays totally wrong on my iMac (the middle section is sent way down the page or in a ridiculous way (see pic) I lo
-
Looking for a good configuration for SoundBlaster X-Fi
This really is painful to find a good setting to enjoy gaming.Anyone that can link a good configuration to start me off that they personally feel takes full advantage in deli'vering a great experience for gaming. I really appreciate any help.
-
Broken Link Icons (No Graphics) in Store/MiniStore Pane
Please suggest solutions! Before activating Mini Store pane I had message in the pane that said I needed QuickTime and a LZZ decompressor to use Mini Store. I have the latest QuickTime but don't know what the decompressor is. After clicking on the Mi