Replacing JPanels in applet
Hi,
I've made an applet which gets its content pane and adds a panel (lets say panel1).
So, the code is something like this:
public class MyApplet extends JApplet
public void init()
content_pane = getContentPane();
content_pane.add( panel1, "Center" );
Now, what I want to do is when a button on panel1 is clicked, I want panel 1 to be replaced by panel2. The listener for the button would be this applet class. So, the code would be:
public class MyApplet extends JApplet implements ActionListener
Panel1 p1;
Panel2 p2;
public void init()
content_pane = getContentPane();
p1 = new Panel1();
content_pane.add( p1, "Center" );
public void actionPerformed( ActionEvent e )
content_pane.remove( p1 );
p2 = new Panel2();
content_pane.add( p2, "Center" );
The problem is, this does not work. Panel1 and Panel2 are two totally different looking panels. On the click of the button, Panel is supposed to disappear and be replaced with Panel2. However, nothing happens.
Could someone please let me know how I can fix this problem.
Thanks.
By the way, how can I format my code on these forums?
Similar Messages
-
Search and replace in a applet
Hello,
I have a string "jds" that looks like this
http://ns2.taproot.bz/thumbs2/1.jpg
I have been using this to replace "thumbs2" with "big" and create a url
URL my_thumb = new URL(jds.replaceAll("thumbs2", "big"));however now that im making this code into a applet, this no longer
works. Could some one please suggest a way around this.
Thanks,
jdreplaceAll method in String is available only from 1.4 onwards.
http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html#replaceAll(java.lang.String, java.lang.String).
You could use a method to search and replace a String with another...
public String replace (String source, String search, String replace) {
StringBuffer result = new StringBuffer();
int start = 0;
int index = 0;
while ((index = source.indexOf(search, start)) >= 0) {
result.append(source.substring(start, index));
result.append(replace);
start = index + search.length();
result.append(source.substring(start));
return result.toString();
} -
Hi,
What technology shoud we use to replace all the Java Applets in our MII applications ¡? . The reason is that java applets slows them down , sometimes the application screen ( GUI ) seems like not responding & when the end user is proactive changes his computer java version to the latest which does create other kind of problems to the MII applications .
Furthermore, we want our MII applications running on plataforms which do not support java applets ( ipads for example ) . I guess that our next move is to use AJAX, JQUERY & XSLT technologies instead of java applets, but still we would like to make sure that there is no another way .
Thanks in advance ,
Note : We are running a MII 12.2.3 build 167 sp 5 with a 7.11 CW NW versionHi Fernando
The best UI technology providing rich UI is HTML5 currently which is supported on all devices and browsers (IE9 is minimum) but with varying degrees of support with Chrome the best but others are not too far behind.
The easiest way to replace the Applets and use HTML5 rendering is to upgrade to MII 14.0 SP4 and use the SAP UI5 based i5Charts, i5Grid.
If you cannot upgrade to MII 14.0 or higher (15.0 has some cool features as well) you may do this on your own where you may use one of several HTML5 based charting libraries like D3, High Charts etc but the work will be more for you as MII 12.2 does not have JSON support (available with MII 14.0 again) and you will have to work with XML or write custom code to convert XML to JSON.
So my suggestion would be upgrade and use i5 Charts as these look much better, are faster and provide almost the same support as the applets. Also these charts would be developed in the future in MII but the applets would remain mostly in maintenance mode. This means new features would, most probably, be only added to the HTML5 charts in MII.
Best Regards
Partha -
First GUI help needed - replace JPanel?
Hello guys,
I'm trying to develop my first GUI and I'm using Netbeans to create the GUI
here's an image of what I have: http://www.imagebullet.com/i/Sv3FrBmURS6V.gif
the central part of the GUI is a JPanel (the big part that contains "welcome to ...")
now I'd like to create a new JPanel with Netbeans to replace the current one when I click store new password from the tasks menu (see the image)
how can I do it? is this the correct approach at developing a GUI? or is there something I'm completely missing?
Edited by: Icecube on Mar 8, 2008 6:35 AMIcecube wrote:
I'm trying to develop my first GUI and I'm using Netbeans to create the GUIThat may be your first mistake. The more you offload code creation to another program (the NetBeans GUI builder), the less you understand about the concepts. If you really want to learn about coding a GUI, learn to do it without code generation software by going through the Sun Swing tutorials.
now I'd like to create a new JPanel with Netbeans to replace the current one when I click store new password from the tasks menu (see the image)
how can I do it? is this the correct approach at developing a GUI? or is there something I'm completely missing?You could use a CardLayout as one way to solve this. Again, check out the tutorials for this (you can search the tutorial), and also check the API. Good luck. -
Find and replace with multiple files and with a watch folder
I am trying to create a watch folder that uses red_menace script to:
1. Have a folder that receives multiple xml files that run the script one by one.
2. then move the files to an output folder.
I tried modifying the set TheFIle to choose file -- the original text file to:
with multiple selections allowed
But that doesn't seem to work. I know i'm missing a step. Any help is much appreciated!
Thanks!
The way i'd like to setup things is having an input folder on the desktop (or just have the application on the desktop and I can drag the files onto it), and let it do it's thing. Once it's done have it export the xml files into an output folder.
Here's what i got so far:
on open
set TheFIle to choose file -- the original text file
set TheFolder to ("Macintosh HD:Users:user1:Desktop:out") -- the folder for the output file
set TheName to (GetUniqueName for TheFIle from TheFolder) -- the name for the output file
set TheText to read TheFIle -- get the text to edit
set Originals to {"KPCALDATE", "KPCALEVENT", "KPCALDAY", "KPCALBODY", "obituaries name", "" & return & "</cstyle></pstyle>" & return & "<pstyle name=\"obituaries text\"><cstyle>", "<pstyle name=\"obituaries text\"><cstyle name=\"Graphics Bold leadin\" font=\"ADV AGBook-Medium 2\">", "<pstyle name=\"Recipe Ingredients\"><cstyle>", " .com", " .net", " .org", " .edu", "www .", "www. ", "Ho- nolulu", "<pstyle name=\"kicker 12\"><cstyle allcaps=\"1\">fashion news</cstyle><cstyle allcaps=\"1\">" & return & "</cstyle></pstyle>" & return & "", "<component name=\"Headline 1\" type=\"Headline\">" & return & "<header>" & return & "<field name=\"Component name\" type=\"string\" value=\"Headline 1\"/>" & return & "<field name=\"Component type\" type=\"popup\" value=\"Headline\"/>" & return & "</header>" & return & "<body>" & return & "<pstyle name=\"hed STANDARD 36\"><cstyle>", "<pstyle name=\"obituaries text\"><cstyle allcaps=\"1\">", "<pstyle name=\"obituaries text\"><cstyle name=\"Graphics Bold leadin\">", "<pstyle name=\"tagline\"><cstyle>-", "-", "
Per serving:", "<pstyle name=\"Titlebar - mini, red\"><cstyle allcaps=\"1\">NATION & World </cstyle><cstyle allcaps=\"1\">Report</cstyle><cstyle allcaps=\"1\">" & return & "</cstyle></pstyle>" & return & "", "</cstyle></pstyle>"} -- the terms that can be replaced
set Replacements to {"subhed", "subhed", "subhed", "Normal", "obituaries text", ", ", "<pstyle name=\"obituaries text\"><cstyle name=\"Graphics Bold leadin\" font=\"ADV AGBook-Medium 2\">", "<pstyle name=\"Recipe Ingredients\"><cstyle>
", ".com", ".net", ".org", ".edu", "www.", "www.", "Honolulu", "", "<component name=\"Headline1\" type=\"Headline\">" & return & "<header>" & return & "<field name=\"Component name\" type=\"string\" value=\"Headline1\"/>" & return & "<field name=\"Component type\" type=\"popup\" value=\"Headline\"/>" & return & "</header>" & return & "<body>" & return & "<pstyle name=\"hed STANDARD 27\"><cstyle>", "<pstyle name=\"obituaries text\"><cstyle allcaps=\"1\">", "<pstyle name=\"obituaries text\"><cstyle name=\"Graphics Bold leadin\">", "<pstyle name=\"tagline\"><cstyle>", " ", "
Per serving:", "","" & return & "</cstyle></pstyle>"} -- the replacement terms
repeat with AnItem from 1 to count Originals
set TheText to (replaceText of TheText from (item AnItem of Originals) to (item AnItem of Replacements))
end repeat
try -- write a new output file
tell application "Finder" to make new file at TheFolder with properties {name:TheName}
set OpenFile to open for access (result as alias) with write permission
write TheText to OpenFile starting at eof
close access OpenFile
on error errmess
try
log errmess
close access OpenFile
end try
end try
end open
to GetUniqueName for SomeFile from SomeFolder
check if SomeFile exists in SomeFolder, creating a new unique name if needed
parameters - SomeFile [mixed]: a source file path
SomeFolder [mixed]: a folder to check
returns [text]: a unique file name and extension
set {Counter, Divider} to {"00", "_"}
-- get the name and extension
set {name:TheName, name extension:TheExtension} to info for file (SomeFile as text)
if TheExtension is missing value then set TheExtension to ""
set TheName to text 1 thru -((count TheExtension) + 2) of TheName
set NewName to TheName & "." & TheExtension
tell application "System Events" to tell (get name of files of folder (SomeFolder as text))
repeat while it contains NewName
set Counter to text 2 thru -1 of ((100 + Counter + 1) as text) -- leading zero
set NewName to TheName & Divider & Counter & "." & TheExtension
end repeat
end tell
return NewName
end GetUniqueName
to EditItems of SomeItems given Title:TheTitle, Prompt:ThePrompt
displays a dialog for multiple item edit (note that a return is used between each edit item)
for each of the items in SomeItems, a line containing it's text is placed in the edit box
the number of items returned are padded or truncated to match the number of items in SomeItems
parameters - SomeItems [list]: a list of text items to edit
TheTitle [boolean/text]: use a default or the given dialog title
ThePrompt [boolean/text]: use a default or the given prompt text
returns [list]: a list of the edited items, or {} if error
set {TheItems, TheInput, TheCount} to {{}, {}, (count SomeItems)}
if TheCount is less than 1 then return {} -- error
if ThePrompt is in {true, false} then -- "with" or "without" Prompt
if ThePrompt then
set ThePrompt to "Edit the following items:" & return -- default
else
set ThePrompt to ""
end if
else -- fix up the given prompt a little
set ThePrompt to ThePrompt & return
end if
if TheTitle is in {true, false} then if TheTitle then -- "with" or "without" Title
set TheTitle to "Multiple Edit Dialog" -- default
else
set TheTitle to ""
end if
set {TempTID, AppleScript's text item delimiters} to {AppleScript's text item delimiters, return}
set {SomeItems, AppleScript's text item delimiters} to {SomeItems as text, TempTID}
set TheInput to paragraphs of text returned of (display dialog ThePrompt with title TheTitle default answer SomeItems)
repeat with AnItem from 1 to TheCount -- pad/truncate entered items
try
set the end of TheItems to (item AnItem of TheInput)
on error
set the end of TheItems to ""
end try
end repeat
return TheItems
end EditItems
to replaceText of SomeText from OldItem to NewItem
replace all occurances of OldItem with NewItem
parameters - SomeText [text]: the text containing the item(s) to change
OldItem [text]: the item to be replaced
NewItem [text]: the item to replace with
returns [text]: the text with the item(s) replaced
set SomeText to SomeText as Unicode text -- TID's are case insensitive with Unicode text
set {TempTID, AppleScript's text item delimiters} to {AppleScript's text item delimiters, OldItem}
set {ItemList, AppleScript's text item delimiters} to {text items of SomeText, NewItem}
set {SomeText, AppleScript's text item delimiters} to {ItemList as text, TempTID}
return SomeText
end replaceText
Message was edited by: gamebreakersWhen you use the open or adding folder items to handlers, you need to add the parameters for the file items passed to them.
I'll go ahead and post the applet/droplet version of my original script from the previous topic for reference:
<pre style="
font-family: Monaco, 'Courier New', Courier, monospace;
font-size: 10px;
margin: 0px;
padding: 5px;
border: 1px solid #000000;
width: 720px; height: 340px;
color: #000000;
background-color: #FFEE80;
overflow: auto;"
title="this text can be pasted into the Script Editor">
-- search and replace multiple items applet/droplet/folder action
-- the terms to replace - edit as needed
property EditableItems : {¬
"one", ¬
"two", ¬
"three", ¬
"four", ¬
"five", ¬
"six", ¬
"seven", ¬
"eight", ¬
"nine", ¬
"ten", ¬
"eleven", ¬
"twelve", ¬
"thirteen", ¬
"fourteen", ¬
"fifteen", ¬
"sixteen", ¬
"seventeen", ¬
"eighteen", ¬
"nineteen", ¬
"twenty"}
-- the folder for the output file(s) - change as needed
property TheFolder : (path to desktop)
property LastEditItems : EditableItems
on run
the applet/droplet was double-clicked
open (choose file with multiple selections allowed)
end run
on open TheItems
items were dropped onto the applet/droplet
parameters - TheItems [list]: a list of the items (aliases) dropped
returns nothing
repeat with AnItem in TheItems
ReplaceMultipleItems from AnItem
end repeat
end open
on adding folder items to this_folder after receiving these_items
folder action - items were added to a folder
parameters - this_folder [alias]: the folder added to
these_items [list]: a list if items (aliases) added
returns nothing
repeat with AnItem in these_items
ReplaceMultipleItems from AnItem
end repeat
end adding folder items to
to ReplaceMultipleItems from SomeFile
replace multiple text items in SomeFile
parameters - SomeFile [alias]: the file to replace items in
returns nothing
set TheName to (GetUniqueName for SomeFile from TheFolder) -- the name for the output file
set TheText to read SomeFile -- get the text to edit
set Originals to (choose from list EditableItems default items LastEditItems with prompt "Select the terms to replace:" with multiple selections allowed) -- the specific terms to replace
set LastEditItems to Originals
set Replacements to (EditItems of Originals with Title given Prompt:"Edit the following replacement terms:") -- the replacement terms
repeat with AnItem from 1 to count Originals
set TheText to (ReplaceText of TheText from (item AnItem of Originals) to (item AnItem of Replacements))
end repeat
try -- write a new output file
tell application "Finder" to make new file at TheFolder with properties {name:TheName}
set OpenFile to open for access (result as alias) with write permission
write TheText to OpenFile starting at eof
close access OpenFile
on error errmess
try
log errmess
close access OpenFile
end try
end try
end ReplaceMultipleItems
to GetUniqueName for SomeFile from SomeFolder
check if SomeFile exists in SomeFolder, creating a new unique name if needed
parameters - SomeFile [mixed]: a source file path
SomeFolder [mixed]: a folder to check
returns [text]: a unique file name and extension
set {Counter, Divider} to {"00", "_"}
-- get the name and extension
set {name:TheName, name extension:TheExtension} to info for file (SomeFile as text)
if TheExtension is in {missing value, ""} then
set TheExtension to ""
else
set TheExtension to "." & TheExtension
end if
set {NewName, TheExtension} to {TheName, (ChangeCase of TheExtension to "upper")}
set TheName to text 1 thru -((count TheExtension) + 1) of TheName
tell application "System Events" to tell (get name of files of folder (SomeFolder as text))
repeat while it contains NewName
set Counter to text 2 thru -1 of ((100 + Counter + 1) as text) -- leading zero
set NewName to TheName & Divider & Counter & TheExtension
end repeat
end tell
return NewName
end GetUniqueName
to EditItems of SomeItems given Title:TheTitle, Prompt:ThePrompt
displays a dialog for multiple item edit (note that a return is used between each edit item)
for each of the items in SomeItems, a line containing it's text is placed in the edit box
the number of items returned are padded or truncated to match the number of items in SomeItems
parameters - SomeItems [list]: a list of text items to edit
TheTitle [boolean/text]: use a default or the given dialog title
ThePrompt [boolean/text]: use a default or the given prompt text
returns [list]: a list of the edited items, or {} if error
set {TheItems, TheInput, TheCount} to {{}, {}, (count SomeItems)}
if TheCount is less than 1 then return {} -- error
if ThePrompt is in {true, false} then -- "with" or "without" Prompt
if ThePrompt then
set ThePrompt to "Edit the following items:" & return -- default
else
set ThePrompt to ""
end if
else -- fix up the given prompt a little
set ThePrompt to ThePrompt & return
end if
if TheTitle is in {true, false} then if TheTitle then -- "with" or "without" Title
set TheTitle to "Multiple Edit Dialog" -- default
else
set TheTitle to ""
end if
set {TempTID, AppleScript's text item delimiters} to {AppleScript's text item delimiters, return}
set {SomeItems, AppleScript's text item delimiters} to {SomeItems as text, TempTID}
set TheInput to paragraphs of text returned of (display dialog ThePrompt with title TheTitle default answer SomeItems)
repeat with AnItem from 1 to TheCount -- pad/truncate entered items
try
set the end of TheItems to (item AnItem of TheInput)
on error
set the end of TheItems to ""
end try
end repeat
return TheItems
end EditItems
to ReplaceText of SomeText from OldItem to NewItem
replace all occurances of OldItem with NewItem
parameters - SomeText [text]: the text containing the item(s) to change
OldItem [text]: the item to be replaced
NewItem [text]: the item to replace with
returns [text]: the text with the item(s) replaced
set SomeText to SomeText as text
if SomeText contains OldItem then
set {TempTID, AppleScript's text item delimiters} to {AppleScript's text item delimiters, OldItem}
try
set {ItemList, AppleScript's text item delimiters} to {text items of SomeText, NewItem}
set {SomeText, AppleScript's text item delimiters} to {ItemList as text, TempTID}
on error ErrorMessage number ErrorNumber -- oops
set AppleScript's text item delimiters to TempTID
error ErrorMessage number ErrorNumber
end try
end if
return SomeText
end ReplaceText
to ChangeCase of SomeText to CaseType
changes the case or capitalization of SomeText to the specified CaseType using Python
parameters - SomeText [text]: the text to change
CaseType [text]: the type of case desired:
"upper" = all uppercase text
"lower" = all lowercase text
"title" = uppercase character at start of each word, otherwise lowercase
"capitalize" = capitalize the first character of the text, otherwise lowercase
returns [text]: the changed text
set SomeText to SomeText as text
if CaseType is not in {"upper", "lower", "title", "capitalize"} then return SomeText
return (do shell script "/usr/bin/python -c \"import sys; print unicode(sys.argv[1], 'utf8')." & CaseType & "().encode('utf8')\" " & quoted form of SomeText)
end ChangeCase
</pre>
Edit: how does the choose from list dialog handle those big strings? I'm guessing not very well - is that why you avoided using them?
Message was edited by: red_menace -
How to use a backgroud image in a JPanel.....
hi,
How can I display a background image for a JPanel.....
I have searched this forum but all solutions I found are where JPanel at the end has to be displayed on a frame in an application...
I need to use JPanel on Applet.......
Actually I am switching JPanels on JApplet as screens for a game....
I need to display background image for one of the JPanel class that has to be called by an Applet class....
Thanks a lot for any help.Thanks a lot for your help.
How do we specify URL to use an image from net. Is itt like I open an image file on some website & use its address? Kindly add here some website too so that its more clear for me.
Thanks a lot for any help & all help your provided previously.
String imageFilePath = "urlOfMyImageFile"; // I am asking about parameter to be used here
ImageIcon ii = new ImageIcon(imageFilePath);
Image image = ii.getImage(); -
Signed applet stopped working in 1.4.2_04
We have a signed applet that accesses the file system. After installing 1.4.2_04 it produces this exception
java.security.AccessControlException: access denied (java.io.FilePermission <<ALL FILES>> execute)
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkExec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at edu.nebraska.foundation.applets.AccessApplet.openNewSession(AccessApplet.java:35)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at sun.plugin.com.MethodDispatcher.invoke(Unknown Source)
at sun.plugin.com.DispatchImpl.invokeImpl(Unknown Source)
at sun.plugin.com.DispatchImpl$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.plugin.com.DispatchImpl.invoke(Unknown Source)
java.lang.Exception: java.security.AccessControlException: access denied (java.io.FilePermission <<ALL FILES>> execute)
at sun.plugin.com.DispatchImpl.invokeImpl(Unknown Source)
at sun.plugin.com.DispatchImpl$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.plugin.com.DispatchImpl.invoke(Unknown Source)
.This was working in 1.4.2 and 1.3.1_08. Anyone else have this problem?Sorry, copied and pasted the following, hope it helpes.
The following examples are for a win 2000 machine, for linux
you have to use alternative paths but I think the commands
are about the same.
The SUN jre doesn't care about IE settings, if an applet is signed it will ask the user "do you trust", if
the user chooses yes or always the applet can do pretty much anything.
Because anybody can sign an applet so it will pop up the do
you trust dialog I prevent this dialog from popping up by
adding the following to the
C:\Program Files\Java\j2re****\lib\security\java.policy
under grant { [/b]
[color red]
permission java.lang.RuntimePermission "usePolicy";
[color]
You now need to set up special permissions for sites that
need it, signed applets get no special treatment since you
specified in the java.policy that policy should allways be
used.
When your applet needs to do something it normally could
not do (applet security) [b]and it needs to do this
when a user clicks on a html button (applet method called
from javascript), than all the signing and policy settings
in the world wouldn't work Unless you grant all permission
to all code.
This is because the Java Plug-in executes methods with
applet sandbox security restrictions.
http://archives.java.sun.com/cgi-bin/wa?A2=ind0404&L=java-security&F=&S=&P=4012
To solve this you can start a new thread that checks ...
times a second if a variable meets certain conditions.
These conditions are changed with public methods called
from JavaScript. When a variable meets certain Conditions
this thread will start the method that will perform
normally restricted tasks.
Here is an example where the applet doesn't work
(the batchfile, html file are OK)
Note that running this code with Mozilla on my w2k machine
crashes Mozilla (not on my Fedora machine)
Batch file to sign the applet: (please note this will
delete some files)
del *.cer
del *.com
del *.jar
del *.class
javac -classpath ".;C:\Program Files\Java\j2re1.4.2_04\lib\plugin.jar" test.java
keytool -genkey -keystore harm.com -keyalg rsa -dname "CN=Harm Meijer, OU=Technology, O=org, L=Amsterdam, ST=, C=NL" -alias harm -validity 3600 -keypass pass -storepass pass
jar cf0 test.jar test.class
jarsigner -keystore harm.com -storepass pass -keypass pass -signedjar sTest.jar test.jar harm
del *.classThe html page:
<DIV id="dvObjectHolder"> </DIV>
<br><br>
<script>
if(window.navigator.appName.toLowerCase().indexOf("netscape")!=-1){ // set object for Netscape:
document.getElementById('dvObjectHolder').innerHTML = " <object ID='appletTest1' classid=\"java:test.class\"" +
"height=\"0\" width=\"0\" onError=\"changeObject();\"" +
">" +
"<param name=\"mayscript\" value=\"Y\">" +
"<param name=\"archive\" value=\"sTest.jar\">" +
"</object>";
}else if(window.navigator.appName.toLowerCase().indexOf('internet explorer')!=-1){ //set object for IE
document.getElementById('dvObjectHolder').innerHTML = "<object ID='appletTest1' classid=\"clsid:8AD9C840-044E-11D1-B3E9-00805F499D93\"" +
" height=\"0\" width=\"0\" >" +
" <param name=\"code\" value=\"test.class\" />" +
"<param name=\"archive\" value=\"sTest.jar\">" +
" </object>"
</script>
<LABEL id="lblOutputText">This text will be replaced by the applet</LABEL>
<BR>
<input value="Javascript to java" type=button onClick="document.appletTest1.fromJavaScript()"><br>The applet:
// new class for jsObject!!!! since 1.4.2 compile this:
// javac -classpath "C:\Program Files\Java\j2re1.4.2_01\lib\plugin.jar" test.java
// since jaws.jar does not exsist anymore
// to compile with jaws: javac -classpath "C:\j2sdk1.4.0_03\jre\lib\jaws.jar" test.java
import netscape.javascript.*;
public class test extends java.applet.Applet {
JSObject win;
JSObject outputLabel;
public void init() {
try{
win = JSObject.getWindow(this);
outputLabel = (JSObject) win.eval("document.getElementById('lblOutputText')");
outputLabel.setMember("innerHTML", "<center><h1>From Init<br>Your homedir " + System.getProperty("user.home") + "</h1></center>");
}catch(Exception e){
e.printStackTrace();
public void fromJavaScript(){
try{
outputLabel.setMember("innerHTML", "<center><h1>From javascript<br>Your homedir: "+ System.getProperty("user.home") + "</h1></center>");
}catch(Exception e){
e.printStackTrace();
}When you put the files in c:\temp, run the batch file to
compile and sign the applet and then open the html file you
will be asked if you trust ... you can say yes and from
init the applet can read user.home. Click on the button and
you will get the following stack trace:
java.security.AccessControlException: access denied (java.util.PropertyPermission user.home read)
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPropertyAccess(Unknown Source)
at java.lang.System.getProperty(Unknown Source)
at test.fromJavaScript(test.java:20)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at sun.plugin.com.MethodDispatcher.invoke(Unknown Source)
at sun.plugin.com.DispatchImpl.invokeImpl(Unknown Source)
at sun.plugin.com.DispatchImpl$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.plugin.com.DispatchImpl.invoke(Unknown Source)Conclusion: the applet can read user.home but not from
JavaScript.
Here is the applet that does work because a method called
from javaScript doesn't perform a restricted task.
// new class for jsObject!!!! since 1.4.2 compile this:
// javac -classpath "C:\Program Files\Java\j2re1.4.2_01\lib\plugin.jar" test.java
// since jaws.jar does not exsist anymore
// to compile with jaws: javac -classpath "C:\j2sdk1.4.0_03\jre\lib\jaws.jar" test.java
import netscape.javascript.*;
public class test extends java.applet.Applet {
JSObject win;
JSObject outputLabel;
boolean buttonFromJavaClicked = false;
checkJavaScriptEvent evt = new checkJavaScriptEvent();
public void init() {
try {
evt.start();
win = JSObject.getWindow(this);
outputLabel =
(JSObject) win.eval("document.getElementById('lblOutputText')");
outputLabel.setMember(
"innerHTML",
"<center><h1>From Init<br>Your homedir "
+ System.getProperty("user.home")
+ "</h1></center>");
} catch (Exception e) {
e.printStackTrace();
public void fromJavaScript() {
buttonFromJavaClicked = true;
private void fromJavaScript2() {
System.out.println("fromjavascript2 is started");
try {
String strLbl =
"<center><h1>From javascript<br>Your homedir: "
+ System.getProperty("user.home")
+ "</h1></center>";
outputLabel.setMember("innerHTML", strLbl);
} catch (Exception e) {
e.printStackTrace();
class checkJavaScriptEvent extends Thread {
public void run() {
while (true) {
if (test.this.buttonFromJavaClicked) {
System.out.println("OK buttonfromjava is true");
test.this.buttonFromJavaClicked = false;
test.this.fromJavaScript2();
try {
Thread.sleep(300);
} catch (Exception e) {
System.out.println("exception in sleep");
e.printStackTrace();
System.exit(1);
} -
Applet setting values on HTML page
Is it possible for an applet to set a values on a HTML page?
I know there is getParameter but how do I set one?
even if it involves setting some JavaScript object/variable...
is it even possible?jsobject:
// new class for jsObject!!!! compile this: javac -classpath "C:\Program Files\Java\j2re1.4.2_01\lib\plugin.jar" someApplet.java
// since jaws.jar does not exsist anymore
// in 1.4.0 to compile: javac -classpath "C:\j2sdk1.4.0_03\jre\lib\jaws.jar" someApplet.java
import netscape.javascript.*;
public class someApplet extends java.applet.Applet {
JSObject win;
public void init() {
try{
win = JSObject.getWindow(this);
JSObject textBoxLabel = (JSObject) win.eval("document.getElementById('lblOutputText')");
textBoxLabel.setMember("innerHTML", "<center><h1>Some text written by the applet</h1></center>");
}catch(Exception e){
e.printStackTrace();
}html page:
<object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
height="0" width="0" >
<param name="code" value="someApplet.class" />
<!--[if !IE]> Mozilla/Netscape and its brethren -->
<object classid="java:someApplet.class"
height="0" width="0"
>
</object>
<!-- <![endif]-->
</object>
<LABEL id="lblOutputText">This text should be replaced by the applet </LABEL> -
Need help on Applet Programming
Hi all,
I have 2 java file,
The main file is "Kell.java" and the second file is "MyFrame.java".
I have call the Myframe.java when i pressed "Booking" button on the Kell.java, but I did know how to call the action listener for private class searchBtnListener implements ActionListener from the Kell.java.
Other problem is how i want to change value of lblresult in MyFrame.java when i pressed Search button.
Can anyone help me?
Kell.java
import javax.swing.*;
import javax.swing.border.*;
import java.awt.*;
import java.awt.event.*;
import java.text.DecimalFormat;
import java.applet.*;
public class Kell extends JApplet {
private JPanel parentPanel, titlePanel, orderPanel;
private JPanel bottomPanel, titleAndMenuPanel;
private JPanel menuBtnPanel;
private JLabel lblTitle, lblDesc;
private JButton bookingBtn, scheduleBtn, verifyBtn;
private ButtonGroup menuUtamaBtn;
private CardLayout card;
JPanel cards;
// Applet Size
private final Dimension appletSize = new Dimension(500, 500);
public void init()
// set applet size
this.setSize(appletSize);
* Create Panels
parentPanel = new JPanel();
orderPanel = new JPanel();
titlePanel = new JPanel();
titleAndMenuPanel = new JPanel();
menuBtnPanel = new JPanel();
bottomPanel = new JPanel();
* Set Panel Layouts
titleAndMenuPanel.setLayout(new GridLayout(2,1));
parentPanel.setLayout(new BorderLayout());
titlePanel.setLayout(new BoxLayout(titlePanel, BoxLayout.Y_AXIS));
orderPanel.setLayout(new BoxLayout(orderPanel, BoxLayout.Y_AXIS));
menuBtnPanel.setLayout(new GridLayout(1,3));
//bottomPanel.setLayout(new BorderLayout(5,5));
// Title
lblTitle = new JLabel("Bookiing OnnnLiine");
lblTitle.setFont (new Font ("Book Antiqua", Font.BOLD, 18));
lblTitle.setAlignmentX(Component.CENTER_ALIGNMENT);
titlePanel.add(lblTitle);
lblDesc = new JLabel("This is the online system that....");
lblDesc.setFont (new Font ("Book Antiqua", Font.BOLD, 18));
lblDesc.setAlignmentX(Component.CENTER_ALIGNMENT);
orderPanel.add(lblDesc);
// Button
menuUtamaBtn = new ButtonGroup();
bookingBtn = new JButton("Booking");
scheduleBtn = new JButton("Schedule");
verifyBtn = new JButton("Verify");
menuUtamaBtn.add(bookingBtn);
menuUtamaBtn.add(scheduleBtn);
menuUtamaBtn.add(verifyBtn);
bookingBtn.addActionListener(new bookingBtnListener());
//scheduleBtn.addActionListener(new scheduleBtnListener());
//verifyBtn.addActionListener(new verifyBtnListener());
menuBtnPanel.add(bookingBtn);
menuBtnPanel.add(scheduleBtn);
menuBtnPanel.add(verifyBtn);
* Add Panels
titleAndMenuPanel.add(titlePanel, BorderLayout.NORTH);
titleAndMenuPanel.add(menuBtnPanel, BorderLayout.SOUTH);
parentPanel.add(titleAndMenuPanel, BorderLayout.NORTH);
parentPanel.add(orderPanel, BorderLayout.CENTER);
parentPanel.add(bottomPanel, BorderLayout.SOUTH);
add(parentPanel);
* Listeners
private class bookingBtnListener implements ActionListener {
public void actionPerformed (ActionEvent event) {
MyFrame booking = new MyFrame();
parentPanel.add(booking.bookingPANEL(), BorderLayout.CENTER);
parentPanel.validate() ;
}MyFrame.java
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
public class MyFrame
JLabel lblresult;
public JPanel bookingPANEL()
JPanel bookingP = new JPanel();
JPanel searchP = new JPanel();
JPanel resultP = new JPanel();
JButton searchBtn = new JButton("Search");
bookingP.setLayout(new GridLayout(2,1));
searchP.setLayout(new BoxLayout(searchP, BoxLayout.Y_AXIS));
resultP.setLayout(new BorderLayout());
JLabel lblDesc = new JLabel("Testing Booking Panel");
lblDesc.setFont (new Font ("Book Antiqua", Font.BOLD, 18));
lblDesc.setAlignmentX(Component.CENTER_ALIGNMENT);
lblresult = new JLabel("Testing Search Button");
lblresult.setFont (new Font ("Book Antiqua", Font.BOLD, 18));
lblresult.setAlignmentX(Component.CENTER_ALIGNMENT);
searchP.add(lblDesc);
searchP.add(searchBtn);
resultP.add(lblresult, BorderLayout.NORTH);
bookingP.add(searchP, 0);
bookingP.add(resultP, 1);
searchBtn.addActionListener(new searchBtnListener());
return bookingP;
private class searchBtnListener implements ActionListener {
public void actionPerformed (ActionEvent event) {
// I dont know how to change the value of lblresult
// lblresult.text = "Button has been pressed.";
}Other problem is how i want to change value of
lblresult in MyFrame.java when i pressed
Search button.
private class searchBtnListener implements
s ActionListener {
public void actionPerformed (ActionEvent
event) {
// I dont know how to change the value of
of lblresult
// lblresult.text = "Button has been pressed.";
}lblresult.setText(" new String value") ; -
hi, i get the following error when i run this piece of code (below).
java.lang.ClassCastException: insertapplet
java.lang.ClassCastException: editapplet
i have the .class in the same directory. the applet runs, shows the tabs but doesn't display the embedded applets. what's wrong?
import javax.swing.*;
import java.awt.*;
import javax.swing.border.*;
public class Tabbed extends JApplet {
static Object[][] q = {
// { "Query", "queryapplet.class" },
{ "Insert", insertapplet.class },
{ "Edit", editapplet.class },
static JPanel makePanel(Class c) {
String title = c.getName();
System.out.println(title);
title = title.substring(
title.lastIndexOf('.') + 1);
JPanel sp = null;
try {
sp = (JPanel)c.newInstance();
} catch(Exception e) {
System.out.println(e);
// sp.setBorder(new TitledBorder(title));
return sp;
public void init() {
Container cp = getContentPane();
cp.setLayout(new BorderLayout());
JTabbedPane tabbed = new JTabbedPane();
for(int i = 0; i < q.length; i++)
tabbed.addTab((String)q[0],
makePanel((Class)q[i][1]));
cp.add(tabbed, BorderLayout.CENTER);
tabbed.setSelectedIndex(q.length/2);JApplet extends from Panel, so if you try to cast it to a JPanel it gives you ClassCastException.
Replace JPanel with Panel in the makePanel method and it should work.
static Panel makePanel(Class c)
String title = c.getName();
System.out.println(title);
title = title.substring(title.lastIndexOf('.') + 1);
Panel sp = null;
try
sp = (Panel) c.newInstance();
catch (Exception e)
System.out.println(e);
} // sp.setBorder(new TitledBorder(title));
return sp;
}Antonio :) -
[solved] failed to commit transaction (invalid or corrupted package)
Hi.
So today I tried updating my system after about a month. I keep getting the error in the thread title. Pacman does not mention which packages are corrupted. I tried upgrading the explicitly installed packages individually and those which could upgrade were upgraded. However, a few remain unable to upgrade.
I have tried using the new pacman.conf which comes with the latest package, I have followed this blog post, regenerating my mirrorlist using reflector, re-downloading all the packages, pacman -Syy, SigLevel = Never ... and nothing seems to work. Please help.
pacman.conf
# /etc/pacman.conf
# See the pacman.conf(5) manpage for option and repository directives
# GENERAL OPTIONS
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir = /
#DBPath = /var/lib/pacman/
#CacheDir = /var/cache/pacman/pkg/
#LogFile = /var/log/pacman.log
#GPGDir = /etc/pacman.d/gnupg/
HoldPkg = pacman glibc
# If upgrades are available for these packages they will be asked for first
SyncFirst = pacman
#XferCommand = /usr/bin/curl -C - -f %u > %o
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#CleanMethod = KeepInstalled
Architecture = auto
# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg =
#IgnoreGroup =
#NoUpgrade =
#NoExtract =
# Misc options
#UseSyslog
#UseDelta
#TotalDownload
CheckSpace
#VerbosePkgLists
# By default, pacman accepts packages signed by keys that its local keyring
# trusts (see pacman-key and its man page), as well as unsigned packages.
#SigLevel = Optional TrustedOnly
# NOTE: You must run `pacman-key --init` before first using pacman; the local
# keyring can then be populated with the keys of all official Arch Linux
# packagers with `pacman-key --populate archlinux`.
# REPOSITORIES
# - can be defined here or included from another file
# - pacman will search repositories in the order defined here
# - local/custom mirrors can be added here or in separate files
# - repositories listed first will take precedence when packages
# have identical names, regardless of version number
# - URLs will have $repo replaced by the name of the current repo
# - URLs will have $arch replaced by the name of the architecture
# Repository entries are of the format:
# [repo-name]
# Server = ServerName
# Include = IncludePath
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
# The testing repositories are disabled by default. To enable, uncomment the
# repo name header and Include lines. You can add preferred servers immediately
# after the header, and they will be used before the default mirrors.
#[testing]
#SigLevel = PackageRequired
#Include = /etc/pacman.d/mirrorlist
[core]
SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist
[extra]
SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist
#[community-testing]
#SigLevel = PackageRequired
#Include = /etc/pacman.d/mirrorlist
[community]
SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist
# If you want to run 32 bit applications on your x86_64 system,
# enable the multilib repositories as required here.
#[multilib-testing]
#SigLevel = PackageRequired
#Include = /etc/pacman.d/mirrorlist
[multilib]
SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist
# An example of a custom package repository. See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#SigLevel = Optional TrustAll
#Server = file:///home/custompkgs
[archlinuxfr]
# The French Arch Linux communities packages.
SigLevel = PackageRequired
Server = http://repo.archlinux.fr/$arch
[arch-fonts]
# Prebuilt packages for font packages found in AUR
# This should be faster than building from source
# as many have download speed of 10KB/s. If you find
# missing font, email to <gmail.com: jesse.jaara>
SigLevel = PackageRequired
Server = http://huulivoide.pp.fi/Arch/arch-fonts
[archstuff]
# AUR's most voted and many bin32-* and lib32-* packages.
SigLevel = PackageRequired
Server = http://archstuff.vs169092.vserver.de/$arch
[herecura-stable]
# additional apps not found in community
SigLevel = PackageRequired
Server = http://repo.herecura.be/herecura-stable/$arch
[kde4-eyecandy-64]
# Useful and beautiful plasmoids and themes for KDE4.
SigLevel = PackageRequired
Server = http://archlinuxgr.tiven.org/kde4-eyecandy/x86_64
mirrorlist
cat /etc/pacman.d/mirrorlist
# Arch Linux mirrorlist generated by Reflector
# With: /usr/bin/reflector -l 5 --sort rate --save /etc/pacman.d/mirrorlist
# When: 2012-06-18 12:42:37 UTC
# From: https://www.archlinux.org/mirrors/status/json/
# Retrieved: 2012-06-18 12:42:25 UTC
# Last Check: 2012-06-18T12:21:53.438Z UTC
Server = http://archlinux.polymorf.fr/$repo/os/$arch
Server = http://mirror.de.leaseweb.net/archlinux/$repo/os/$arch
Server = ftp://mirror.chmuri.net/archmirror/$repo/os/$arch
Server = ftp://mirror.us.leaseweb.net/archlinux/$repo/os/$arch
Server = http://miroir.ezvan.fr/archlinux/$repo/os/$arch
output when I try to upgrade
sudo pacman -Su
Password:
:: Starting full system upgrade...
:: Replace dbus-python with extra/python2-dbus? [Y/n]
:: Replace libusb with core/libusbx? [Y/n]
resolving dependencies...
looking for inter-conflicts...
Targets (57): bison-2.5.1-1 c-ares-1.9.0-1 cairo-1.12.2-2 cifs-utils-5.5-1 colord-0.1.21-2
dbus-python-1.0.0-1 [removal] desktop-file-utils-0.20-1 freetype2-2.4.10-1 git-1.7.10.4-1
gnutls-3.0.20-1 gtk-engines-2.21.0-1 icu-49.1.2-1 intel-dri-8.0.3-3 kactivities-4.8.4-1
kdebase-konqueror-4.8.4-1 kdebase-lib-4.8.4-1 kdebase-runtime-4.8.4-1 kdebase-workspace-4.8.4-1
kdebindings-python2-4.8.4-1 kdegames-libkdegames-4.8.4-1 kdelibs-4.8.4-2 kdepim-runtime-4.8.4-1
kdepimlibs-4.8.4-1 khrplatform-devel-8.0.3-3 krb5-1.10.2-1 libcups-1.5.3-5 libdrm-2.4.35-1
libegl-8.0.3-3 libgl-8.0.3-3 libglapi-8.0.3-3 libgles-8.0.3-3 libkipi-4.8.4-1 libksane-4.8.4-1
libmysqlclient-5.5.25-1 libpng-1.5.11-1 libusb-1.0.9-1 [removal] libusbx-1.0.11-2 libva-1.1.0-1
libwbclient-3.6.5-3 linux-api-headers-3.3.8-1 lirc-utils-1:0.9.0-18 mkinitcpio-0.9.2-2
mysql-5.5.25-1 mysql-clients-5.5.25-1 oxygen-icons-4.8.4-1 pam-1.1.5-4 pambase-20120602-1
pango-1.30.1-1 pinentry-0.8.1-4 pyqt-4.9.1-2 python-dbus-1.1.0-2 python-dbus-common-1.1.0-2
python2-dbus-1.1.0-2 python2-pyqt-4.9.1-2 shorewall-core-4.5.5.1-1 smbclient-3.6.5-3
sqlite-3.7.13-1
Total Installed Size: 632.49 MiB
Net Upgrade Size: 3.08 MiB
Proceed with installation? [Y/n]
(55/55) checking package integrity [########################################] 100%
error: failed to commit transaction (invalid or corrupted package)
Errors occurred, no packages were upgraded.
pacman log
[2012-06-18 12:48] Running 'pacman -Su'
[2012-06-18 12:48] starting full system upgrade
[2012-06-18 12:54] Running 'pacman -Su'
[2012-06-18 12:54] starting full system upgrade
[2012-06-18 12:54] Running 'pacman -Su'
[2012-06-18 12:54] starting full system upgrade
[2012-06-18 12:57] Running 'pacman -Su'
[2012-06-18 12:57] starting full system upgrade
[2012-06-18 13:07] Running 'pacman -Su'
[2012-06-18 13:07] starting full system upgrade
[2012-06-18 13:10] Running 'pacman -Syy'
[2012-06-18 13:10] synchronizing package lists
[2012-06-18 13:14] Running 'pacman -Su'
[2012-06-18 13:14] starting full system upgrade
[2012-06-18 13:21] starting full system upgrade
[2012-06-18 13:22] starting full system upgrade
[2012-06-18 13:23] starting full system upgrade
[2012-06-18 13:24] starting full system upgrade
[2012-06-18 13:24] Running 'pacman -Su'
[2012-06-18 13:24] starting full system upgrade
[2012-06-18 14:42] Running 'pacman -Su'
[2012-06-18 14:42] starting full system upgrade
[2012-06-18 14:44] Running 'pacman -Syy'
[2012-06-18 14:44] synchronizing package lists
[2012-06-18 14:45] Running 'pacman -Su'
[2012-06-18 14:45] starting full system upgrade
Last edited by drsjlazar (2012-06-18 13:51:54)Thank you Jelly It was a .part file. I was using aria2 to download prior to switching to the new pacman.conf. There was only one offending file. I would have thought that pacman would at least tell you which file was corrupted when it found one or even not recognize .part files as complete packages. Anyway, I deleted the .part file everything went smoothly.
Here is the complete output of pacman -Syyu --debug... just for reference.
debug: parseconfig: options pass
debug: config: attempting to read file /etc/pacman.conf
debug: config: finish section '(null)'
debug: config: new section 'options'
debug: config: HoldPkg: pacman
debug: config: HoldPkg: glibc
debug: config: SyncFirst: pacman
debug: config: arch: x86_64
debug: config: finish section 'options'
debug: config: new section 'core'
debug: config file /etc/pacman.conf, line 76: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'core'
debug: config: new section 'extra'
debug: config file /etc/pacman.conf, line 80: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'extra'
debug: config: new section 'community'
debug: config file /etc/pacman.conf, line 88: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'community'
debug: config: new section 'multilib'
debug: config file /etc/pacman.conf, line 99: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'multilib'
debug: config: new section 'archlinuxfr'
debug: config: finish section 'archlinuxfr'
debug: config: new section 'arch-fonts'
debug: config: finish section 'arch-fonts'
debug: config: new section 'archstuff'
debug: config: finish section 'archstuff'
debug: config: new section 'herecura-stable'
debug: config: finish section 'herecura-stable'
debug: config: new section 'kde4-eyecandy-64'
debug: config: finish section 'kde4-eyecandy-64'
debug: config: finished parsing /etc/pacman.conf
debug: setup_libalpm called
debug: option 'logfile' = /var/log/pacman.log
debug: option 'gpgdir' = /etc/pacman.d/gnupg/
debug: option 'cachedir' = /var/cache/pacman/pkg/
debug: parseconfig: repo pass
debug: config: attempting to read file /etc/pacman.conf
debug: config: finish section '(null)'
debug: config: new section 'options'
debug: config: finish section 'options'
debug: config: new section 'core'
debug: config: SigLevel: PackageRequired
debug: config file /etc/pacman.conf, line 76: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'core'
debug: registering sync database 'core'
debug: database path for tree core set to /var/lib/pacman/sync/core.db
debug: "/var/lib/pacman/sync/core.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/core.db.sig could not be opened
debug: missing optional signature
debug: adding new server URL to database 'core': http://archlinux.polymorf.fr/core/os/x86_64
debug: adding new server URL to database 'core': http://mirror.de.leaseweb.net/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': ftp://mirror.chmuri.net/archmirror/core/os/x86_64
debug: adding new server URL to database 'core': ftp://mirror.us.leaseweb.net/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': http://miroir.ezvan.fr/archlinux/core/os/x86_64
debug: config: new section 'extra'
debug: config: SigLevel: PackageRequired
debug: config file /etc/pacman.conf, line 80: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'extra'
debug: registering sync database 'extra'
debug: database path for tree extra set to /var/lib/pacman/sync/extra.db
debug: "/var/lib/pacman/sync/extra.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/extra.db.sig could not be opened
debug: missing optional signature
debug: adding new server URL to database 'extra': http://archlinux.polymorf.fr/extra/os/x86_64
debug: adding new server URL to database 'extra': http://mirror.de.leaseweb.net/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': ftp://mirror.chmuri.net/archmirror/extra/os/x86_64
debug: adding new server URL to database 'extra': ftp://mirror.us.leaseweb.net/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': http://miroir.ezvan.fr/archlinux/extra/os/x86_64
debug: config: new section 'community'
debug: config: SigLevel: PackageRequired
debug: config file /etc/pacman.conf, line 88: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'community'
debug: registering sync database 'community'
debug: database path for tree community set to /var/lib/pacman/sync/community.db
debug: "/var/lib/pacman/sync/community.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/community.db.sig could not be opened
debug: missing optional signature
debug: adding new server URL to database 'community': http://archlinux.polymorf.fr/community/os/x86_64
debug: adding new server URL to database 'community': http://mirror.de.leaseweb.net/archlinux/community/os/x86_64
debug: adding new server URL to database 'community': ftp://mirror.chmuri.net/archmirror/community/os/x86_64
debug: adding new server URL to database 'community': ftp://mirror.us.leaseweb.net/archlinux/community/os/x86_64
debug: adding new server URL to database 'community': http://miroir.ezvan.fr/archlinux/community/os/x86_64
debug: config: new section 'multilib'
debug: config: SigLevel: PackageRequired
debug: config file /etc/pacman.conf, line 99: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'multilib'
debug: registering sync database 'multilib'
debug: database path for tree multilib set to /var/lib/pacman/sync/multilib.db
debug: "/var/lib/pacman/sync/multilib.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/multilib.db.sig could not be opened
debug: missing optional signature
debug: adding new server URL to database 'multilib': http://archlinux.polymorf.fr/multilib/os/x86_64
debug: adding new server URL to database 'multilib': http://mirror.de.leaseweb.net/archlinux/multilib/os/x86_64
debug: adding new server URL to database 'multilib': ftp://mirror.chmuri.net/archmirror/multilib/os/x86_64
debug: adding new server URL to database 'multilib': ftp://mirror.us.leaseweb.net/archlinux/multilib/os/x86_64
debug: adding new server URL to database 'multilib': http://miroir.ezvan.fr/archlinux/multilib/os/x86_64
debug: config: new section 'archlinuxfr'
debug: config: SigLevel: PackageRequired
debug: config: finish section 'archlinuxfr'
debug: registering sync database 'archlinuxfr'
debug: database path for tree archlinuxfr set to /var/lib/pacman/sync/archlinuxfr.db
debug: "/var/lib/pacman/sync/archlinuxfr.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/archlinuxfr.db.sig could not be opened
debug: missing optional signature
debug: adding new server URL to database 'archlinuxfr': http://repo.archlinux.fr/x86_64
debug: config: new section 'arch-fonts'
debug: config: SigLevel: PackageRequired
debug: config: finish section 'arch-fonts'
debug: registering sync database 'arch-fonts'
debug: database path for tree arch-fonts set to /var/lib/pacman/sync/arch-fonts.db
debug: "/var/lib/pacman/sync/arch-fonts.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/arch-fonts.db.sig could not be opened
debug: missing optional signature
debug: adding new server URL to database 'arch-fonts': http://huulivoide.pp.fi/Arch/arch-fonts
debug: config: new section 'archstuff'
debug: config: SigLevel: PackageRequired
debug: config: finish section 'archstuff'
debug: registering sync database 'archstuff'
debug: database path for tree archstuff set to /var/lib/pacman/sync/archstuff.db
debug: "/var/lib/pacman/sync/archstuff.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/archstuff.db.sig could not be opened
debug: missing optional signature
debug: adding new server URL to database 'archstuff': http://archstuff.vs169092.vserver.de/x86_64
debug: config: new section 'herecura-stable'
debug: config: SigLevel: PackageRequired
debug: config: finish section 'herecura-stable'
debug: registering sync database 'herecura-stable'
debug: database path for tree herecura-stable set to /var/lib/pacman/sync/herecura-stable.db
debug: "/var/lib/pacman/sync/herecura-stable.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/herecura-stable.db.sig could not be opened
debug: missing optional signature
debug: adding new server URL to database 'herecura-stable': http://repo.herecura.be/herecura-stable/x86_64
debug: config: new section 'kde4-eyecandy-64'
debug: config: SigLevel: PackageRequired
debug: config: finish section 'kde4-eyecandy-64'
debug: registering sync database 'kde4-eyecandy-64'
debug: database path for tree kde4-eyecandy-64 set to /var/lib/pacman/sync/kde4-eyecandy-64.db
debug: "/var/lib/pacman/sync/kde4-eyecandy-64.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/kde4-eyecandy-64.db.sig could not be opened
debug: missing optional signature
debug: adding new server URL to database 'kde4-eyecandy-64': http://archlinuxgr.tiven.org/kde4-eyecandy/x86_64
debug: config: finished parsing /etc/pacman.conf
debug: url: http://archlinux.polymorf.fr/core/os/x86_64/core.db
debug: maxsize: 26214400
debug: opened tempfile for download: /var/lib/pacman/sync/core.db.part (wb)
:: Synchronizing package databases...
downloading core.db...
debug: curl returned error 0 from transfer
debug: response code: 200
debug: url: http://archlinux.polymorf.fr/core/os/x86_64/core.db.sig
debug: maxsize: 16384
debug: opened tempfile for download: /var/lib/pacman/sync/core.db.sig.part (wb)
debug: curl returned error 22 from transfer
debug: failed retrieving file 'core.db.sig' from archlinux.polymorf.fr : The requested URL returned error: 404
debug: "/var/lib/pacman/sync/core.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/core.db.sig could not be opened
debug: missing optional signature
debug: url: http://archlinux.polymorf.fr/extra/os/x86_64/extra.db
debug: maxsize: 26214400
debug: opened tempfile for download: /var/lib/pacman/sync/extra.db.part (wb)
downloading extra.db...
debug: curl returned error 0 from transfer
debug: response code: 200
debug: url: http://archlinux.polymorf.fr/extra/os/x86_64/extra.db.sig
debug: maxsize: 16384
debug: opened tempfile for download: /var/lib/pacman/sync/extra.db.sig.part (wb)
debug: curl returned error 22 from transfer
debug: failed retrieving file 'extra.db.sig' from archlinux.polymorf.fr : The requested URL returned error: 404
debug: "/var/lib/pacman/sync/extra.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/extra.db.sig could not be opened
debug: missing optional signature
debug: url: http://archlinux.polymorf.fr/community/os/x86_64/community.db
debug: maxsize: 26214400
debug: opened tempfile for download: /var/lib/pacman/sync/community.db.part (wb)
downloading community.db...
debug: curl returned error 0 from transfer
debug: response code: 200
debug: url: http://archlinux.polymorf.fr/community/os/x86_64/community.db.sig
debug: maxsize: 16384
debug: opened tempfile for download: /var/lib/pacman/sync/community.db.sig.part (wb)
debug: curl returned error 22 from transfer
debug: failed retrieving file 'community.db.sig' from archlinux.polymorf.fr : The requested URL returned error: 404
debug: "/var/lib/pacman/sync/community.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/community.db.sig could not be opened
debug: missing optional signature
debug: url: http://archlinux.polymorf.fr/multilib/os/x86_64/multilib.db
debug: maxsize: 26214400
debug: opened tempfile for download: /var/lib/pacman/sync/multilib.db.part (wb)
downloading multilib.db...
debug: curl returned error 0 from transfer
debug: response code: 200
debug: url: http://archlinux.polymorf.fr/multilib/os/x86_64/multilib.db.sig
debug: maxsize: 16384
debug: opened tempfile for download: /var/lib/pacman/sync/multilib.db.sig.part (wb)
debug: curl returned error 22 from transfer
debug: failed retrieving file 'multilib.db.sig' from archlinux.polymorf.fr : The requested URL returned error: 404
debug: "/var/lib/pacman/sync/multilib.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/multilib.db.sig could not be opened
debug: missing optional signature
debug: url: http://repo.archlinux.fr/x86_64/archlinuxfr.db
debug: maxsize: 26214400
debug: opened tempfile for download: /var/lib/pacman/sync/archlinuxfr.db.part (wb)
downloading archlinuxfr.db...
debug: curl returned error 0 from transfer
debug: response code: 200
debug: url: http://repo.archlinux.fr/x86_64/archlinuxfr.db.sig
debug: maxsize: 16384
debug: opened tempfile for download: /var/lib/pacman/sync/archlinuxfr.db.sig.part (wb)
debug: curl returned error 22 from transfer
debug: failed retrieving file 'archlinuxfr.db.sig' from repo.archlinux.fr : The requested URL returned error: 404
debug: "/var/lib/pacman/sync/archlinuxfr.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/archlinuxfr.db.sig could not be opened
debug: missing optional signature
debug: url: http://huulivoide.pp.fi/Arch/arch-fonts/arch-fonts.db
debug: maxsize: 26214400
debug: opened tempfile for download: /var/lib/pacman/sync/arch-fonts.db.part (wb)
downloading arch-fonts.db...
downloading arch-fonts.db...
downloading arch-fonts.db...
debug: curl returned error 0 from transfer
debug: response code: 200
debug: url: http://huulivoide.pp.fi/Arch/arch-fonts/arch-fonts.db.sig
debug: maxsize: 16384
debug: opened tempfile for download: /var/lib/pacman/sync/arch-fonts.db.sig.part (wb)
debug: curl returned error 22 from transfer
debug: failed retrieving file 'arch-fonts.db.sig' from huulivoide.pp.fi : The requested URL returned error: 404
debug: "/var/lib/pacman/sync/arch-fonts.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/arch-fonts.db.sig could not be opened
debug: missing optional signature
debug: url: http://archstuff.vs169092.vserver.de/x86_64/archstuff.db
debug: maxsize: 26214400
debug: opened tempfile for download: /var/lib/pacman/sync/archstuff.db.part (wb)
downloading archstuff.db...
downloading archstuff.db...
downloading archstuff.db...
debug: curl returned error 0 from transfer
debug: response code: 200
debug: url: http://archstuff.vs169092.vserver.de/x86_64/archstuff.db.sig
debug: maxsize: 16384
debug: opened tempfile for download: /var/lib/pacman/sync/archstuff.db.sig.part (wb)
debug: curl returned error 22 from transfer
debug: failed retrieving file 'archstuff.db.sig' from archstuff.vs169092.vserver.de : The requested URL returned error: 404
debug: "/var/lib/pacman/sync/archstuff.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/archstuff.db.sig could not be opened
debug: missing optional signature
debug: url: http://repo.herecura.be/herecura-stable/x86_64/herecura-stable.db
debug: maxsize: 26214400
debug: opened tempfile for download: /var/lib/pacman/sync/herecura-stable.db.part (wb)
downloading herecura-stable.db...
debug: curl returned error 0 from transfer
debug: response code: 200
debug: url: http://repo.herecura.be/herecura-stable/x86_64/herecura-stable.db.sig
debug: maxsize: 16384
debug: opened tempfile for download: /var/lib/pacman/sync/herecura-stable.db.sig.part (wb)
debug: curl returned error 22 from transfer
debug: failed retrieving file 'herecura-stable.db.sig' from repo.herecura.be : The requested URL returned error: 404
debug: "/var/lib/pacman/sync/herecura-stable.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/herecura-stable.db.sig could not be opened
debug: missing optional signature
debug: url: http://archlinuxgr.tiven.org/kde4-eyecandy/x86_64/kde4-eyecandy-64.db
debug: maxsize: 26214400
debug: opened tempfile for download: /var/lib/pacman/sync/kde4-eyecandy-64.db.part (wb)
downloading kde4-eyecandy-64.db...
downloading kde4-eyecandy-64.db...
downloading kde4-eyecandy-64.db...
debug: curl returned error 0 from transfer
debug: response code: 200
debug: url: http://archlinuxgr.tiven.org/kde4-eyecandy/x86_64/kde4-eyecandy-64.db.sig
debug: maxsize: 16384
debug: opened tempfile for download: /var/lib/pacman/sync/kde4-eyecandy-64.db.sig.part (wb)
debug: curl returned error 22 from transfer
debug: failed retrieving file 'kde4-eyecandy-64.db.sig' from archlinuxgr.tiven.org : The requested URL returned error: 404
debug: "/var/lib/pacman/sync/kde4-eyecandy-64.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/kde4-eyecandy-64.db.sig could not be opened
debug: missing optional signature
debug: loading package cache for repository 'local'
debug: added 685 packages to package cache for db 'local'
debug: loading package cache for repository 'core'
debug: opening database archive /var/lib/pacman/sync/core.db
debug: added 194 packages to package cache for db 'core'
debug: checking for package upgrades
debug: searching for replacements for a52dec
debug: loading package cache for repository 'extra'
debug: opening database archive /var/lib/pacman/sync/extra.db
debug: added 2775 packages to package cache for db 'extra'
debug: searching for replacements for aalib
debug: searching for replacements for abs
debug: searching for replacements for acetoneiso2
debug: searching for replacements for acetoneiso2
debug: loading package cache for repository 'community'
debug: opening database archive /var/lib/pacman/sync/community.db
debug: added 2495 packages to package cache for db 'community'
debug: searching for replacements for akonadi
debug: searching for replacements for akonadi-googledata
debug: searching for replacements for akonadi-googledata
debug: searching for replacements for akonadi-googledata
debug: loading package cache for repository 'multilib'
debug: opening database archive /var/lib/pacman/sync/multilib.db
debug: added 144 packages to package cache for db 'multilib'
debug: searching for replacements for akonadi-googledata
debug: loading package cache for repository 'archlinuxfr'
debug: opening database archive /var/lib/pacman/sync/archlinuxfr.db
debug: added 137 packages to package cache for db 'archlinuxfr'
debug: searching for replacements for akonadi-googledata
debug: loading package cache for repository 'arch-fonts'
debug: opening database archive /var/lib/pacman/sync/arch-fonts.db
debug: added 438 packages to package cache for db 'arch-fonts'
debug: searching for replacements for akonadi-googledata
debug: loading package cache for repository 'archstuff'
debug: opening database archive /var/lib/pacman/sync/archstuff.db
debug: added 296 packages to package cache for db 'archstuff'
debug: searching for replacements for akonadi-googledata
debug: loading package cache for repository 'herecura-stable'
debug: opening database archive /var/lib/pacman/sync/herecura-stable.db
debug: added 54 packages to package cache for db 'herecura-stable'
debug: searching for replacements for akonadi-googledata
debug: loading package cache for repository 'kde4-eyecandy-64'
debug: opening database archive /var/lib/pacman/sync/kde4-eyecandy-64.db
debug: added 93 packages to package cache for db 'kde4-eyecandy-64'
debug: searching for replacements for akonadi-googledata
debug: searching for replacements for alsa-firmware
debug: searching for replacements for alsa-lib
debug: searching for replacements for alsa-utils
debug: searching for replacements for amarok
debug: searching for replacements for andyetitmoves
debug: searching for replacements for andyetitmoves
debug: searching for replacements for andyetitmoves
debug: searching for replacements for andyetitmoves
debug: searching for replacements for andyetitmoves
debug: searching for replacements for andyetitmoves
debug: searching for replacements for andyetitmoves
debug: searching for replacements for andyetitmoves
debug: searching for replacements for andyetitmoves
debug: searching for replacements for apper
debug: searching for replacements for apper
debug: searching for replacements for archlinux-artwork
debug: searching for replacements for aria2
debug: searching for replacements for aria2
debug: searching for replacements for aspell
debug: searching for replacements for atk
debug: searching for replacements for attica
debug: searching for replacements for automoc4
debug: searching for replacements for avahi
debug: searching for replacements for babl
debug: searching for replacements for bc
debug: new version of 'bison' found (2.5-3 => 2.5.1-1)
debug: adding package bison-2.5.1-1 to the transaction targets
debug: searching for replacements for bleachbit
debug: searching for replacements for bleachbit
debug: searching for replacements for bluedevil
debug: searching for replacements for bluez
debug: searching for replacements for boost
debug: searching for replacements for boost-libs
debug: searching for replacements for byobu
debug: searching for replacements for byobu
debug: searching for replacements for byobu
debug: searching for replacements for byobu
debug: searching for replacements for byobu
debug: searching for replacements for byobu
debug: searching for replacements for byobu
debug: searching for replacements for byobu
debug: searching for replacements for byobu
debug: searching for replacements for c-ares
debug: new version of 'c-ares' found (1.8.0-1 => 1.9.0-1)
debug: adding package c-ares-1.9.0-1 to the transaction targets
debug: searching for replacements for cairo
debug: new version of 'cairo' found (1.12.2-1 => 1.12.2-2)
debug: adding package cairo-1.12.2-2 to the transaction targets
debug: searching for replacements for cdparanoia
debug: searching for replacements for cdrdao
debug: searching for replacements for cdrkit
debug: searching for replacements for chmlib
debug: searching for replacements for chromium
debug: searching for replacements for cifs-utils
debug: new version of 'cifs-utils' found (5.4-1 => 5.5-1)
debug: adding package cifs-utils-5.5-1 to the transaction targets
debug: searching for replacements for cln
debug: searching for replacements for cmake
debug: searching for replacements for colord
debug: new version of 'colord' found (0.1.21-1 => 0.1.21-2)
debug: adding package colord-0.1.21-2 to the transaction targets
debug: searching for replacements for compositeproto
debug: searching for replacements for consolekit
debug: searching for replacements for convertlit
debug: searching for replacements for cups
debug: searching for replacements for cups-filters
debug: searching for replacements for cups-pdf
debug: searching for replacements for damageproto
debug: searching for replacements for dbus
debug: searching for replacements for dbus-glib
debug: searching for replacements for dbus-python
debug: searching for replacements for dbus-python
:: Starting full system upgrade...
:: Replace dbus-python with extra/python2-dbus? [Y/n] debug: adding package python2-dbus-1.1.0-2 to the transaction targets
debug: searching for replacements for dbus-python
debug: searching for replacements for dbus-python
debug: searching for replacements for dbus-python
debug: searching for replacements for dbus-python
debug: searching for replacements for dbus-python
debug: searching for replacements for dbus-python
debug: searching for replacements for dbus-python
debug: searching for replacements for desktop-file-utils
debug: new version of 'desktop-file-utils' found (0.19-1 => 0.20-1)
debug: adding package desktop-file-utils-0.20-1 to the transaction targets
debug: searching for replacements for dhclient
debug: searching for replacements for djvulibre
debug: searching for replacements for dnsmasq
debug: searching for replacements for docbook-xml
debug: searching for replacements for docbook-xsl
debug: searching for replacements for dolphin-box-plugin-git
debug: searching for replacements for dolphin-box-plugin-git
debug: searching for replacements for dolphin-box-plugin-git
debug: searching for replacements for dolphin-box-plugin-git
debug: searching for replacements for dolphin-box-plugin-git
debug: searching for replacements for dolphin-box-plugin-git
debug: searching for replacements for dolphin-box-plugin-git
debug: searching for replacements for dolphin-box-plugin-git
debug: searching for replacements for dolphin-box-plugin-git
debug: searching for replacements for dri2proto
debug: searching for replacements for dropbox
debug: searching for replacements for dropbox
debug: searching for replacements for dropbox
debug: searching for replacements for dropbox
debug: searching for replacements for dropbox
debug: searching for replacements for dropbox
debug: searching for replacements for dropbox-cli
debug: searching for replacements for dropbox-cli
debug: searching for replacements for dropbox-cli
debug: searching for replacements for dropbox-cli
debug: searching for replacements for dropbox-cli
debug: searching for replacements for dropbox-cli
debug: searching for replacements for dropbox-cli
debug: searching for replacements for dropbox-cli
debug: searching for replacements for dropbox-cli
debug: searching for replacements for dropbox-daemon
debug: searching for replacements for dropbox-daemon
debug: searching for replacements for dropbox-daemon
debug: searching for replacements for dropbox-daemon
debug: searching for replacements for dropbox-daemon
debug: searching for replacements for dropbox-daemon
debug: searching for replacements for dropbox-daemon
debug: searching for replacements for dropbox-daemon
debug: searching for replacements for dropbox-daemon
debug: searching for replacements for dropbox-servicemenu
debug: searching for replacements for dropbox-servicemenu
debug: searching for replacements for dropbox-servicemenu
debug: searching for replacements for dropbox-servicemenu
debug: searching for replacements for dropbox-servicemenu
debug: searching for replacements for dropbox-servicemenu
debug: searching for replacements for dropbox-servicemenu
debug: searching for replacements for dropbox-servicemenu
debug: searching for replacements for dropbox-servicemenu
debug: searching for replacements for dvd+rw-tools
debug: searching for replacements for ebook-tools
debug: searching for replacements for eject
debug: searching for replacements for enca
debug: searching for replacements for enchant
debug: searching for replacements for exiv2
debug: searching for replacements for extra-monochrome-tray-icons
debug: searching for replacements for extra-monochrome-tray-icons
debug: searching for replacements for extra-monochrome-tray-icons
debug: searching for replacements for extra-monochrome-tray-icons
debug: searching for replacements for extra-monochrome-tray-icons
debug: searching for replacements for extra-monochrome-tray-icons
debug: searching for replacements for extra-monochrome-tray-icons
debug: searching for replacements for extra-monochrome-tray-icons
debug: searching for replacements for extra-monochrome-tray-icons
debug: searching for replacements for faac
debug: searching for replacements for faad2
debug: searching for replacements for faenza-icon-theme
debug: searching for replacements for faenza-icon-theme
debug: searching for replacements for faenza-icon-theme
debug: searching for replacements for faenza-icon-theme
debug: searching for replacements for faenza-icon-theme
debug: searching for replacements for faenza-icon-theme
debug: searching for replacements for faenza-icon-theme
debug: searching for replacements for faenza-icon-theme
debug: searching for replacements for faenza-icon-theme
debug: searching for replacements for ffmpeg
debug: searching for replacements for fftw
debug: searching for replacements for firefox
debug: searching for replacements for firefox-adblock-plus
debug: searching for replacements for firefox-adblock-plus
debug: searching for replacements for firefox-i18n-en-gb
debug: searching for replacements for fixesproto
debug: searching for replacements for flac
debug: searching for replacements for flashplugin
debug: searching for replacements for fontconfig
debug: searching for replacements for fontsproto
debug: searching for replacements for foomatic-db
debug: searching for replacements for foomatic-db-engine
debug: searching for replacements for foomatic-filters
debug: searching for replacements for freeglut
debug: searching for replacements for freetype2
debug: new version of 'freetype2' found (2.4.9-2 => 2.4.10-1)
debug: adding package freetype2-2.4.10-1 to the transaction targets
debug: searching for replacements for fribidi
debug: searching for replacements for fuse
debug: searching for replacements for fuseiso
debug: searching for replacements for fuseiso
debug: searching for replacements for gamin
debug: searching for replacements for gconf
debug: searching for replacements for gd
debug: searching for replacements for gdk-pixbuf2
debug: searching for replacements for gegl
debug: searching for replacements for ghostscript
debug: searching for replacements for giflib
debug: searching for replacements for gimp
debug: searching for replacements for git
debug: new version of 'git' found (1.7.10.3-1 => 1.7.10.4-1)
debug: adding package git-1.7.10.4-1 to the transaction targets
debug: searching for replacements for glew
debug: searching for replacements for glib-networking
debug: searching for replacements for glproto
debug: searching for replacements for gnome-doc-utils
debug: searching for replacements for gnutls
debug: new version of 'gnutls' found (3.0.19-1 => 3.0.20-1)
debug: adding package gnutls-3.0.20-1 to the transaction targets
debug: searching for replacements for gperf
debug: searching for replacements for grantlee
debug: searching for replacements for graphite
debug: searching for replacements for gsettings-desktop-schemas
debug: searching for replacements for gsfonts
debug: searching for replacements for gsm
debug: searching for replacements for gstreamer0.10
debug: searching for replacements for gstreamer0.10-base
debug: searching for replacements for gstreamer0.10-base-plugins
debug: searching for replacements for gstreamer0.10-good
debug: searching for replacements for gstreamer0.10-good-plugins
debug: searching for replacements for gtk-doc
debug: searching for replacements for gtk-engines
debug: new version of 'gtk-engines' found (2.20.2-2 => 2.21.0-1)
debug: adding package gtk-engines-2.21.0-1 to the transaction targets
debug: searching for replacements for gtk-kde4
debug: searching for replacements for gtk-kde4
debug: searching for replacements for gtk-update-icon-cache
debug: searching for replacements for gtk2
debug: searching for replacements for gtk2-xfce-engine
debug: searching for replacements for gtk3
debug: searching for replacements for gtk3-xfce-engine
debug: searching for replacements for hicolor-icon-theme
debug: searching for replacements for hplip
debug: searching for replacements for hpoj
debug: searching for replacements for hspell
debug: searching for replacements for hsqldb-java
debug: searching for replacements for htop
debug: searching for replacements for hunspell
debug: searching for replacements for hyphen
debug: searching for replacements for icu
debug: new version of 'icu' found (49.1.1-2 => 49.1.2-1)
debug: adding package icu-49.1.2-1 to the transaction targets
debug: searching for replacements for ilmbase
debug: searching for replacements for imagemagick
debug: searching for replacements for imgur-servicemenu
debug: searching for replacements for imgur-servicemenu
debug: searching for replacements for imgur-servicemenu
debug: searching for replacements for imgur-servicemenu
debug: searching for replacements for imgur-servicemenu
debug: searching for replacements for imgur-servicemenu
debug: searching for replacements for imgur-servicemenu
debug: searching for replacements for imgur-servicemenu
debug: searching for replacements for imgur-servicemenu
debug: searching for replacements for imlib2
debug: searching for replacements for inputproto
debug: searching for replacements for intel-dri
debug: new version of 'intel-dri' found (8.0.3-2 => 8.0.3-3)
debug: adding package intel-dri-8.0.3-3 to the transaction targets
debug: searching for replacements for inxi
debug: searching for replacements for inxi
debug: searching for replacements for iotop
debug: searching for replacements for iotop
debug: searching for replacements for iso-codes
debug: searching for replacements for jack
debug: searching for replacements for jasper
debug: searching for replacements for json-c
debug: searching for replacements for kactivities
debug: new version of 'kactivities' found (4.8.3-1 => 4.8.4-1)
debug: adding package kactivities-4.8.4-1 to the transaction targets
debug: searching for replacements for kamoso
debug: searching for replacements for kamoso
debug: searching for replacements for kamoso
debug: searching for replacements for kamoso
debug: searching for replacements for kamoso
debug: searching for replacements for kamoso
debug: searching for replacements for kamoso
debug: searching for replacements for kamoso
debug: searching for replacements for kamoso
debug: searching for replacements for kbproto
debug: searching for replacements for kchmviewer
debug: searching for replacements for kchmviewer
debug: searching for replacements for kdeadmin-system-config-printer-kde
debug: searching for replacements for kdebase-dolphin
debug: searching for replacements for kdebase-katepart
debug: searching for replacements for kdebase-kdepasswd
debug: searching for replacements for kdebase-kdialog
debug: searching for replacements for kdebase-keditbookmarks
debug: searching for replacements for kdebase-kfind
debug: searching for replacements for kdebase-konq-plugins
debug: searching for replacements for kdebase-konqueror
debug: new version of 'kdebase-konqueror' found (4.8.3-1 => 4.8.4-1)
debug: adding package kdebase-konqueror-4.8.4-1 to the transaction targets
debug: searching for replacements for kdebase-konsole
debug: searching for replacements for kdebase-lib
debug: new version of 'kdebase-lib' found (4.8.3-1 => 4.8.4-1)
debug: adding package kdebase-lib-4.8.4-1 to the transaction targets
debug: searching for replacements for kdebase-plasma
debug: searching for replacements for kdebase-runtime
debug: new version of 'kdebase-runtime' found (4.8.3-1 => 4.8.4-1)
debug: adding package kdebase-runtime-4.8.4-1 to the transaction targets
debug: searching for replacements for kdebase-workspace
debug: new version of 'kdebase-workspace' found (4.8.3-2 => 4.8.4-1)
debug: adding package kdebase-workspace-4.8.4-1 to the transaction targets
debug: searching for replacements for kdebindings-python2
debug: new version of 'kdebindings-python2' found (4.8.3-1 => 4.8.4-1)
debug: adding package kdebindings-python2-4.8.4-1 to the transaction targets
debug: searching for replacements for kdegames-kpatience
debug: searching for replacements for kdegames-libkdegames
debug: new version of 'kdegames-libkdegames' found (4.8.3-1 => 4.8.4-1)
debug: adding package kdegames-libkdegames-4.8.4-1 to the transaction targets
debug: searching for replacements for kdegraphics-gwenview
debug: searching for replacements for kdegraphics-ksnapshot
debug: searching for replacements for kdegraphics-okular
debug: searching for replacements for kdelibs
debug: new version of 'kdelibs' found (4.8.3-3 => 4.8.4-2)
debug: adding package kdelibs-4.8.4-2 to the transaction targets
debug: searching for replacements for kdemultimedia-ffmpegthumbs
debug: searching for replacements for kdemultimedia-juk
debug: searching for replacements for kdemultimedia-kmix
debug: searching for replacements for kdenetwork-kppp
debug: searching for replacements for kdepim-runtime
debug: new version of 'kdepim-runtime' found (4.8.3-2 => 4.8.4-1)
debug: adding package kdepim-runtime-4.8.4-1 to the transaction targets
debug: searching for replacements for kdepimlibs
debug: new version of 'kdepimlibs' found (4.8.3-1 => 4.8.4-1)
debug: adding package kdepimlibs-4.8.4-1 to the transaction targets
debug: searching for replacements for kdeplasma-addons-applets-showdesktop
debug: searching for replacements for kdeplasma-applets-networkmanagement
debug: searching for replacements for kdesdk-dolphin-plugins
debug: searching for replacements for kdesdk-kate
debug: searching for replacements for kdeutils-ark
debug: searching for replacements for kdeutils-filelight
debug: searching for replacements for kdeutils-kcalc
debug: searching for replacements for kdeutils-kcharselect
debug: searching for replacements for kfaenza-icon-theme
debug: searching for replacements for kfaenza-icon-theme
debug: searching for replacements for kfaenza-icon-theme
debug: searching for replacements for kfaenza-icon-theme
debug: searching for replacements for kfaenza-icon-theme
debug: searching for replacements for kfaenza-icon-theme
debug: searching for replacements for kfaenza-icon-theme
debug: searching for replacements for kfaenza-icon-theme
debug: searching for replacements for kfaenza-icon-theme
debug: searching for replacements for khrplatform-devel
debug: new version of 'khrplatform-devel' found (8.0.3-2 => 8.0.3-3)
debug: adding package khrplatform-devel-8.0.3-3 to the transaction targets
debug: new version of 'krb5' found (1.10.1-3 => 1.10.2-1)
debug: adding package krb5-1.10.2-1 to the transaction targets
debug: searching for replacements for lame
debug: searching for replacements for lcms
debug: searching for replacements for lcms2
debug: searching for replacements for libao
debug: searching for replacements for libass
debug: searching for replacements for libasyncns
debug: searching for replacements for libatasmart
debug: searching for replacements for libavc1394
debug: searching for replacements for libbluedevil
debug: searching for replacements for libbluray
debug: searching for replacements for libcaca
debug: searching for replacements for libcanberra
debug: searching for replacements for libcap-ng
debug: searching for replacements for libcddb
debug: searching for replacements for libcdio
debug: searching for replacements for libcroco
debug: searching for replacements for libcups
debug: new version of 'libcups' found (1.5.3-3 => 1.5.3-5)
debug: adding package libcups-1.5.3-5 to the transaction targets
debug: searching for replacements for libdaemon
debug: searching for replacements for libdatrie
debug: searching for replacements for libdbusmenu-qt
debug: searching for replacements for libdca
debug: searching for replacements for libdmtx
debug: searching for replacements for libdrm
debug: new version of 'libdrm' found (2.4.33-1 => 2.4.35-1)
debug: adding package libdrm-2.4.35-1 to the transaction targets
debug: searching for replacements for libdv
debug: searching for replacements for libdvbpsi
debug: searching for replacements for libdvdnav
debug: searching for replacements for libdvdread
debug: searching for replacements for libebml
debug: searching for replacements for libegl
debug: new version of 'libegl' found (8.0.3-2 => 8.0.3-3)
debug: adding package libegl-8.0.3-3 to the transaction targets
debug: searching for replacements for libexif
debug: searching for replacements for libfetch
debug: searching for replacements for libfetch
debug: searching for replacements for libfetch
debug: searching for replacements for libfetch
debug: searching for replacements for libfetch
debug: searching for replacements for libfetch
debug: searching for replacements for libfetch
debug: searching for replacements for libfetch
debug: searching for replacements for libfetch
debug: searching for replacements for libfontenc
debug: searching for replacements for libftdi
debug: searching for replacements for libgcal
debug: searching for replacements for libgcal
debug: searching for replacements for libgcal
debug: searching for replacements for libgcal
debug: searching for replacements for libgcal
debug: searching for replacements for libgcal
debug: searching for replacements for libgl
debug: new version of 'libgl' found (8.0.3-2 => 8.0.3-3)
debug: adding package libgl-8.0.3-3 to the transaction targets
debug: searching for replacements for libglade
debug: searching for replacements for libglapi
debug: new version of 'libglapi' found (8.0.3-2 => 8.0.3-3)
debug: adding package libglapi-8.0.3-3 to the transaction targets
debug: searching for replacements for libgles
debug: new version of 'libgles' found (8.0.3-2 => 8.0.3-3)
debug: adding package libgles-8.0.3-3 to the transaction targets
debug: searching for replacements for libgnome-keyring
debug: searching for replacements for libgphoto2
debug: searching for replacements for libgusb
debug: searching for replacements for libical
debug: searching for replacements for libice
debug: searching for replacements for libid3tag
debug: searching for replacements for libidl2
debug: searching for replacements for libiec61883
debug: searching for replacements for libieee1284
debug: searching for replacements for libimobiledevice
debug: searching for replacements for libiodbc
debug: searching for replacements for libirman
debug: searching for replacements for libjpeg-turbo
debug: searching for replacements for libkate
debug: searching for replacements for libkipi
debug: new version of 'libkipi' found (4.8.3-1 => 4.8.4-1)
debug: adding package libkipi-4.8.4-1 to the transaction targets
debug: searching for replacements for libksane
debug: new version of 'libksane' found (4.8.3-1 => 4.8.4-1)
debug: adding package libksane-4.8.4-1 to the transaction targets
debug: searching for replacements for liblastfm
debug: searching for replacements for libmad
debug: searching for replacements for libmatroska
debug: searching for replacements for libmikmod
debug: searching for replacements for libmng
debug: searching for replacements for libmodplug
debug: searching for replacements for libmp4v2
debug: searching for replacements for libmpcdec
debug: searching for replacements for libmpeg2
debug: searching for replacements for libmysqlclient
debug: new version of 'libmysqlclient' found (5.5.24-1 => 5.5.25-1)
debug: adding package libmysqlclient-5.5.25-1 to the transaction targets
debug: searching for replacements for libnewt
debug: searching for replacements for libnewt
debug: searching for replacements for libnotify
debug: searching for replacements for libofa
debug: searching for replacements for libogg
debug: searching for replacements for libosip2
debug: searching for replacements for libosip2
debug: searching for replacements for libpciaccess
debug: searching for replacements for libplist
debug: searching for replacements for libpng
debug: new version of 'libpng' found (1.5.10-1 => 1.5.11-1)
debug: adding package libpng-1.5.11-1 to the transaction targets
debug: searching for replacements for libpng12
debug: searching for replacements for libpng12
debug: searching for replacements for libpng12
debug: searching for replacements for libpng12
debug: searching for replacements for libproxy
debug: searching for replacements for libpulse
debug: searching for replacements for libqalculate
debug: searching for replacements for libqzeitgeist
debug: searching for replacements for libraw1394
debug: searching for replacements for libreoffice-base
debug: searching for replacements for libreoffice-calc
debug: searching for replacements for libreoffice-common
debug: searching for replacements for libreoffice-draw
debug: searching for replacements for libreoffice-en-GB
debug: searching for replacements for libreoffice-impress
debug: searching for replacements for libreoffice-kde4
debug: searching for replacements for libreoffice-math
debug: searching for replacements for libreoffice-writer
debug: searching for replacements for librsvg
debug: searching for replacements for librsync
debug: searching for replacements for librsync
debug: searching for replacements for libsamplerate
debug: searching for replacements for libshout
debug: searching for replacements for libsm
debug: searching for replacements for libsndfile
debug: searching for replacements for libsoup
debug: searching for replacements for libsoup-gnome
debug: searching for replacements for libspectre
debug: searching for replacements for libssh
debug: searching for replacements for libstdc++5
debug: searching for replacements for libtasn1
debug: searching for replacements for libthai
debug: searching for replacements for libtheora
debug: searching for replacements for libtiff
debug: searching for replacements for libtiger
debug: searching for replacements for libupnp
debug: searching for replacements for libusb
:: Replace libusb with core/libusbx? [Y/n] debug: adding package libusbx-1.0.11-2 to the transaction targets
debug: searching for replacements for libusb
debug: searching for replacements for libusb
debug: searching for replacements for libusb
debug: searching for replacements for libusb
debug: searching for replacements for libusb
debug: searching for replacements for libusb
debug: searching for replacements for libusb
debug: searching for replacements for libusb
debug: searching for replacements for libva
debug: new version of 'libva' found (1.0.15-1 => 1.1.0-1)
debug: adding package libva-1.1.0-1 to the transaction targets
debug: searching for replacements for libva-driver-intel
debug: searching for replacements for libvdpau
debug: searching for replacements for libvisual
debug: searching for replacements for libvorbis
debug: searching for replacements for libvpx
debug: searching for replacements for libwbclient
debug: new version of 'libwbclient' found (3.6.5-1 => 3.6.5-3)
debug: adding package libwbclient-3.6.5-3 to the transaction targets
debug: searching for replacements for libwmf
debug: searching for replacements for libwpd
debug: searching for replacements for libwps
debug: searching for replacements for libx11
debug: searching for replacements for libxau
debug: searching for replacements for libxaw
debug: searching for replacements for libxcb
debug: searching for replacements for libxcomposite
debug: searching for replacements for libxcursor
debug: searching for replacements for libxdamage
debug: searching for replacements for libxdmcp
debug: searching for replacements for libxext
debug: searching for replacements for libxfixes
debug: searching for replacements for libxfont
debug: searching for replacements for libxft
debug: searching for replacements for libxi
debug: searching for replacements for libxinerama
debug: searching for replacements for libxkbfile
debug: searching for replacements for libxklavier
debug: searching for replacements for libxml2
debug: searching for replacements for libxmu
debug: searching for replacements for libxpm
debug: searching for replacements for libxrandr
debug: searching for replacements for libxrender
debug: searching for replacements for libxres
debug: searching for replacements for libxslt
debug: searching for replacements for libxss
debug: searching for replacements for libxt
debug: searching for replacements for libxtst
debug: searching for replacements for libxv
debug: searching for replacements for libxvmc
debug: searching for replacements for libxxf86dga
debug: searching for replacements for libxxf86vm
debug: searching for replacements for libzip
debug: new version of 'linux-api-headers' found (3.3.2-1 => 3.3.8-1)
debug: adding package linux-api-headers-3.3.8-1 to the transaction targets
debug: searching for replacements for lirc-utils
debug: new version of 'lirc-utils' found (1:0.9.0-16 => 1:0.9.0-18)
debug: adding package lirc-utils-1:0.9.0-18 to the transaction targets
debug: searching for replacements for lm_sensors
debug: searching for replacements for lpsolve
debug: searching for replacements for lrzip
debug: searching for replacements for lrzip
debug: searching for replacements for lsof
debug: searching for replacements for lua
debug: searching for replacements for mcpp
debug: searching for replacements for media-player-info
debug: searching for replacements for mercurial
debug: searching for replacements for mesa
debug: searching for replacements for mesa-demos
debug: searching for replacements for mime-types
debug: new version of 'mkinitcpio' found (0.9.1-1 => 0.9.2-2)
debug: adding package mkinitcpio-0.9.2-2 to the transaction targets
debug: searching for replacements for mobile-broadband-provider-info
debug: searching for replacements for modemmanager
debug: searching for replacements for monochrome-tray-icons
debug: searching for replacements for monochrome-tray-icons
debug: searching for replacements for monochrome-tray-icons
debug: searching for replacements for monochrome-tray-icons
debug: searching for replacements for monochrome-tray-icons
debug: searching for replacements for monochrome-tray-icons
debug: searching for replacements for monochrome-tray-icons
debug: searching for replacements for monochrome-tray-icons
debug: searching for replacements for monochrome-tray-icons
debug: searching for replacements for mozilla-common
debug: searching for replacements for mpg123
debug: searching for replacements for mplayer
debug: searching for replacements for mtdev
debug: searching for replacements for mysql
debug: new version of 'mysql' found (5.5.24-1 => 5.5.25-1)
debug: adding package mysql-5.5.25-1 to the transaction targets
debug: searching for replacements for mysql-clients
debug: new version of 'mysql-clients' found (5.5.24-1 => 5.5.25-1)
debug: adding package mysql-clients-5.5.25-1 to the transaction targets
debug: searching for replacements for nano-syntax-highlighting
debug: searching for replacements for nano-syntax-highlighting
debug: searching for replacements for nano-syntax-highlighting
debug: searching for replacements for nano-syntax-highlighting
debug: searching for replacements for nano-syntax-highlighting
debug: searching for replacements for nano-syntax-highlighting
debug: searching for replacements for nano-syntax-highlighting
debug: searching for replacements for nano-syntax-highlighting
debug: searching for replacements for nano-syntax-highlighting
debug: searching for replacements for neon
debug: searching for replacements for net-snmp
debug: searching for replacements for nettle
debug: searching for replacements for networkmanager-git
debug: searching for replacements for networkmanager-git
debug: searching for replacements for networkmanager-git
debug: searching for replacements for networkmanager-git
debug: searching for replacements for networkmanager-git
debug: searching for replacements for networkmanager-git
debug: searching for replacements for networkmanager-git
debug: searching for replacements for networkmanager-git
debug: searching for replacements for networkmanager-git
debug: searching for replacements for nspr
debug: searching for replacements for nss
debug: searching for replacements for ntfs-3g
debug: searching for replacements for obex-data-server
debug: searching for replacements for obexd-client
debug: searching for replacements for obexfs
debug: searching for replacements for obexfs
debug: searching for replacements for obexftp
debug: searching for replacements for openal
debug: searching for replacements for opencore-amr
debug: searching for replacements for openexr
debug: searching for replacements for openjpeg
debug: searching for replacements for openobex
debug: searching for replacements for openslp
debug: searching for replacements for opera
debug: searching for replacements for opera
debug: searching for replacements for orbit2
debug: searching for replacements for orc
debug: searching for replacements for oxygen-gtk2
debug: searching for replacements for oxygen-icons
debug: new version of 'oxygen-icons' found (4.8.3-1 => 4.8.4-1)
debug: adding package oxygen-icons-4.8.4-1 to the transaction targets
debug: searching for replacements for p11-kit
debug: searching for replacements for p7zip
debug: searching for replacements for package-query
debug: searching for replacements for package-query
debug: searching for replacements for package-query
debug: searching for replacements for package-query
debug: searching for replacements for packagekit
debug: searching for replacements for packagekit
debug: searching for replacements for packagekit-qt2
debug: searching for replacements for packagekit-qt2
debug: searching for replacements for packer
debug: searching for replacements for packer
debug: searching for replacements for packer
debug: searching for replacements for packer
debug: searching for replacements for packer
debug: searching for replacements for packer
debug: new version of 'pam' found (1.1.5-3 => 1.1.5-4)
debug: adding package pam-1.1.5-4 to the transaction targets
debug: searching for replacements for pango
debug: new version of 'pango' found (1.30.0-1 => 1.30.1-1)
debug: adding package pango-1.30.1-1 to the transaction targets
debug: searching for replacements for parted
debug: searching for replacements for perl-error
debug: searching for replacements for phonon
debug: searching for replacements for phonon-vlc
debug: new version of 'pinentry' found (0.8.1-3 => 0.8.1-4)
debug: adding package pinentry-0.8.1-4 to the transaction targets
debug: searching for replacements for pixman
debug: searching for replacements for pm-quirks
debug: searching for replacements for pm-utils
debug: searching for replacements for polkit
debug: searching for replacements for polkit-kde
debug: searching for replacements for polkit-qt
debug: searching for replacements for poppler
debug: searching for replacements for poppler-data
debug: searching for replacements for poppler-qt
debug: searching for replacements for portaudio
debug: searching for replacements for portaudio
debug: searching for replacements for prison
debug: searching for replacements for pycups
debug: searching for replacements for pygobject2-devel
debug: searching for replacements for pygtk
debug: searching for replacements for pyqt
debug: new version of 'pyqt' found (4.9.1-1 => 4.9.1-2)
debug: adding package pyqt-4.9.1-2 to the transaction targets
debug: searching for replacements for pysmbc
debug: searching for replacements for python
debug: searching for replacements for python-m2crypto
debug: searching for replacements for python-pycurl
debug: searching for replacements for python2
debug: searching for replacements for python2-cairo
debug: searching for replacements for python2-gobject2
debug: searching for replacements for python2-pyqt
debug: new version of 'python2-pyqt' found (4.9.1-1 => 4.9.1-2)
debug: adding package python2-pyqt-4.9.1-2 to the transaction targets
debug: searching for replacements for python2-sip
debug: searching for replacements for qca
debug: searching for replacements for qimageblitz
debug: searching for replacements for qjson
debug: searching for replacements for qrencode
debug: searching for replacements for qscintilla
debug: searching for replacements for qt
debug: searching for replacements for qt-gstreamer
debug: searching for replacements for qtscriptgenerator
debug: searching for replacements for qtwebkit
debug: searching for replacements for randrproto
debug: searching for replacements for raptor
debug: searching for replacements for rar
debug: searching for replacements for rar
debug: searching for replacements for rar
debug: searching for replacements for rar
debug: searching for replacements for rar
debug: searching for replacements for rar
debug: searching for replacements for rarian
debug: searching for replacements for rasqal
debug: searching for replacements for rdiff-backup
debug: searching for replacements for rdiff-backup
debug: searching for replacements for recode
debug: searching for replacements for recordproto
debug: searching for replacements for redland
debug: searching for replacements for redland-storage-virtuoso
debug: searching for replacements for reflector
debug: searching for replacements for reflector
debug: searching for replacements for rekonq
debug: searching for replacements for rekonq
debug: searching for replacements for renderproto
debug: searching for replacements for rsync
debug: searching for replacements for rtmpdump
debug: searching for replacements for samba
debug: searching for replacements for sane
debug: searching for replacements for schroedinger
debug: searching for replacements for scrnsaverproto
debug: searching for replacements for sdl
debug: searching for replacements for sdl_image
debug: searching for replacements for sdl_mixer
debug: searching for replacements for sg3_utils
debug: searching for replacements for shared-color-profiles
debug: searching for replacements for shared-desktop-ontologies
debug: searching for replacements for shared-mime-info
debug: searching for replacements for sharutils
debug: searching for replacements for shorewall
debug: searching for replacements for shorewall
debug: searching for replacements for shorewall-core
debug: searching for replacements for shorewall-core
debug: new version of 'shorewall-core' found (4.5.4.1-1 => 4.5.5.1-1)
debug: adding package shorewall-core-4.5.5.1-1 to the transaction targets
debug: searching for replacements for sip
debug: searching for replacements for skanlite
debug: searching for replacements for slang
debug: searching for replacements for smbclient
debug: new version of 'smbclient' found (3.6.5-1 => 3.6.5-3)
debug: adding package smbclient-3.6.5-3 to the transaction targets
debug: searching for replacements for smpeg
debug: searching for replacements for soprano
debug: searching for replacements for speex
debug: searching for replacements for sqlite
debug: new version of 'sqlite' found (3.7.12.1-1 => 3.7.13-1)
debug: adding package sqlite-3.7.13-1 to the transaction targets
debug: searching for replacements for squid
debug: searching for replacements for startup-notification
debug: searching for replacements for strigi
debug: searching for replacements for system-config-printer-common
debug: searching for replacements for taglib
debug: searching for replacements for taglib-extras
debug: searching for replacements for talloc
debug: searching for replacements for tdb
debug: searching for replacements for tidyhtml
debug: searching for replacements for tmux
debug: searching for replacements for tmux
debug: searching for replacements for transmission-cli
debug: searching for replacements for transmission-qt
debug: searching for replacements for ttf-bitstream-vera
debug: searching for replacements for ttf-charis
debug: searching for replacements for ttf-charis
debug: searching for replacements for ttf-charis
debug: searching for replacements for ttf-charis
debug: searching for replacements for ttf-charis
debug: searching for replacements for ttf-dejavu
debug: searching for replacements for ttf-freefont
debug: searching for replacements for ttf-google-webfonts
debug: searching for replacements for ttf-google-webfonts
debug: searching for replacements for ttf-google-webfonts
debug: searching for replacements for ttf-google-webfonts
debug: searching for replacements for ttf-google-webfonts
debug: searching for replacements for ttf-malayalam-fonts
debug: searching for replacements for ttf-malayalam-fonts
debug: searching for replacements for ttf-malayalam-fonts
debug: searching for replacements for ttf-malayalam-fonts
debug: searching for replacements for ttf-malayalam-fonts
debug: searching for replacements for ttf-mintspirit
debug: searching for replacements for ttf-mintspirit
debug: searching for replacements for ttf-mintspirit
debug: searching for replacements for ttf-mintspirit
debug: searching for replacements for ttf-mintspirit
debug: searching for replacements for ttf-ms-fonts
debug: searching for replacements for ttf-ms-fonts
debug: searching for replacements for ttf-ms-fonts
debug: searching for replacements for ttf-ms-fonts
debug: searching for replacements for ttf-ms-fonts
debug: searching for replacements for udisks
debug: searching for replacements for unace
debug: searching for replacements for unace
debug: searching for replacements for unixodbc
debug: searching for replacements for unrar
debug: searching for replacements for unzip
debug: searching for replacements for upower
debug: searching for replacements for usbmuxd
debug: searching for replacements for v4l-utils
debug: searching for replacements for videoproto
debug: searching for replacements for virtuoso
debug: searching for replacements for vlc
debug: searching for replacements for wavpack
debug: searching for replacements for webmin
debug: searching for replacements for webmin-plugin-shorewall
debug: searching for replacements for webmin-plugin-shorewall
debug: searching for replacements for webmin-plugin-shorewall
debug: searching for replacements for webmin-plugin-shorewall
debug: searching for replacements for webmin-plugin-shorewall
debug: searching for replacements for webmin-plugin-shorewall
debug: searching for replacements for webmin-plugin-shorewall
debug: searching for replacements for webmin-plugin-shorewall
debug: searching for replacements for webmin-plugin-shorewall
debug: searching for replacements for worldofgoo
debug: searching for replacements for worldofgoo
debug: searching for replacements for worldofgoo
debug: searching for replacements for worldofgoo
debug: searching for replacements for worldofgoo
debug: searching for replacements for worldofgoo
debug: searching for replacements for worldofgoo
debug: searching for replacements for worldofgoo
debug: searching for replacements for worldofgoo
debug: searching for replacements for wvdial
debug: searching for replacements for wvdial
debug: searching for replacements for wvstreams
debug: searching for replacements for wvstreams
debug: searching for replacements for x264
debug: searching for replacements for xcb-proto
debug: searching for replacements for xcb-util
debug: searching for replacements for xcb-util-keysyms
debug: searching for replacements for xdg-utils
debug: searching for replacements for xextproto
debug: searching for replacements for xf86-input-evdev
debug: searching for replacements for xf86-input-joystick
debug: searching for replacements for xf86-input-synaptics
debug: searching for replacements for xf86-video-intel
debug: searching for replacements for xf86dgaproto
debug: searching for replacements for xf86vidmodeproto
debug: searching for replacements for xineramaproto
debug: searching for replacements for xkeyboard-config
debug: searching for replacements for xorg-bdftopcf
debug: searching for replacements for xorg-font-util
debug: searching for replacements for xorg-font-utils
debug: searching for replacements for xorg-fonts-alias
debug: searching for replacements for xorg-fonts-encodings
debug: searching for replacements for xorg-fonts-misc
debug: searching for replacements for xorg-iceauth
debug: searching for replacements for xorg-mkfontdir
debug: searching for replacements for xorg-mkfontscale
debug: searching for replacements for xorg-server
debug: searching for replacements for xorg-server-common
debug: searching for replacements for xorg-server-utils
debug: searching for replacements for xorg-sessreg
debug: searching for replacements for xorg-setxkbmap
debug: searching for replacements for xorg-xauth
debug: searching for replacements for xorg-xbacklight
debug: searching for replacements for xorg-xcmsdb
debug: searching for replacements for xorg-xgamma
debug: searching for replacements for xorg-xhost
debug: searching for replacements for xorg-xinit
debug: searching for replacements for xorg-xinput
debug: searching for replacements for xorg-xkbcomp
debug: searching for replacements for xorg-xmessage
debug: searching for replacements for xorg-xmodmap
debug: searching for replacements for xorg-xprop
debug: searching for replacements for xorg-xrandr
debug: searching for replacements for xorg-xrdb
debug: searching for replacements for xorg-xrefresh
debug: searching for replacements for xorg-xset
debug: searching for replacements for xorg-xsetroot
debug: searching for replacements for xplc
debug: searching for replacements for xplc
debug: searching for replacements for xproto
debug: searching for replacements for xvidcore
debug: searching for replacements for yajl
debug: searching for replacements for yajl
debug: searching for replacements for yaourt
d -
Problem while calling java function from html
when i tried to call a java function from html i'm getting an error
object don't support this property.
what could be the reason.
This is my html.
I got this from this forum only.
My applet is accessing the system property "user.home".
I ran it in IE
<DIV id="dvObjectHolder">Applet comes here</DIV>
<br><br>
<script>
if(window.navigator.appName.toLowerCase().indexOf("netscape")!=-1){ // set object for Netscape:
document.getElementById('dvObjectHolder').innerHTML = " <object ID='appletTest1' classid=\"java:test.class\"" +
"height=\"0\" width=\"0\" onError=\"changeObject();\"" +
">" +
"<param name=\"mayscript\" value=\"Y\">" +
"<param name=\"archive\" value=\"sTest.jar\">" +
"</object>";
}else if(window.navigator.appName.toLowerCase().indexOf('internet explorer')!=-1){ //set object for IE
document.getElementById('dvObjectHolder').innerHTML = "<object ID='appletTest1' classid=\"clsid:8AD9C840-044E-11D1-B3E9-00805F499D93\"" +
" height=\"0\" width=\"0\" >" +
" <param name=\"code\" value=\"test.class\" />" +
"<param name=\"archive\" value=\"sTest.jar\">" +
" </object>"
</script>
<LABEL id="lblOutputText">This text will be replaced by the applet</LABEL>
<BR>
<input value="Javascript to java" type=button onClick="document.appletTest1.fromJavaScript()">I tried this example using the repy given to an earlier post.
But its not working with me.
What i did in addition was adding plugin.jar to classpath to import netscape.javascript.*;
Let me add some more details
1) I'll add the stack trace
2) my java progrma
3) batch file to sign the applet.
1) This is the stack trace i don't know whether u will undertand this
load: class test.class not found.
java.lang.ClassNotFoundException: test.class
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadCode(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.FileNotFoundException: C:\FastranJava\AppletObject\bin\test\class.class (The system cannot find the path specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at sun.net.www.protocol.file.FileURLConnection.connect(Unknown Source)
at sun.net.www.protocol.file.FileURLConnection.getInputStream(Unknown Source)
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
... 10 more
Exception in thread "Thread-5" java.lang.NullPointerException
at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
at sun.plugin.AppletViewer.showAppletException(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
2) Java Program
import netscape.javascript.*;
import java.applet.*;
public class test extends Applet
private JSObject win;
private JSObject outputLabel;
private boolean buttonFromJavaClicked=false;
checkJavaScriptEvent evt=new checkJavaScriptEvent();
public void init()
try
evt.start();
win=JSObject.getWindow(this);
outputLabel=(JSObject)win.eval("document.getElementById('lblOutputText')");
outputLabel.setMember("innerHTML", "<center><h1>From Init<br>Your Home directory" + System.getProperty("user.home") + "</h1></center>");
catch(Exception e)
e.printStackTrace();
public void fromJavaScript()
buttonFromJavaClicked=true;
public void fromJavaScript2()
System.out.println("Started Form JavaScript2");
try
String strLbl="<center><h1>From JavaScript<br>Your Homedir:" + System.getProperty("user.home") + "</h1></center>";
outputLabel.setMember("innerHTML", strLbl);
catch(Exception e)
e.printStackTrace();
class checkJavaScriptEvent extends Thread
public void run()
while(true)
if(test.this.buttonFromJavaClicked)
System.out.println("OK buttonfromjava is true");
test.this.buttonFromJavaClicked=false;
fromJavaScript2();
try
Thread.sleep(3000);
catch(Exception e)
e.printStackTrace();
3) Batch file
del *.cer
del *.com
del *.jar
del *.class
javac -classpath ".;C:\Program Files\Java\jre1.5.0_06\lib\plugin.jar" test.java
keytool -genkey -keystore harm.com -keyalg rsa -dname "CN=Harm Meijer, OU=Technology, O=org, L=Amsterdam, ST=, C=NL" -alias harm -validity 3600 -keypass password -storepass password
jar cf0 test.jar *.class
jarsigner -keystore harm.com -storepass password -keypass password -signedjar sTest.jar test.jar harm
del *.class -
Switching a panel to another panel in the same frame.Is there a better way?
public void actionPerformed(ActionEvent e) {
if (e.getSource() instanceof toolButton){
westPanel.remove(optionPanel);
westPanel.setVisible(false);
toolButton tb = (toolButton)e.getSource();
optionPanel = tb.getPanel();
westPanel.add(optionPanel);
westPanel.setVisible(true);
}This code above is what I used to execute when one of several JButtons is being pressed.
In this program, one of the JPanel will be automatically switched to another JPanel when you press the respective JButtons.
Here are my questions:
1. Right now, I use westPanel.setVisible(false) and then change some stuff and then invoke westPanel.setVisible(true) to make it visible again. Although this works, I have a feeling that this is not quite right. I feel that there should be some better way to do this, switching the panel and request the program to redraw the replacing JPanel. Is there a better way for this?
2. Most of the time, the JPanel changes the size according to the components on it. I have tried several LayoutManager, but it seems that those components have more priority. Is there a way to completely fix the JPanel so that they stay the same size?Look into using a Card Layout rather than manually swapping the panels: http://java.sun.com/docs/books/tutorial/uiswing/layout/card.html
-
I'm having some trouble figuring out a way to have something like a tool - tip hover over the mouse as the user clicks and drags (say, over a JPanel), and constantly update the information in the text (like the mouse location). Any suggestions?
Well, try this:
1. create a JLayeredPane
2. set it as the content pane of the JPanel
3. add all the child components of the JPanel with JPanel.add(child,new Integer(1));
4. create another JPanel let's say tooltip
5. add it with JPanel.add(tooltip,new Integer(2)), of course by replacing JPanel with the reference to the JPanel
6. add a JLabel to tooltip
7. make tooltip invisible with tooltip.setVisible(false)
8. add some mouse listeners so that when the mouse is over the JPanel,
use tooltip.setVisible(true) and then just set the text in the JLabel.
Or, you can create a JToolTip, set a component for it and text... hehe -
Help with Web Server properties...
Hello All,
About my problem, I have some 1500+ HTML pages which I want to show in a presentation. And the main thing is I don't want to click on pages to go to next page. Can someone tell me if we can set any property of the Web Server to automate this process. Can we set a time limit or a trigger on web server which will automatically show these HTML pages in the browser?
Any help in this regard will be highly appreciated. Actually I have a very little time now to get this done...please help me.
Thanks & regards,
TapporiAt ten seconds/page ...that's over 4 hours. Good god man, the poor people who will be sitting through your show. Yikes.
Can't you add some javascript into each each html page that will redirect to the next specified page after so many seconds delay ? You could even template this using jsp so adjustments could be made more easily.
<script language="JavaScript" type="text/javascript">
<!-- Hide script from older browsers
setTimeout ("changePage()", 1000);
function changePage() {
window.location.replace("../applets.html");
// end hiding contents -->
</script>
Maybe you are looking for
-
Weird Problems with WDS (Macbook + xbox)
Hi - Hope someone can help... I have a Powermac G4 that does not support an airport card. So I bought 2 Airport Express' last year and set up a WDS network to act as a bridge between my Cable modem which is on a different floor to my Mac. After some
-
How to select a range of frames
Is there any way to select a range of frames in Scout beyond dragging the little handles in the "Frame timeline window" or using "Ctrl-A" to select all? For a large trace having to drag the handles is very tedious if it's across a minute's worth of f
-
Can't import automatically from my cameras
I'm an experienced iPhoto user but I can't seem to get my photos to automatically import. I connect one of my cameras and iPhoto launches or goes straight to its import window if it's already running but then it crashes. This happens repeatedly with
-
How to create dynamic strcture and accepting runtime value in work area
Hi, I am using RFC_READ_TABLE for joining more than table and written select query but into clause work area value is passed but it is short dump is displaying with too few many fields in into clause .work area WA need some casting type conversio
-
Problem with integrated webcam
I have a problem with my integrated webcam. It's working but there's a lot of glitches so it's impossible to use to record or to skype with. I've tried to chose a lower quality for it but it doesn't matter. What can I do?