To add gui
i wanted to add gui to this code..
the codes are pasted with their names..
COM PORT field and MESSAGE CENTER no.(smsc) are not being accepted..
pls help..i have bolded the parts which arent being acccepted
import java.util.Date;
public class Sender implements Runnable {
private static final long STANDARD=500;
private static final long LONG=2000;
private static final long VERYLONG=20000;
SerialConnection mySerial =null;
static final private char cntrlZ=(char)26;
String in, out;
Thread aThread=null;
private long delay=STANDARD;
String recipient=null;
String message=null;
SMSFrame frame=new SMSFrame();
***protected String csca="+919820205446"; // the message center***
***protected String port="COM6";***
private SerialParameters defaultParameters= new SerialParameters (port,9600,0,0,8,1,0);
public int step;
public int status=-1;
public long messageNo=-1;
public Sender() {
throw new UnsupportedOperationException("Not yet implemented");
public Sender(String recipient, String message){
this.recipient=recipient;
this.message=message;
public int send () throws Exception{
SerialParameters params = defaultParameters;
mySerial =new SerialConnection (params);
mySerial.openConnection();
aThread=new Thread(this);
System.out.println("PORT: " + port + " CSCA: " + csca);
aThread.start() ;
return 0;
public void run(){
boolean timeOut=false;
long startTime=(new Date()).getTime();
while ((step <7) && (!timeOut)){
timeOut=((new Date()).getTime() - startTime)>delay;
if (timeOut && (step==1)) {
step=-1;
mySerial.send( ""+cntrlZ);
//read incoming string
String result= mySerial.getIncommingString() ;
int expectedResult=-1;
try{
switch (step){
case 0:
mySerial.send("atz");
delay=LONG;
startTime=(new Date()).getTime();
break;
case 1:
delay=STANDARD;
mySerial.send("ath0");
startTime=(new Date()).getTime();
break;
case 2:
expectedResult=result.indexOf("OK");
if (expectedResult>-1){
mySerial.send("at+cmgf=1");
startTime=(new Date()).getTime();
}else{
step=step-1;
break;
case 3:
expectedResult=result.indexOf("OK");
if (expectedResult>-1){
mySerial.send("at+csca=\""+csca+"\"");
startTime=(new Date()).getTime();
}else{
step=step-1;
break;
case 4:
expectedResult=result.indexOf("OK");
if (expectedResult>-1){
mySerial.send("at+cmgs=\""+recipient+"\"");
startTime=(new Date()).getTime();
}else{
step=step-1;
break;
case 5:
expectedResult=result.indexOf(">");
if (expectedResult>-1){
mySerial.send(message+cntrlZ);
startTime=(new Date()).getTime();
}else{
step=step-1;
delay=VERYLONG;//waitning for message ack
break;
case 6:
expectedResult=result.indexOf("OK");
if (expectedResult>-1){
int n=result.indexOf("CMGS:");
result=result.substring(n+5);
n=result.indexOf("\n");
status=0;
messageNo=Long.parseLong(result.substring(0,n).trim() );
log ("sent message no:"+messageNo);
}else{
step=step-1;
break;
step=step+1;
aThread.sleep(100);
}catch (Exception e){
e.printStackTrace();
mySerial.closeConnection() ;
//if timed out set status
if (timeOut ) {
status=-2;
log("*** time out at step "+step+"***");
private void log(String s){
System.out.println (new java.util.Date()+":"+this.getClass().getName()+":"+s);
}
i am not able to post the entire code due to length restrictions..
i will be able to mail it..
pls help..
this is urgent..
Similar Messages
-
PowerShell to Add GUI to Server Core (ServerCore-FullServer)
Hi there i am stuggling to get to the work the conversion of Server Core to GUI and back again
the command seems to be
Import-Module Dism
Enable-WindowsOptionalFeature –online -Featurename ServerCore-FullServer,
Server-Gui-Shell,Server-Gui-Mgmt
However i get an error about not being able to find the source.
I added -Source D:\Sources\sxs to the above command but it still cant find the source.
Has anyone managed to get this to work?
This posting is provided "AS IS" with no warranties, and confers no rights. Check out my blog at - http://chrisbeams.wordpress.com/My CBS log is 1.5Gb.
Should I delete it and try to switch GUI?
Update: Anyway, I zipped and uploaded this file to "another cloud service" and sent you the link to [email protected] (I don't want to post link here, since it may contain a lot of private data).
Got it thanks. Could it be that you are using WSUS and FOD is hitting the WSUS server rather than WU?
(For others reference: in the logs there are tons of lines like this:
2013-10-22 16:22:25, Info
CBS Failed to add file amd64_microsoft-windows-w..pdateclient-activex_31bf3856ad364e35_7.8.9200.20553_none_3afa58e649862983\wuwebv.dll to extraction [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2013-10-22 16:22:25, Info
DPX Extraction of file: wow64_microsoft-windows-w..pdateclient-activex_31bf3856ad364e35_7.8.9200.20553_none_454f03387de6eb7e\wuapp.exe failed because it is not present in the container.
2013-10-22 16:22:25, Info
DPX DpxException hr=0x80070002 code=0x020109
2013-10-22 16:22:25, Info
CBS Failed to add file wow64_microsoft-windows-w..pdateclient-activex_31bf3856ad364e35_7.8.9200.20553_none_454f03387de6eb7e\wuapp.exe to extraction [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2013-10-22 16:22:25, Info
DPX Extraction of file: wow64_microsoft-windows-w..pdateclient-activex_31bf3856ad364e35_7.8.9200.20553_none_454f03387de6eb7e\wuwebv.dll failed because it is not present in the container.
2013-10-22 16:22:25, Info
DPX DpxException hr=0x80070002 code=0x020109
And then eventually:
2013-10-22 16:22:46, Info
CBS Exec: Missing files are found during staging attempt but failed to download content from WU. [HRESULT = 0x800f0906 - CBS_E_DOWNLOAD_FAILURE]
Don't worry Savvkin, none of this is personally identifiable information. -
Can anyone help me solve my problem trying add GUI to Inventory program?
Here is my code in which I am receiving a couple of errors.
package inventory4;
import java.util.*;
import javax.swing.*;
import java.awt.event.*;
import java.awt.*;
public class Inventory4 extends JFrame implements ActionListener {
private class MyPanel extends JPanel {
ImageIcon image = new ImageIcon("Sample.jpg");
int width = image.getIconWidth();
int height = image.getIconHeight();
long angle = 30;
public MyPanel() {
super();
public void paintComponent(Graphics g) {
super.paintComponent(g);
Graphics2D g2d = (Graphics2D) g;
g2d.rotate(Math.toRadians(angle), 60 + width / 2, 60 + height / 2);
g2d.drawImage(image.getImage(), 60, 60, this);
g2d.dispose();
}//end class MyPanel
int currentIndex; //Currently displayed Item
Product[] supplies = new Product[4];
JLabel name;
JLabel number;
JLabel title;
JLabel quantity;
JLabel price;
JLabel fee;
JLabel totalValue;
JTextField nameField = new JTextField(20);
JTextField numberField = new JTextField(20);
JTextField titleField = new JTextField(20);
JTextField quantityField = new JTextField(20);
JTextField priceField = new JTextField(20);
JPanel display;
JPanel displayHolder;
JPanel panel;
public Inventory4() {
setSize(500, 500);
setTitle("Bob's CD Inventory Program");
//make the panels
display = new JPanel();
JPanel other = new JPanel();
JPanel picture = new MyPanel();
JPanel centerPanel = new JPanel();
displayHolder = new JPanel();
display.setLayout(new GridLayout(7, 1));
//other.setLayout(new GridLayout(1, 1));
//make the labels
name = new JLabel("Name :");
number = new JLabel("Number :");
title = new JLabel("Title :");
quantity = new JLabel("Quantity :");
price = new JLabel("Price :");
fee = new JLabel("Restocking Fee :");
totalValue = new JLabel("Total Value :");
//Add the labels to the display panel
display.add(name);
display.add(number);
display.add(title);
display.add(quantity);
display.add(price);
display.add(fee);
//Add the panels to the frame
getContentPane().add(centerPanel, "Center");
getContentPane().add(other, "South");
this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
setVisible(true);
class CD extends Product {
String genre;
double restockingFee;
public CD(String genre, double restockingFee, int item, String title, double stockQuantity,
double price) {
//super(title,item, stockQuantity, price);
this.genre = genre;
this.restockingFee = restockingFee;
// TODO Auto-generated constructor stub
//returns the value of the inventory, plus the restocking fee
public double getInventoryValue() {
// TODO Auto-generated method stub
return super.getItemPrice() + restockingFee;
public String toString() {
StringBuffer sb = new StringBuffer("Genre \t").append(genre).append("\n");
sb.append(super.toString());
return sb.toString();
//Inventory4.java
class Product implements Comparable {
private String title; // class variable that stores the item name
private int item; // class variable that stores the item number
private double stockQuantity; // class variable that stores the quantity in stock
private double price; // class variable that stores the item price
private String genre;
public Product() {
title = "";
item = 0;
stockQuantity = 0;
price = 0.0;
genre = "";
public Product(String title, String genre, int item, double stockQuantity, double price) {
this.title = title;
this.item = item;
this.stockQuantity = stockQuantity;
this.price = price;
this.genre = genre;
public void setTitle(String title) {
this.title = title;
public String getTitle() {
return title;
public void setItem(int item) {
this.item = item;
public int getItem() {
return item;
public void setStockQuantity(double quantity) {
stockQuantity = quantity;
public double getStockQuantity() {
return stockQuantity;
public void setItemPrice(double price) {
this.price = price;
public double getItemPrice() {
return price;
public void setGenre(String genre) {
this.genre = genre;
public String getGenre() {
return genre;
public double calculateInventoryValue() {
return price * stockQuantity;
public int compareTo(Object o) {
Product p = null;
try {
p = (Product) o;
} catch (ClassCastException cE) {
cE.printStackTrace();
return title.compareTo(p.getTitle());
public String toString() {
return "CD Title: " + title + "\nGenre: " + genre + "\nItem #: " + item + "\nPrice: $" + price + "\nQuantity: " + stockQuantity + "\nValue with restocking fee: $" + (calculateInventoryValue() + (calculateInventoryValue() * .05));
public class Inventory4 {
Product[] supplies;
public static void main(String[] args) {
Inventory4 inventory = new Inventory4();
inventory.addProduct(new Product("Mozart", "Classical", 1, 54, 11.50));
inventory.addProduct(new Product("Beethoven", "Classical", 2, 65, 12.00));
inventory.addProduct(new Product("Tiny Tim", "Classical", 3, 10, 1.00));
System.out.println("Inventory of CD's:\n\n");
System.out.println();
inventory.showInventory();
System.out.println();
double total = inventory.calculateTotalInventory();
System.out.println("Total Value is: $" + (total + (total * .05)));
public void sortByName() {
for (int i = 1; i < supplies.length; i++) {
int j;
Product val = supplies;
for (j = i - 1; j > -1; j--) {
Product temp = supplies[j];
if (temp.compareTo(val) <= 0) {
break;
supplies[j + 1] = temp;
supplies[j + 1] = val;
//creates a String representation of the array of products
public String toString() {
String s = "";
for (Product p : supplies) {
s = s + p.toString();
s = s + "\n\n";
return s;
//Using an array so adding an item requires us to increase the size of the array first
public void addProduct(Product p1) {
if (supplies == null) {
supplies = new Product[0];
Product[] p = supplies; //Copy all products into p first
Product[] temp = new Product[p.length + 1]; //create bigger array
for (int i = 0; i < p.length; i++) {
temp[i] = p[i];
temp[(temp.length - 1)] = p1; //add the new product at the last position
supplies = temp;
//sorting the array using Bubble Sort
public double calculateTotalInventory() {
double total = 0.0;
for (int i = 0; i < supplies.length; i++) {
total = total + supplies[i].calculateInventoryValue();
return total;
public void showInventory() {
System.out.println(toString()); //call our toString methodI re-entered the package and changed some of the code. I am building successfully, but getting a new msg: init:
deps-jar:
compile:
run:
java.lang.NoClassDefFoundError: Inventory5_5
Caused by: java.lang.ClassNotFoundException: Inventory5_5
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
Exception in thread "main"
Java Result: 1
BUILD SUCCESSFUL (total time: 0 seconds) I may have to go ahead and submit it as is to get it in on time. Thank you very much for your help and your patience. Here is my last effort.package inventory4;
import java.util.*;
import javax.swing.*;
import java.awt.event.*;
import java.awt.*;
class inventory4 extends JFrame {
private class MyPanel extends JPanel {
ImageIcon image = new ImageIcon("Sample.jpg");
int width = image.getIconWidth();
int height = image.getIconHeight();
long angle = 30;
public MyPanel() {
super();
public void paintComponent(Graphics g) {
super.paintComponent(g);
Graphics2D g2d = (Graphics2D) g;
g2d.rotate(Math.toRadians(angle), 60 + width / 2, 60 + height / 2);
g2d.drawImage(image.getImage(), 60, 60, this);
g2d.dispose();
}//end class MyPanel
int currentIndex; //Currently displayed Item
Product[] supplies = new Product[4];
JLabel name;
JLabel number;
JLabel title;
JLabel quantity;
JLabel price;
JLabel fee;
JLabel totalValue;
JTextField nameField = new JTextField(20);
JTextField numberField = new JTextField(20);
JTextField titleField = new JTextField(20);
JTextField quantityField = new JTextField(20);
JTextField priceField = new JTextField(20);
JPanel display;
JPanel displayHolder;
JPanel panel;
public inventory4() {
setSize(500, 500);
setTitle("Bob's CD Inventory Program");
//make the panels
display = new JPanel();
JPanel other = new JPanel();
JPanel picture = new MyPanel();
JPanel centerPanel = new JPanel();
displayHolder = new JPanel();
display.setLayout(new GridLayout(7, 1));
//other.setLayout(new GridLayout(1, 1));
//make the labels
name = new JLabel("Name :");
number = new JLabel("Number :");
title = new JLabel("Title :");
quantity = new JLabel("Quantity :");
price = new JLabel("Price :");
fee = new JLabel("Restocking Fee :");
totalValue = new JLabel("Total Value :");
//Add the labels to the display panel
display.add(name);
display.add(number);
display.add(title);
display.add(quantity);
display.add(price);
display.add(fee);
//Add the panels to the frame
getContentPane().add(centerPanel, "Center");
getContentPane().add(other, "South");
this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
setVisible(true);
class CD extends Product {
String genre;
double restockingFee;
public CD(String genre, double restockingFee, int item, String title, double stockQuantity,
double price) {
//super(title,item, stockQuantity, price);
this.genre = genre;
this.restockingFee = restockingFee;
// TODO Auto-generated constructor stub
//returns the value of the inventory, plus the restocking fee
public double getInventoryValue() {
// TODO Auto-generated method stub
return super.getItemPrice() + restockingFee;
public String toString() {
StringBuffer sb = new StringBuffer("Genre \t").append(genre).append("\n");
sb.append(super.toString());
return sb.toString();
//Inventory4.java
class Product implements Comparable {
private String title; // class variable that stores the item name
private int item; // class variable that stores the item number
private double stockQuantity; // class variable that stores the quantity in stock
private double price; // class variable that stores the item price
private String genre;
public Product() {
title = "";
item = 0;
stockQuantity = 0;
price = 0.0;
genre = "";
public Product(String title, String genre, int item, double stockQuantity, double price) {
this.title = title;
this.item = item;
this.stockQuantity = stockQuantity;
this.price = price;
this.genre = genre;
public void setTitle(String title) {
this.title = title;
public String getTitle() {
return title;
public void setItem(int item) {
this.item = item;
public int getItem() {
return item;
public void setStockQuantity(double quantity) {
stockQuantity = quantity;
public double getStockQuantity() {
return stockQuantity;
public void setItemPrice(double price) {
this.price = price;
public double getItemPrice() {
return price;
public void setGenre(String genre) {
this.genre = genre;
public String getGenre() {
return genre;
public double calculateInventoryValue() {
return price * stockQuantity;
public int compareTo(Object o) {
Product p = null;
try {
p = (Product) o;
} catch (ClassCastException cE) {
cE.printStackTrace();
return title.compareTo(p.getTitle());
public String toString() {
return "CD Title: " + title + "\nGenre: " + genre + "\nItem #: " + item + "\nPrice: $" + price + "\nQuantity: " + stockQuantity + "\nValue with restocking fee: $" + (calculateInventoryValue() + (calculateInventoryValue() * .05));
public class Inventory4 {
Product[] supplies;
public static void main(String[] args) {
Inventory4 inventory = new Inventory4();
inventory.addProduct(new Product("Mozart", "Classical", 1, 54, 11.50));
inventory.addProduct(new Product("Beethoven", "Classical", 2, 65, 12.00));
inventory.addProduct(new Product("Tiny Tim", "Classical", 3, 10, 1.00));
System.out.println("Inventory of CD's:\n\n");
System.out.println();
inventory.showInventory();
System.out.println();
double total = inventory.calculateTotalInventory();
System.out.println("Total Value is: $" + (total + (total * .05)));
public void sortByName() {
for (int i = 1; i < supplies.length; i++) {
int j;
Product val = supplies;
for (j = i - 1; j > -1; j--) {
Product temp = supplies[j];
if (temp.compareTo(val) <= 0) {
break;
supplies[j + 1] = temp;
supplies[j + 1] = val;
//creates a String representation of the array of products
public String toString() {
String s = "";
for (Product p : supplies) {
s = s + p.toString();
s = s + "\n\n";
return s;
//Using an array so adding an item requires us to increase the size of the array first
public void addProduct(Product p1) {
if (supplies == null) {
supplies = new Product[0];
Product[] p = supplies; //Copy all products into p first
Product[] temp = new Product[p.length + 1]; //create bigger array
for (int i = 0; i < p.length; i++) {
temp[i] = p[i];
temp[(temp.length - 1)] = p1; //add the new product at the last position
supplies = temp;
//sorting the array using Bubble Sort
public double calculateTotalInventory() {
double total = 0.0;
for (int i = 0; i < supplies.length; i++) {
total = total + supplies[i].calculateInventoryValue();
return total;
public void showInventory() {
System.out.println(toString()); //call our toString method -
Xampp: How to add Gui xampp control panel on Archlinux ?
Hello, some time ago i installed xampp from aur:
https://wiki.archlinux.org/index.php/xampp
... and i want to know if it's possible adding GUI xampp control panel.
Best Regards.Just open your image folder (e.g. "My pictures"), grab a supported graphics file and drag it right over to the front panel (or even diagram).
If the image is on a web page, right-click it and select "copy". Go to the front panel and paste it. Now resize and move as desired. Resizing typically distorts the image, but you can always go back by right-clicking and selecting "original size".
See also the links in:
http://zone.ni.com/reference/en-XX/help/371361D-01/lvhowto/usingimportedgraphicsinlv/
For details, a list of supported formats, and OS specific issues.
LabVIEW Champion . Do more with less code and in less time . -
How to display the GUI that we developed, at middle of monitor screen
I want to display my GUI at middle of monitor screen
display = new JTextArea(5,20);
JScrollPane scroller = new JScrollPane(display);
getContentPane().add(scroller, BorderLayout.SOUTH);
getContentPane().add(gui);
pack();
setSize(300,250);
show();JFrame.setLocationRelativeTo()
It centers the window if the argument passed to it is null. -
Hi Experts
How to create toolbar in the Report program.
ie how to add gui status and how to code for it.
Pls suggest me.
Thanks in advance.
Regards
rajaramHi
This is my coding part inwhich i want to add a button in toolbar, Can you change this coding that where exactly changes needed and what.
Pls help me.
Regards
Rajaram
REPORT ZSAB_POLY_INVOICE.
tables : vbrp, vbrk, vbap.
DATA : BEGIN OF it_final OCCURS 0.
INCLUDE STRUCTURE ZINV_ORG.
DATA : END OF it_final.
data : wa like line of it_final.
data : mode type string.
data : flag type i,
flag1 type i.
DATA : fm_name TYPE rs38l_fnam.
DATA : w_formname TYPE tdsfname. "form name
w_formname = 'Z_POLY_ORGINAL'.
DATA: LX_OUTPUT TYPE SSFCOMPOP,
LX_CNTL TYPE SSFCTRLOP.
LX_CNTL-NO_DIALOG = 'X'.
LX_OUTPUT-TDDEST = 'LP01'.
SELECTION-SCREEN BEGIN OF BLOCK bk1 WITH FRAME TITLE text-001.
PARAMETERS vbeln TYPE vbrk-vbeln matchcode object ZINVOICE.
PARAMETERS rtim TYPE vbrk-ERZET.
SELECTION-SCREEN END OF BLOCK bk1.
SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-002.
parameter : p_org as checkbox,
p_dup as checkbox,
p_tri as checkbox,
p_qua as checkbox.
SELECTION-SCREEN END OF BLOCK b2.
select a~vbeln
a~bukrs
b~posnr
b~werks
a~stceg
a~FKDAT
a~INCO1
a~INCO2
b~MATNR
b~ARKTX
b~FKIMG
b~UEPOS
from vbrk as a
inner join vbrp as b on avbeln = bvbeln
into corresponding fields of table it_final
where a~vbeln = vbeln.
break pro01.
if p_org is not initial and p_dup is not initial
and p_tri is not initial and p_qua is not initial.
mode = 'Original for Buyer'.
perform original.
mode = 'Duplicate'.
perform original.
mode = 'Triplicate'.
perform original.
mode = 'Quadruplicate'.
perform original.
elseif p_org is not initial and p_dup is not initial
and p_tri is not initial.
mode = 'Original for Buyer'.
perform original.
mode = 'Duplicate'.
perform original.
mode = 'Triplicate'.
perform original.
elseif p_dup is not initial and p_tri is not initial
and p_qua is not initial.
mode = 'Duplicate'.
perform original.
mode = 'Triplicate'.
perform original.
mode = 'Quadruplicate'.
perform original.
elseif p_org is not initial and p_dup is not initial.
mode = 'Original for Buyer'.
perform original.
mode = 'Duplicate'.
perform original.
elseif p_tri is not initial and p_qua is not initial.
mode = 'Triplicate'.
perform original.
mode = 'Quadruplicate'.
perform original.
elseif p_org is not initial and p_tri is not initial.
mode = 'Original for Buyer'.
perform original.
mode = 'Triplicate'.
perform original.
elseif p_dup is not initial and p_tri is not initial
and p_qua is not initial.
mode = 'Original for Buyer'.
perform original.
mode = 'Duplicate'.
perform original.
mode = 'Triplicate'.
perform original.
elseif p_org is not initial.
mode = 'Original for Buyer'.
perform original.
endif.
*& Form original
text
--> p1 text
<-- p2 text
FORM original .
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = w_formname
VARIANT = ' '
DIRECT_CALL = ' '
IMPORTING
FM_NAME = fm_name
EXCEPTIONS
NO_FORM = 1
NO_FUNCTION_MODULE = 2
OTHERS = 3
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION '/1BCDWB/SF00000447'
EXPORTING
RTIM = RTIM
MODE = MODE
*ARCHIVE_INDEX =
*ARCHIVE_INDEX_TAB =
*ARCHIVE_PARAMETERS =
CONTROL_PARAMETERS = LX_CNTL
*MAIL_APPL_OBJ =
*MAIL_RECIPIENT =
*MAIL_SENDER =
OUTPUT_OPTIONS = LX_OUTPUT
*USER_SETTINGS = 'X'
*BOL_NUM =
*CARRIER_NAME =
*SHIP_FROM_ADR =
*SHIP_TO_ADR =
*THIRD_PARTY_ADR =
*IMPORTING
*DOCUMENT_OUTPUT_INFO =
*JOB_OUTPUT_INFO =
TABLES
it_final = it_final
IF sy-subrc = 0.
*MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. -
hello frends,
I am new to java , i make instant messenger, But it is console based
i want to add gui to it , But i don't know any technology(Applet ,Swing)
So please help me how to make gui for instant messenger, I tried to start but i have no good tutorial, But i got problem in Taking on line user list, sush that when i click the name new dialog will appear, will you please tell me how to do it, and also suggest some good books,and link that help me to make my messenger gui.
Thank you
alokhi
am also doing same kind of program...
by using jtree we can list all the users...
its very easy ...
u can use sun tutorial itself -
Problem add printer HP2840 to macbook Air 10.8.2
add printer HP2840 to Macbook Air 10.8.2
Console log AddPrinter[5304]: Unable to verify printer 192.XXX.XXX.6: 0x0016 Any define of the error code;
Print>Add GUI says Unable to verify the printer on your network, unable to connect to XXX due to an error.
hmm, printer software was able to inquiry and identify the HP 2840,
If force continue, printer is added, Print & Scan print jobs show In use, Last used; but do not transfer data to printer.
print queue shows Printing - the printer is in use; never prints... printer does not show any data transmission.
delete job in queue; Print & Scan shows idle, Last used. nothing in system log.
note: Macbook 10.6.8 can print no problem.
network hardwire --- time Capsule --- airport extreme --wifi
\----printer
wifi --- Macbook 10.6.8
wifi --- Macbook Air 10.8.2
From Macbook Air, Can Ping ok; Can traceroute ok
PortScan
Port Scanning host: 192.XXX.XXX.6
Open TCP Port: 21 ftp
Open TCP Port: 80 http
Open TCP Port: 139 netbios-ssn
Open TCP Port: 554 rtsp
Open TCP Port: 7070 arcp
Open TCP Port: 8290
Open TCP Port: 8291
Open TCP Port: 8292 blp3
Open TCP Port: 8293
Open TCP Port: 9100 hp-pdl-datastrDeleting printer; attempting to just add printer;
console log shows Which port is this attempting to reach;??
no printer is ever added automatic by scan...
Marker - Jan 3, 2013 10:48:06 PM
Jan 3 22:48:13 Lauries-MacBook-Air.local blued[66]: handleRequest request: An exception was caught while attempting to create a return message, and will be squashed: [NSMachPort sendBeforeDate:] destination port invalid
Jan 3 22:48:26 Lauries-MacBook-Air.local com.apple.SecurityServer[15]: Succeeded authorizing right 'system.print.admin' by client '/usr/sbin/cupsd' [5510] for authorization created by '/System/Library/CoreServices/AddPrinter.app' [5750] (100002,0)
Jan 3 22:48:35 Lauries-MacBook-Air.local blued[66]: handleRequest request: An exception was caught while attempting to create a return message, and will be squashed: [NSMachPort sendBeforeDate:] destination port invalid
Jan 3 22:48:48 Lauries-MacBook-Air.local com.apple.SecurityServer[15]: Succeeded authorizing right 'system.print.admin' by client '/usr/sbin/cupsd' [5510] for authorization created by '/System/Library/CoreServices/AddPrinter.app' [5750] (100002,0) -
Having trouble switching from Core to GUI with Server 2012...
Hello,
I am currently in the early stages of studying for the MCSA - Windows Server 2012 R2 and I'm playing around with an Eval copy of Windows Server 2012 R2 DataCenter. I have two separate installs where one is the Full - GUI install and the other is Server
Core. I've learned in my studies that it is possible to switch back and forth between Core and GUI through Powershell cmdlets.
Right now I'm trying to switch from Server Core to GUI and I'm using the following Powershell command:
Install-WindowsFeature Server-Gui-Mgmt-Infra, Server-Gui-Shell
It starts off like it's going to work but then after about 68% of the way through, I get this:
Install-WindowsFeature : The request to add or remove features on the specified server failed.
Installation of one or more roles, role services, or features failed.
The source files could not be downloaded.
Use the "source" option to specify the location of the files that are required to restore the feature. For more
information on specifying a source location, see XXXXXX. Error: 0x800f0906
At line:1 char:1
+ Install-WindowsFeature Server-Gui-Mgmt-Infra, Server-Gui-Shell
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (@{Vhd=; Credent...Name=localhost}:PSObject) [Install-WindowsFeature],
Exception
+ FullyQualifiedErrorId : DISMAPI_Error__Cbs_Download_Failure,Microsoft.Windows.ServerManager.Commands.AddWindowsF
eatureCommand
Any ideas? I installed this Server Core image on a Hyper-V Virtual Machine (using Generation 2), allocating 4GB RAM and 65GB HDD space. I haven't done anything with .Net Framework and I haven't configured the network at all.
Any advice would be greatly appreciated.Hi SLONER,
You need use the -source option on a non-Internet connected machine.
PLease try the script below:
Install-WindowsFeature Server-Gui-Mgmt-Infra,Server-Gui-Shell –Restart –Source c:\mountdir\windows\winsxs
And follow this thread:
PowerShell to Add GUI to Server Core (ServerCore-FullServer)
I hope this helps. -
Getting the label of a JButton in a for loop
hi,
I doing a project for my course at the minute and im in need of a bit of help. I have set up 1-d array of buttons and i have layed them out using a for loop. I have also added an annoymous action listener to each button in the loop. It looks something lke this:
b = new JButton[43];
for (int i=1; i<43; i++)
b[i] = new JButton(" ");
b.addActionListener(
new ActionListener()
public void actionPerformed(ActionEvent e)
System.out.println("..........");
}); // addActionListener
} // for
I want the "System.out.println( ..." line, to print out the "i" number of the button that was pressed but i cannot figure out how to do it. I cannot put "System.out.println(" "+i);" as it wont recognise i as it is not inside the for loop. Does anyone have any suggestions?
Thanks!!class ButtonExample extends JFrame implements ActionListener{The OP wanted to have anonymous listeners, not a subclassed JFrame
listening to the buttons. I don't know if the following is the best design,
since the poster has revealed so little, but here is how to pass the
loop index to an anonymous class.
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public class ButtonExample {
private JButton[] buttons = new JButton[24];
public JPanel createGUI() {
JPanel gui = new JPanel(new GridLayout(6, 4));
for(int i=0; i<buttons.length; i++) {
final int ii = i; //!! !
buttons[i] = new JButton("button #" + i);
buttons.addActionListener(new ActionListener(){
public void actionPerformed(ActionEvent evt) {
System.out.println("number " + ii);
gui.add(buttons[i]);
return gui;
public static void main(String[] args) {
ButtonExample app = new ButtonExample();
JPanel gui = app.createGUI();
JFrame f = new JFrame("ButtonExample");
f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
f.getContentPane().add(gui);
f.pack();
f.setLocationRelativeTo(null);
f.setVisible(true); -
ScriptUI panel renders in ESTK but not in AE
Hi There,
I just finished watching David Torno's excellent tutorials on developing ScriptUI panels with Extendscript. I followed all of his directions, and the panel does show up as expected in my ESTK, but when I save the .jsx to the ScriptUI folder within the Script directory of AE, the panel shows up, but none of the elements I created render within the panel. It's very odd, might anybody know what I'm doing wrong?
Here is my code, which is a derivative of David's example code building ScriptUI panels with resource strings:
function templaterGUI(thisObj){
function templater_buildGUI(thisObj){
var templaterWindow = (thisObj instanceof Panel) ? thisObj : new Window('palette', 'Templater', undefined, {resizeable : true});
gui = "Group{orientation: 'column', alignChildren: 'fill',\
settings: Group{orientation: 'row', alignChildren: 'fill',\
pAssets: Panel{text: 'Assets'},\
pOptions: Panel{text: 'Render Options'},\
action: Button{text: 'Render Batch'},\
console: Panel{text: 'Status',\
msg: StaticText{text: 'Currently Idle'}},\
templaterWindow.grp = templaterWindow.add(gui);
return templaterWindow;
var templaterDock = templater_buildGUI(thisObj);
if ((templaterDock != null) && (templaterDock instanceof Window)){
templaterDock.center();
templaterDock.show();
templaterGUI(this);
Here's what it looks like when I run this code in ESTK:
I placed the script in the `ScriptUI` folder within the AE CS6 application folder, and here's what it looks like when I invoke the exact same .jsx file from `Window` menu in AE:
Maybe I overlooked something in the code that David provided in his tutorial? Can anybody offer any suggestions for debugging / troubleshooting?
Thanks for your time and help!Hey David or Xavier,
Thanks for providing guidance on setting up the layout manager for I'm running into a similar issue with ESTK behaving differently than AE when it comes to rendering my UI controls. I'm specifically referring to a DropDownList element. In ESTK my code seems to be working fine, where I am able to see the selection elements in the DropDownList control. I can see the `items` Array appear as the list. However, in AE, I see the DropDownList control mechanism, but I no matter what, I cannot see the list of elements. Is there a specific reason that this might be happening for this DropDownList element?
Here is the portion of my resource string that is being used to generate the dropdown list:
gTemplates: Group { orientation: 'row', alignChildren: ['fill','top'], alignment: ['fill','fill'],margins: [0,10,0,0],\
lRenderTemplates : DropDownList { title: 'Render Template', titleLayout: {alignment: ['center','top'], spacing: 10} },\
lOutputModules : DropDownList { title: 'Output Module', titleLayout : {alignment: ['center','top'], spacing: 10} },\
Then I have a function in my javascript that just adds items like this, and I call it before I return templaterWindow as shown in my previous code:
function setupControls(ui) {
var options = ui.grp.settings.pOptions.optionsControls;
options.gTemplates.lRenderTemplates.add('item', "ONE");
options.gTemplates.lRenderTemplates.add('item', "TWO");
Again, it works great in ESTK where I can see the elements in the dropdown, but not in the context of running it in AE. Any ideas?
Thanks again for any help you can provide! -
Announcement: Super 5.10 - a suite of J2EE tools
Announcement: Super 5.10 - a suite of J2EE tools.
Super 5.10 comes with:
SuperEnvironment
SuperLogging
SuperPeekPoke
SuperReport
SuperScheduler
SuperStress
SuperWatchdog
and SuperPatrol, as a schedule job.
The evaluation edition can be anonymously downloaded from:
http://www.ACElet.com.
Super is a component based monitor and administration tool
for EJB/J2ee. It provides built-in functionality as well as
extensions, as SuperComponents. Users can install
SuperComponents onto it, or uninstall them from it.
Super has the following functions:
* A J2EE monitor.
* A gateway to J2EE/EJB servers from different vendors.
* A framework holding user defined SuperComponents.
* A full-featured J2EE logging and J2EE tracing tool for centralized,
chronological logging.
* An EJB tool for Peeking and Poking attributes from EJBs.
* An EJB Stress test tool.
* A J2EE global environment tool.
* A J2EE report tool.
* A J2EE Scheduler tool.
* A J2EE Business patrol tool.
It is written entirely in the Java(TM) programming language.
The current version support:
* JOnAS 2.4 and 2.6
* SunONE 7.0
* Universal servers.
* Weblogic 6.1, 7.0 and 8.1
* Websphere 4.0, 5.0.2 and 5.1
* jBoss 3.0 and 3.2
********** What is new:
Version 5.10 January, 2004
Enhancement:
1. SuperScheduler 4.1: Multiple holiday set is an advanced feature now.
This arrangement is convenient for most of users.
2. Support WebSphere 5.1.
Change:
1. SuperScheduler 4.1: Repeating "At specified times" changes from "all
things considered" algorithm to POSIX cron compatible implementation.
Bug fix:
1. SuperScheduler 4.1: Repeating Daily did not consider "Day time saving",
so there were one hour shift in April and October.
Version 5.00 January, 2004
Enhancement:
1. SuperScheduler 4.00: Rewritten SuperScheduler with bug fixes and enhancements,
including: 1. Add task duration. 2. Add Email, JMS Queue and Topic jobs.
3. Add Retry tasks. 4. Add GUI version of Unix cron repeating.
5. Rewritten holiday facilities.
2. SuperWatchdog 1.00 with File, JMS Queue, JMS Topic and User triggers and
the same group of actions as SuperScheduler.
3. SuperLogigng 4.01: Improved Alarm/Alert GUI.
Version 4.00 November, 2003
Enhancement:
1. Support for both native protocol (RMI-IIOP) mode and HTTP/HTTPS
(with/without proxy) protocol mode for SuperEnvironment,
SuperLogging, SuperReport and SuperScheduler.
2. SuperLogging 4.00: tracing can work on both live database and retired database.
3. SuperReport 3.00: works for both live database and retired database.
4. SuperScheduler 3.00: add URL job type (for Servlet/JSP). Add DoerTalker Table
Panel.
Bug fix:
1. SuperScheduler 3.00: Interval change did not take effect until restart Super.
Version 3.00 July, 2003
Enhancement:
1. SuperLoggingLibrary 3.00: New implementation for change scope adding "Smart"
scope,
with enhancements and bug fixes.
2. SuperLoggingLibrary 3.00: Support mail server which requires user name and
password.
Add MenuTreePanel.
3. Improved GUI and document.
4. Add support to WebLogic 8.1.
Bug fix:
1. SuperScheduler 2.0: Fix a bug in FutureView for Hourly and Minutely.
2. SuperScheduler 2.0: Startup should never be reported as missed.
3. SuperScheduler 2.0: Could not reset job for existing task in some situation.
Version 2.20 Jan. 2003
Enhancement:
1. Add desktop and start menu shortcuts for MS-Windows.
2. Add support for SunONE 7, JOnAS 2.6 and jBoss 3.0.
3. SuperLogging 2.40: Add new sendAlarmEmail() method.
4. SuperScheduler 1.40: Add SuperSchedulerEJB for managing when
direct database is not practical; Allow user to choose
favorite logging software; Add Last day as Monthly
repeating attribute.
Change:
1. Change Unusual to PatrolAlarm. The name "Unusual" was misleading.
Bug fix:
1. SuperEnvironment 1.31: Bug fix: if database is broken, could not
open Environment Manager.
2. SuperLogging client 1.52: Annoying exception thrown when you use
JDK 1.4 (the program runs okay).
3. SuperPeekPoke 1.61: Fix bug where input object contains
java.lang.Double and alike.
4. SuperScheduler 1.40: Bug fixes in: Memory leak; Reporting
PatrolAlarm for SuperPatrol; Composite task with members;
Non-scheduled run on other host; Around edges of last
days in Monthly with holiday policy.
Version 2.10 July 2002
Enhancement:
1. SuperScheduler 1.3: Add Future View to check future schedule in
both text and Gantt-chart mode.
2. SuperScheduler 1.3: Add graphic Gantt view for monitoring task's
activities.
3. SuperEnvironment 1.3: uses new graphic package adding print and
preference facilities.
4. SuperPeekPoke 1.6: uses new graphic package adding print and
preference facilities.
5. SuperStress 1.21: uses new graphic package.
Bug fix:
1. SuperStress 1.21: fixed graphic related bugs.
Version 2.01 June 2002
Enhancement:
1. Add options for Look & Feel.
2. Preference is persistent now.
Bug fix:
1. Installation for WebLogic 7.0: extEnv may not be installed on the
right place, so SuperLibrar on the server side was not loaded and
causes other problems.
Version 2.00 June 2002
Enhancement:
1. SuperScheduler 1.2: All copies of SuperScheduler refresh themselves
when any Doer causes things to change.
2. SuperScheduler 1.2: Support default HTML browser for reading HTML document.
3. SuperReport 1.2: Support default HTML browser for reading HTML document.
4. Support WebLogic 7.0.
5. SuperEnvironment 1.21: Database Panel appears when it is necessary.
6. SuperEnvironment 1.21: New SuperEnvironment tour.
Bug fix:
1. WebSphere Envoy did not always list all JNDI names.
Version 1.90 May 2002
Enhancement:
1. Rewritten SuperLogging engine. Add Alarm Email on SuperLogging.
2.Rewritten SuperScheduler allowing multiple Doers. Add support to holiday policy,
effective period. Add Patrol job type as SuperPatrol.
3. Add support for both JOnAS and jBoss.
4. Add more elements on Report criteria.
Change:
1. Now, both left and right mouse clicks are the same on Table Panel: toggle ascend
and descend.
2. New log database.
Bug fix:
1. Alert email should be sent once in the interval, regarding number of servers
in the clustering.
2. Minor bug fixes to make errors handled better on SuperLogging.
3. If withFileInfo or withTimestamp are changed alone, Style Panel did not save
them.
4. Rewritten SuperLogging and SuperScheduler with many bug fixes.
Version 1.80 March 2002
Enhancement:
1. Add new component: SuperScheduler
Bug fix:
1. SuperLogging: Verbose should ignore class registration.
2. SuperLogging-tracing: an exception was thrown if the java class without package
name.
Version 1.70 January 2002
Enhancement:
1. SuperLogging: Scope can dynamically change both for upgrade to downgrade (for
weblogic 6.1, need download an application).
2. Add alias names for log threshold as new Java suggests.
3. New component: SuperReport.
Change:
1. SuperLogging: Log database parameters are specified in a properties file, instead
of EJB's deployment descriptor. It is more convenient and it avoids some potential
problems. No change for development, easier for administration.
Bug fix:
1. Add Source Path Panel now accepts both directory and jar file.
2. Bug in SuperEnvironment example (for version 1.60 only).
Version 1.60 December 2001
Enhancement:
1. SuperPeekPoke and SuperStress can use user defined dynamic argument list.
2. Add timeout parameter to logging access.
3. New installation program with A). Easy install. B). Remote command line install.
4. Support EJB 2.0 for Weblogic 6.1.
5. Support SuperPeekPoke, SuperEnvironment and SuperStress for Websphere 4.0 (SuperLogging
was supported since version 1.5).
Change:
1. Poke: argument list is set at define time, not invoke time.
2. Default log database change to server mode from web server mode, booting performance
to 10-20 times.
Bug fix:
1. If the returned object is null, Peek did not handle it correctly.
2. If the value was too big, TimeSeries chart did not handle it correctly. Now
it can handle up to 1.0E300.
3. Help message was difficult to access in installation program.
4. Source code panel now both highlights and marks the line in question (before
it was only highlight using JDK 1.2, not JDK 1.3).
5. Delete an item on PeekPoke and add a new one generated an error.
Version 1.50 August, 2001
Enhancement:
1. Source code level tracing supports EJB, JSP, java helper and other
programs which are written in native languages (as long as you
write correct log messages in your application).
2. Redress supports JSP now.
3. New installation with full help document: hope it will be easier.
4. Support WebSphere 4.0
Version 1.40 June, 2001
Enhancement:
1. Add SuperEnvironment which is a Kaleidoscope with TableView, TimeSeriesView
and PieView for GlobalProperties.
GlobalProperties is an open source program from Acelet.
2. SuperPeekPoke adds Kaleidoscope with TableView, TimeSeriesView and PieView.
Changes:
1. The structure of log database changed. You need delete old installation and
install everything new.
2. The format of time stamp of SuperLogging changed. It is not locale dependent:
better for report utilities.
3. Time stamp of SuperLogging added machine name: better for clustering environment.
Bug fix:
1. Under JDK 1.3, when you close Trace Panel, the timer may not be stopped and
Style Panel may not show up.
Version 1.30 May, 2001
Enhancement:
1. Add ConnectionPlugin support.
2. Add support for Borland AppServer.
Version 1.20 April, 2001
Enhancement:
1. Redress with option to save a backup file
2. More data validation on Dump Panel.
3. Add uninstall for Super itself.
4. Add Log Database Panel for changing the log database parameters.
5. Register Class: you can type in name or browse on file system.
6. New tour with new examples.
Bug fix:
1. Redress: save file may fail.
2. Install Bean: some may fail due to missing manifest file. Now, it is treated
as foreign beans.
3. Installation: Both installServerSideLibrary and installLogDatabase can be worked
on the original file, do not need copy to a temporary directory anymore.
4. PeekPoke: if there is no stub available, JNDI list would be empty for Weblogic5-6.
Now it pick up all availble ones and give warning messages.
5. Stress: Launch>Save>Cancel generated a null pointer exception.
Changes:
1. installLogDatabase has been changed from .zip file to .jar file.
2. SuperLogging: If the log database is broken, the log methods will not try to
access the log database. It is consistent with the document now.
3. SuperLogging will not read system properties now. You can put log database
parameters in SuperLoggingEJB's deployment descriptor.
Version 1.10 Feb., 2001
Enhancement:
1. Re-written PeekPoke with Save/Restore functions.
2. New SuperComponent: SuperStress for stress test.
3. Set a mark at the highlighted line on<font size=+0> the Source Code
Panel (as a work-a-round for JDK 1.3).</font>
4. Add support for WebLogic 6.0
Bug fix:
1. Uninstall bean does physically delete the jar file now.
2. WebLogic51 Envoy may not always list all JNDI names. This is fixed.
Version 1.00 Oct., 2000
Enhancement:
1. Support Universal server (virtual all EJB servers).
2. Add Lost and Found for JNDI names, in case you need it.
3. JNDI ComboBox is editable now, so you can PeekPoke not listed JNDI name (mainly
for Envoys which do not support JNDI list).
Version 0.90: Sept, 2000
Enhancement:
1. PeekPoke supports arbitrary objects (except for Vector, Hashtable
and alike) as input values.
2. Reworked help documents.
Bug fix:
1. Clicking Cancel button on Pace Panel set 0 to pace. It causes
further time-out.
2. MDI related bugs under JDK 1.3.
Version 0.80: Aug, 2000
Enhancement:
1. With full-featured SuperLogging.
Version 0.72: July, 2000
Bug fix:
1. Ignore unknown objects, so Weblogic5.1 can show JNDI list.
Version 0.71: July, 2000
Enhancement:
1. Re-worked peek algorithm, doing better for concurent use.
2. Add cacellable Wait dialog, showing Super is busy.
3. Add Stop button on Peek Panel.
4. Add undeploy example button.
Bug fix:
1. Deletion on Peek Panel may cause error under JDK 1.3. Now it works for both
1.2 and 1.3
Version 0.70: July, 2000
Enhancement:
1. PeekPoke EJBs without programming.
Bug fix:
1. Did not show many windows under JDK 1.3. Now it works for both 1.2 and 1.3
Changes:
1. All changes are backward compatible, but you may need to recompile monitor
windows defined by you.
Version 0.61: June, 2000
Bug fix:
1. First time if you choose BUFFER as logging device, message will not show.
2. Fixed LoggingPanel related bugs.
Version 0.60: May, 2000
Enhancement:
1. Add DATABASE as a logging device for persistent logging message.
2. Made alertInterval configurable.
3. Made pace for tracing configurable.
Bug fix:
1. Fixed many bugs.
Version 0.51, 0.52 and 0.53: April, 2000
Enhancement:
1. Add support to Weblogic 5.1 (support for Logging/Tracing and
user defined GUI window, not support for regular monitoring).
Bug fix:
1. Context sensitive help is available for most of windows: press F1.
2. Fix installation related problems.
Version 0.50: April, 2000
Enhancement:
1. Use JavaHelp for help system.
2. Add shutdown functionality for J2EE.
3. Add support to Weblogic 4.5 (support for Logging/Tracing and
user defined GUI window, not support for regular monitoring).
Bug fix:
1. Better exception handling for null Application.
Version 0.40: March, 2000
Enhancement:
1.New installation program, solves installation related problems.
2. Installation deploys AceletSuperApp application.
3. Add deploy/undeploy facilities.
4. Add EJB and application lists.
Change:
1.SimpleMonitorInterface: now more simple.
Version 0.30: January, 2000
Enhancement:
1. Add realm support to J2EE
2. Come with installation program: you just install what you want
the first time you run Super.
Version 0.20: January, 2000
Enhancement:
Add support to J2EE Sun-RI.
Change:
1. Replace logging device "file" with "buffer" to be
compliant to EJB 1.1. Your code do not need to change.
Version 0.10: December, 1999
Enhancement:
1. provide SimpleMonitorInterface, so GUI experience is
not necessary for developing most monitoring applications.
2. Sortable table for table based windows by mouse
click (left or right).
Version 0.01 November., 1999:
1. Bug fix: An exception thrown when log file is large.
2. Enhancement: Add tour section in Help information.
Version 0.00: October, 1999
Thanks.i use the adobe creative suite (indesign) for all print
documentation...i use captivate for online tutorials, but from what
i'm hearing the captivate team has been disbanded by adobe and
they've outsourced the 'development' of future releases to india.
buyer beware. -
Super 5.40 - a suite of J2EE tools. It is free.
Announcement:
Super 5.40 - a suite of J2EE tools. It is free.
Standard license can be freely anonymously downloaded.
Super 5.40 comes with:
SuperEnvironment
SuperLogging
SuperPeekPoke
SuperReport
SuperScheduler
SuperStress
SuperWatchdog
and SuperPatrol, as a schedule job.
Most of enhancements of this release are for
SuperScheduler at http://www.acelet.com/super/SuperScheduler/index.html
SuperWatchdog at http://www.acelet.com/super/SuperWatchdog/index.html
Super is a component based monitor and administration tool
for EJB/J2ee. It provides built-in functionality as well as
extensions, as SuperComponents. Users can install
SuperComponents onto it, or uninstall them from it.
Super has the following functions:
* A J2EE monitor.
* A gateway to J2EE/EJB servers from different vendors.
* A framework holding user defined SuperComponents.
* A full-featured J2EE logging and J2EE tracing tool for centralized,
chronological logging.
* An EJB tool for Peeking and Poking attributes from EJBs.
* An EJB Stress test tool.
* A J2EE global environment tool.
* A J2EE report tool.
* A J2EE Scheduler tool.
* A J2EE Business patrol tool.
It is written entirely in the Java(TM) programming language.
The current version support:
* Universal servers.
* Weblogic 8.1
* Websphere 5
It can be anonymously downloaded from:
http://www.ACElet.com.
********** What is new:
Version 5.40 Aug., 2004
1. SuperScheduler 4.40 and SuperWatchdog 1.40: Add new tasks and chores:
scp (Secure CoPy) and ssh (Secure SHell).
2. SuperWatchdog 1.40: fixed bug for slow grow file trigger.
3. SuperLogging 4.11: Add timeout for LogAgent; bug fix: Attribute did
not show correct values for the first call.
4. SuperArch 2.00: Add Deployment and ServerShutdown.
5. Introduce SuperEjbGateway to replace SuperServlets.
Version 5.31 Aug, 2004
1. Bug fix: Triggering missing for SuperWatchdog.
2. Bug fix: Websphere 5.1 license did not working due to new IBM java.
Version 5.30 May, 2004
1. Provides Auto login and Hibernation features with SuperEnvironment 3.1,
SuperPeekPoke 2.1, SuperScheduler 4.30 and SuperWatchdog 1.30.
2. SuperLogging 4.1: Add timeout for client site logging facility LogAgent.
3. SuperScheduler 4.30 and SuperWatchdog 1.30: Add new Deploy (deploy,
redeploy, start, stop, undeploy, ...) jobs.
4. Bug fixes.
Version 5.20 February, 2004
1. Both SuperScheduler 4.20 and SuperWatchdog 1.20 use own alarm facilities.
2. SuperScheduler 4.20: Bug fix: in some conditions, nextRunTime may equals
to lastRunTime and the task will not run anymore (for HypersonicSQL
database only, we did not find this problem for Oracle, nor DB2).
3. SuperLogging 4.02: With better error handling; better Alert/Alarm Email.
Version 5.10 January, 2004
Enhancement:
1. SuperScheduler 4.1: Multiple holiday set is an advanced feature now.
This arrangement is convenient for most of users.
2. Support WebSphere 5.1.
Change:
1. SuperScheduler 4.1: Repeating "At specified times" changes from "all
things considered" algorithm to POSIX cron compatible implementation.
Bug fix:
1. SuperScheduler 4.1: Repeating Daily did not consider "Day time saving",
so there were one hour shift in April and October.
Version 5.00 January, 2004
Enhancement:
1. SuperScheduler 4.00: Rewritten SuperScheduler with bug fixes and enhancements,
including: 1. Add task duration. 2. Add Email, JMS Queue and Topic jobs.
3. Add Retry tasks. 4. Add GUI version of Unix cron repeating.
5. Rewritten holiday facilities.
2. SuperWatchdog 1.00 with File, JMS Queue, JMS Topic and User triggers and
the same group of actions as SuperScheduler.
3. SuperLogigng 4.01: Improved Alarm/Alert GUI.
Version 4.00 November, 2003
Enhancement:
1. Support for both native protocol (RMI-IIOP) mode and HTTP/HTTPS
(with/without proxy) protocol mode for SuperEnvironment,
SuperLogging, SuperReport and SuperScheduler.
2. SuperLogging 4.00: tracing can work on both live database and retired database.
3. SuperReport 3.00: works for both live database and retired database.
4. SuperScheduler 3.00: add URL job type (for Servlet/JSP). Add DoerTalker Table Panel.
Bug fix:
1. SuperScheduler 3.00: Interval change did not take effect until restart Super.
Version 3.00 July, 2003
Enhancement:
1. SuperLoggingLibrary 3.00: New implementation for change scope adding "Smart" scope,
with enhancements and bug fixes.
2. SuperLoggingLibrary 3.00: Support mail server which requires user name and password.
Add MenuTreePanel.
3. Improved GUI and document.
4. Add support to WebLogic 8.1.
Bug fix:
1. SuperScheduler 2.0: Fix a bug in FutureView for Hourly and Minutely.
2. SuperScheduler 2.0: Startup should never be reported as missed.
3. SuperScheduler 2.0: Could not reset job for existing task in some situation.
Version 2.20 Jan. 2003
Enhancement:
1. Add desktop and start menu shortcuts for MS-Windows.
2. Add support for SunONE 7, JOnAS 2.6 and jBoss 3.0.
3. SuperLogging 2.40: Add new sendAlarmEmail() method.
4. SuperScheduler 1.40: Add SuperSchedulerEJB for managing when
direct database is not practical; Allow user to choose
favorite logging software; Add Last day as Monthly
repeating attribute.
Change:
1. Change Unusual to PatrolAlarm. The name "Unusual" was misleading.
Bug fix:
1. SuperEnvironment 1.31: Bug fix: if database is broken, could not
open Environment Manager.
2. SuperLogging client 1.52: Annoying exception thrown when you use
JDK 1.4 (the program runs okay).
3. SuperPeekPoke 1.61: Fix bug where input object contains
java.lang.Double and alike.
4. SuperScheduler 1.40: Bug fixes in: Memory leak; Reporting
PatrolAlarm for SuperPatrol; Composite task with members;
Non-scheduled run on other host; Around edges of last
days in Monthly with holiday policy.
Version 2.10 July 2002
Enhancement:
1. SuperScheduler 1.3: Add Future View to check future schedule in
both text and Gantt-chart mode.
2. SuperScheduler 1.3: Add graphic Gantt view for monitoring task's
activities.
3. SuperEnvironment 1.3: uses new graphic package adding print and
preference facilities.
4. SuperPeekPoke 1.6: uses new graphic package adding print and
preference facilities.
5. SuperStress 1.21: uses new graphic package.
Bug fix:
1. SuperStress 1.21: fixed graphic related bugs.
Version 2.01 June 2002
Enhancement:
1. Add options for Look & Feel.
2. Preference is persistent now.
Bug fix:
1. Installation for WebLogic 7.0: extEnv may not be installed on the
right place, so SuperLibrar on the server side was not loaded and
causes other problems.
Version 2.00 June 2002
Enhancement:
1. SuperScheduler 1.2: All copies of SuperScheduler refresh themselves
when any Doer causes things to change.
2. SuperScheduler 1.2: Support default HTML browser for reading HTML document.
3. SuperReport 1.2: Support default HTML browser for reading HTML document.
4. Support WebLogic 7.0.
5. SuperEnvironment 1.21: Database Panel appears when it is necessary.
6. SuperEnvironment 1.21: New SuperEnvironment tour.
Bug fix:
1. WebSphere Envoy did not always list all JNDI names.
Version 1.90 May 2002
Enhancement:
1. Rewritten SuperLogging engine. Add Alarm Email on SuperLogging.
2.Rewritten SuperScheduler allowing multiple Doers. Add support to holiday policy, effective period. Add Patrol job type as SuperPatrol.
3. Add support for both JOnAS and jBoss.
4. Add more elements on Report criteria.
Change:
1. Now, both left and right mouse clicks are the same on Table Panel: toggle ascend and descend.
2. New log database.
Bug fix:
1. Alert email should be sent once in the interval, regarding number of servers in the clustering.
2. Minor bug fixes to make errors handled better on SuperLogging.
3. If withFileInfo or withTimestamp are changed alone, Style Panel did not save them.
4. Rewritten SuperLogging and SuperScheduler with many bug fixes.
Version 1.80 March 2002
Enhancement:
1. Add new component: SuperScheduler
Bug fix:
1. SuperLogging: Verbose should ignore class registration.
2. SuperLogging-tracing: an exception was thrown if the java class without package name.
Version 1.70 January 2002
Enhancement:
1. SuperLogging: Scope can dynamically change both for upgrade to downgrade (for weblogic 6.1, need download an application).
2. Add alias names for log threshold as new Java suggests.
3. New component: SuperReport.
Change:
1. SuperLogging: Log database parameters are specified in a properties file, instead of EJB's deployment descriptor. It is more convenient and it avoids some potential problems. No change for development, easier for administration.
Bug fix:
1. Add Source Path Panel now accepts both directory and jar file.
2. Bug in SuperEnvironment example (for version 1.60 only).
Version 1.60 December 2001
Enhancement:
1. SuperPeekPoke and SuperStress can use user defined dynamic argument list.
2. Add timeout parameter to logging access.
3. New installation program with A). Easy install. B). Remote command line install.
4. Support EJB 2.0 for Weblogic 6.1.
5. Support SuperPeekPoke, SuperEnvironment and SuperStress for Websphere 4.0 (SuperLogging was supported since version 1.5).
Change:
1. Poke: argument list is set at define time, not invoke time.
2. Default log database change to server mode from web server mode, booting performance to 10-20 times.
Bug fix:
1. If the returned object is null, Peek did not handle it correctly.
2. If the value was too big, TimeSeries chart did not handle it correctly. Now it can handle up to 1.0E300.
3. Help message was difficult to access in installation program.
4. Source code panel now both highlights and marks the line in question (before it was only highlight using JDK 1.2, not JDK 1.3).
5. Delete an item on PeekPoke and add a new one generated an error.
Version 1.50 August, 2001
Enhancement:
1. Source code level tracing supports EJB, JSP, java helper and other
programs which are written in native languages (as long as you
write correct log messages in your application).
2. Redress supports JSP now.
3. New installation with full help document: hope it will be easier.
4. Support WebSphere 4.0
Version 1.40 June, 2001
Enhancement:
1. Add SuperEnvironment which is a Kaleidoscope with TableView, TimeSeriesView and PieView for GlobalProperties.
GlobalProperties is an open source program from Acelet.
2. SuperPeekPoke adds Kaleidoscope with TableView, TimeSeriesView and PieView.
Changes:
1. The structure of log database changed. You need delete old installation and install everything new.
2. The format of time stamp of SuperLogging changed. It is not locale dependent: better for report utilities.
3. Time stamp of SuperLogging added machine name: better for clustering environment.
Bug fix:
1. Under JDK 1.3, when you close Trace Panel, the timer may not be stopped and Style Panel may not show up.
Version 1.30 May, 2001
Enhancement:
1. Add ConnectionPlugin support.
2. Add support for Borland AppServer.
Version 1.20 April, 2001
Enhancement:
1. Redress with option to save a backup file
2. More data validation on Dump Panel.
3. Add uninstall for Super itself.
4. Add Log Database Panel for changing the log database parameters.
5. Register Class: you can type in name or browse on file system.
6. New tour with new examples.
Bug fix:
1. Redress: save file may fail.
2. Install Bean: some may fail due to missing manifest file. Now, it is treated as foreign beans.
3. Installation: Both installServerSideLibrary and installLogDatabase can be worked on the original file, do not need copy to a temporary directory anymore.
4. PeekPoke: if there is no stub available, JNDI list would be empty for Weblogic5-6. Now it pick up all availble ones and give warning messages.
5. Stress: Launch>Save>Cancel generated a null pointer exception.
Changes:
1. installLogDatabase has been changed from .zip file to .jar file.
2. SuperLogging: If the log database is broken, the log methods will not try to access the log database. It is consistent with the document now.
3. SuperLogging will not read system properties now. You can put log database parameters in SuperLoggingEJB's deployment descriptor.
Version 1.10 Feb., 2001
Enhancement:
1. Re-written PeekPoke with Save/Restore functions.
2. New SuperComponent: SuperStress for stress test.
3. Set a mark at the highlighted line on<font size=+0> the Source Code
Panel (as a work-a-round for JDK 1.3).</font>
4. Add support for WebLogic 6.0
Bug fix:
1. Uninstall bean does physically delete the jar file now.
2. WebLogic51 Envoy may not always list all JNDI names. This is fixed.
Version 1.00 Oct., 2000
Enhancement:
1. Support Universal server (virtual all EJB servers).
2. Add Lost and Found for JNDI names, in case you need it.
3. JNDI ComboBox is editable now, so you can PeekPoke not listed JNDI name (mainly for Envoys which do not support JNDI list).
Version 0.90: Sept, 2000
Enhancement:
1. PeekPoke supports arbitrary objects (except for Vector, Hashtable
and alike) as input values.
2. Reworked help documents.
Bug fix:
1. Clicking Cancel button on Pace Panel set 0 to pace. It causes
further time-out.
2. MDI related bugs under JDK 1.3.
Version 0.80: Aug, 2000
Enhancement:
1. With full-featured SuperLogging.
Version 0.72: July, 2000
Bug fix:
1. Ignore unknown objects, so Weblogic5.1 can show JNDI list.
Version 0.71: July, 2000
Enhancement:
1. Re-worked peek algorithm, doing better for concurent use.
2. Add cacellable Wait dialog, showing Super is busy.
3. Add Stop button on Peek Panel.
4. Add undeploy example button.
Bug fix:
1. Deletion on Peek Panel may cause error under JDK 1.3. Now it works for both 1.2 and 1.3
Version 0.70: July, 2000
Enhancement:
1. PeekPoke EJBs without programming.
Bug fix:
1. Did not show many windows under JDK 1.3. Now it works for both 1.2 and 1.3
Changes:
1. All changes are backward compatible, but you may need to recompile monitor windows defined by you.
Version 0.61: June, 2000
Bug fix:
1. First time if you choose BUFFER as logging device, message will not show.
2. Fixed LoggingPanel related bugs.
Version 0.60: May, 2000
Enhancement:
1. Add DATABASE as a logging device for persistent logging message.
2. Made alertInterval configurable.
3. Made pace for tracing configurable.
Bug fix:
1. Fixed many bugs.
Version 0.51, 0.52 and 0.53: April, 2000
Enhancement:
1. Add support to Weblogic 5.1 (support for Logging/Tracing and
user defined GUI window, not support for regular monitoring).
Bug fix:
1. Context sensitive help is available for most of windows: press F1.
2. Fix installation related problems.
Version 0.50: April, 2000
Enhancement:
1. Use JavaHelp for help system.
2. Add shutdown functionality for J2EE.
3. Add support to Weblogic 4.5 (support for Logging/Tracing and
user defined GUI window, not support for regular monitoring).
Bug fix:
1. Better exception handling for null Application.
Version 0.40: March, 2000
Enhancement:
1.New installation program, solves installation related problems.
2. Installation deploys AceletSuperApp application.
3. Add deploy/undeploy facilities.
4. Add EJB and application lists.
Change:
1.SimpleMonitorInterface: now more simple.
Version 0.30: January, 2000
Enhancement:
1. Add realm support to J2EE
2. Come with installation program: you just install what you want
the first time you run Super.
Version 0.20: January, 2000
Enhancement:
Add support to J2EE Sun-RI.
Change:
1. Replace logging device "file" with "buffer" to be
compliant to EJB 1.1. Your code do not need to change.
Version 0.10: December, 1999
Enhancement:
1. provide SimpleMonitorInterface, so GUI experience is
not necessary for developing most monitoring applications.
2. Sortable table for table based windows by mouse
click (left or right).
Version 0.01 November., 1999:
1. Bug fix: An exception thrown when log file is large.
2. Enhancement: Add tour section in Help information.
Version 0.00: October, 1999
Thanks.Adrain,
Its a very good thought and reorganisation might help most of them with their critical issues in 2004s.Its not that the critical issues are not taken care off in the present system but definetly the new names might bring in more attraction and meaning.
I would vote for renaming.
thanks. -
Amount of key presses a user makes over time - BPM
Hi,
Im working on a small program that needs to get the amount of keypresses a user makes over time.
Basically its for calcuating the BPM a user is inputting. So a uers taps a beat for 5 seconds and the amount of tap is saved and multiplied by 12 to get the Users BPM.
So far i have this:
package Version1;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.KeyEvent;
import java.awt.event.KeyListener;
import java.util.Timer;
import java.util.TimerTask;
import javax.swing.*;
public class muTap extends JFrame implements KeyListener, ActionListener {
JTextArea display;
* main - the main method
public static void main(String[] args) {
javax.swing.SwingUtilities.invokeLater(new Runnable() {
public void run() {
theGUI();
* muTap constructor
public muTap(String name) {
super(name);
* theGUI - creates the gui for muTap
public static void theGUI() {
muTap frame = new muTap("muTap");
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
//Set up the content pane.
frame.addComponents();
//Display the window.
frame.pack();
frame.setVisible(true);
* adComponents - adds gui components to muTap
public void addComponents() {
JButton button = new JButton("Start");
button.addActionListener(this);
display = new JTextArea();
display.setEditable(false);
display.addKeyListener(this);
JScrollPane scrollPane = new JScrollPane(display);
scrollPane.setPreferredSize(new Dimension(375, 125));
getContentPane().add(scrollPane, BorderLayout.PAGE_START);
getContentPane().add(button, BorderLayout.PAGE_END);
public void keyTyped(KeyEvent e) {
//Do Nothing
/** Handle the key pressed event from the text field. */
public void keyPressed(KeyEvent e) {
//TODO call the getBPMfromKboard() method
taps++;
System.out.println("Tap: " + taps);
/** Handle the key released event from the text field. */
public void keyReleased(KeyEvent e) {
//Do Nothing
/** Handle the button click. */
public void actionPerformed(ActionEvent e) {
//Do Nothing
//initialCountdown(3, "Start Tapping Fool");
countDown(3);
* countDown - a simple countdown timer for use when getting users input.
* @param time amount of time to count down from
* @return true when timer ends.
public static int taps;
public void countDown(final int time) {
taps = 0;
final Timer timer = new Timer();
timer.scheduleAtFixedRate(new TimerTask()
int i = time;
public void run() {
i--;
String s = Integer.parseInt(i); // error because of this i.
display.setText(s);
if (i < 0) {
timer.cancel();
if(time == 3)
display.setText("Start Tapping");
countDown(5);
else if(time == 5)
display.setText("Number of taps: " + taps);
//System.out.print("Number of taps" +taps);
}, 0, 1000);
}But i get errors when i try running it:
"Exception in thread "Timer-1" java.lang.RuntimeException: Uncompilable source code"
It doesnt seem to like me parsing int to string here:
String s = Integer.parseInt(i); Any ideas? or if youve got suggestions on another way to do it it'd be much appreiated.
Thanks!Korvanica wrote:
It doesnt seem to like me parsing int to string here:
String s = Integer.parseInt(i);
Yikes, you've got that bit of code backward, there partner.
You use Integer.parseInt to parse a String into an int, not the other way around.
If you want to change an int to a String, do
String s = String.valueOf(i)or you can use the various formatters out there. -
Below is a copy of a post from my blog detailing the apps I used to fully replace KDE. (If you want the hyperlink version you can also read it on my blog.)
A few months ago I dropped Kubuntu and KDE as my desktop and switched to Arch Linux with an Openbox desktop. I've used KDE for years and thought highly of it, but they lost me with KDE 4. But I still had quite a few KDE apps I used in Openbox. With the recent KDE 4.4 update, KDE went from bad to worse, making Akonadi truly required, Nepomuk more troublesome, breaking some of my apps, and other problems. So I decided to drop all KDE dependency. Despite some of the fine KDE apps I still think highly of, like Krusader and Kmail, I simply don't want all the overhead required to run them.
So for the last couple of weeks I've been finding replacements for the last of my KDE apps, particularly Kate, Kmail, Krusader, and k3b. I thought I would share what I found to replace these and other apps, and why I like them. I've written about some of these before but I'll try to make this a fairly complete list in itself. After trying various apps, these are the ones I chose.
Arch Linux
I already wrote about My Big Move To Arch and The Followup. Briefly, I really like the Arch way of doing things. Rolling release means there are no upgrades to do every year. Instead anytime you update packages you get the very latest. Occassionally this will break something. I find it's good to do an update when I'm prepared to spend a few minutes addressing any issues. It's also good to have a system backup. But in general I like fixing things a little at a time, instead of upgrading the whole system as is done with Ubuntu releases. I also like having access to the latest packages, and Arch has a great community build system for apps that aren't included in the official repos. So I'm very happy with Arch and I highly recommend it for anyone reasonably familiar with a distro like Ubuntu who wants to run a more customized, faster system.
Openbox and LXDE
LXDE is a great desktop which includes Openbox as its window manager, and some lightweight apps. You can also just use Openbox by itself and install other components to go with it. You edit XML files to construct your menu and add shortcut keys to do whatever you like, and add any components you want. For example, I use the excellent lxpanel as my taskbar in Openbox. It works and looks a lot like KDE3's taskbar.
Claws
After asking around, I decided to give Claws Mail a try as a replacement for the very capable Kmail. I am extremely pleased with it, and in some ways like it better than Kmail. It has most of Kmail's features. It handles HTML email a bit differently – can't send it, and converts incoming to text. This works pretty well. There is also a plugin that allows you to display HTML email but I haven't tried that – no need. It has very capable filtering, account handling, and a great UI.
Note: If you switch from Kmail, you can transfer your email as follows. Save a copy of your ~/.kde/share/apps/kmail/mail folder. Rename all the mail files in it (using your favorite rename utility) so they have simple names like "001″, "002″, etc. Claws doesn't seem to like the semicolons and such that Kmail uses for filenames. Then, in Claws select File|Add Mailbox and specify the copy of your mail folder. All the mail will appear in Claws – look in the "cur" subfolders for the messages. Drag or copy the messages from there to your Claws mailbox folders. Then you can right-click on the mailbox you added and select Remove Mailbox. All done! Claws can also read the vcard address book format exported by Kmail, or saved in ~/.kde/share/apps/kabc
PCMan File Manager
This FM, which is the default for the LXDE desktop, is the one I finally chose after reviewing a bunch of File Managers. It has support for multiple tabs which I find very useful. It does not have twin-pane like Krusader, but I find that less important, and I didn't care for the other twin-pane FMs I reviewed. One thing I missed in PCMan is user-definable functions. So I have written a mod for PCMan which adds these in a very flexible way, and also fixes a few other issues and bugs I encountered. With that mod in place, I'm very happy with this FM. It is simpler than Krusader, but I didn't actually use most of the functions in Krusader, so it's nice having a cleaner UI. This runs a lot like the Konqueror FM in KDE3. Thunar is also a notable mention – a simpler FM with a clean UI.
Bluefish
This a very Kate-like syntax-highlighting editor. I was very glad to find this editor, with a recently released version 2, because I wasn't sure what I'd find to replace Kate. It has some excellent features and some improvements on Kate as well. It's an almost perfect editor. You might also check out SciTE as another alternative to Kate.
GQView
Similar to Gwenview, GQView is a very capable image viewer. It's folder view is great – actually an improvement on Gwenview in some ways.
ePDFviewer
While not a full replacement for all the functionality of Ocular, I found ePDFviewer to be a nice lightweight app that does all I wanted – it lets me view and print PDF files.
XArchiver
I've already mentioned this replacement for Ark – it does the job.
XPad
A terrific replacement for KNotes – adds sticky notes to your desktop. Very similar to KNotes in functionality and appearance, and minimal dependencies.
ROXTerm
This was my choice to replace Konsole. Has similar features and appearance – came highly recommended on the Arch Forums.
SMPlayer and VLC
My multimedia players, these do the job!
Deluge
After reviewing a few of them, this was my replacement for KTorrent. A vast improvement!
GHex2
GHex is Gnome's hex editor, and it's one the best IMO as a general, easy-to-use hex editor.
gFTP
This gnome FTP client seems to survive on my system. Although I've tried others, I keep coming back to this because it 'just works'.
Speedcrunch
A simple yet powerful desktop calculator.
Graveman
I was planning to use Brasero as my replacement for k3b, but it couldn't use my DVD drive correctly. Graveman, once I gave it the device name "/dev/scd0″ in preferences, does the job. A nice lightweight burning app with almost no dependencies.
Import
Part of Imagemagick, the import command can be used to take desktop snapshots, similar to KSnapshot. It works great. I simply associated the following command with the "Print" key (Printscreen) in Openbox's rc.xml:
bash -c "import /tmp/screenshot-$(date +%s).png"
When I press the PrintScreen key, the mouse cursor changes to a target. I click on the window I want and a snap is written to /tmp. Very slick. Import can do other things like take multiple snapshots, etc.
Zim
I've mentioned Zim before as a personal desktop wiki. I still think its handy but a recent update messed up the theme handling and some other issues. I realized having my notes in plain text format is less volatile, so I've gone back to that. This was easy since Zim mostly uses a plain text format for storage. But Zim may still be worth checking out.
Zenity
Similar to the old KDialog but much more capable, Zenity lets you add GUI dialogs to your scripts. A good guide is here.
With these changes, I was finally able to remove kdelibs and all its junk – soprano, nepomuk, akonadi, strigi, phonon, etc. I am KDE free. To give you an idea of just how bloated and over-dependent KDE has become look what I would have to install just to install a simple file manager like Krusader:
Targets (17): clucene-0.9.21b-1 strigi-0.7.2-1 libiodbc-3.52.7-3
virtuoso-6.1.0-1 soprano-2.4.0.1-1 qca-2.0.2-2
polkit-qt-0.95.1-1 phonon-gstreamer-4.3.80-2 phonon-4.3.80-2
shared-desktop-ontologies-0.2-1 attica-0.1.2-1 kdelibs-4.4.0-4
oxygen-icons-4.4.0-1 rarian-0.8.1-1 libssh-0.4.1-1
kdebase-runtime-4.4.0-3 krusader-2.0.0-3
Total Download Size: 73.75 MB
Total Installed Size: 205.80 MB
Proceed with installation? [Y/n] NO THANKS
So long KDE… have a nice trip becoming a Windows 7 clone.
ps: I'm still looking for a GUI replacement for Filelight, which was great for showing a graphical representation of disk usage. Also, I could use an audio CD ripping app since Graveman doesn't fully replace k3b. Haven't really looked yet but if anyone has a suggestion its appreciated. Thanks.
Last edited by IgnorantGuru (2010-02-23 19:00:51)Labello wrote:i don't really get your point in arguing that some things in KDE changed
I don't mean to dis KDE for everyone - I'm just speaking for myself and my uses. I have a fast system and KDE runs fine in that sense. It has had some RAM and bug issues and certainly isn't lightweight, but that wasn't really my issue. I'm more troubled with their recent choices of servers (akonadi, soprano, phonon, nepomuk, etc), the security issues they introduce, the bugs and interoperability problems, and the wholly unnecessary drain on CPU and RAM. I like to run a leaner, lighter system not just to save resources, but also because I like to know what's running and why, and I like to have control of my system. To me KDE keeps going more toward the Windows direction of isolating the user from control of the system, dictating what has to be running, etc. Many of the so-called dependencies aren't required for most apps at all. Plus, my and other's bug reports are just not addressed in KDE - they've become sloppy, Windows-style, with their code. I see KDE heading in a direction I don't like, and fast. So I wanted to get free of dependency on it so as it goes deeper into that, I can go elsewhere. Took me a bit of work but I've accomplished that. Not only that, I've discovered some great apps in the process - my new system rocks.
You can check out the Library on my blog for my Big Move To Arch post and the followup, which gets more into some of the reasons, and also this thread.
If KDE still works for you and others, great. Lots of choices. I just advise people to be careful with KDE because I think it's getting sneaky and not very pro-user about things. Good to know when to abandon a sinking ship. I think the Ubuntu approach, Gnome, and KDE engender dependencies, in the sense of user dependencies. For example, it took me awhile to move off the KDE platform because so many of the apps I used were in it. I think stand alone apps are a better approach overall. KDE is becoming like a members-only country club - you've got to adopt their complete philosophy just to use any of the KDE apps, or God forbid, the desktop.
Oh and I loathe Plasma. It's everything I DON'T want in a desktop. So KDE just didn't fit me well anymore.
Maybe you are looking for
-
BRF+ in NW 701: Adding an expression in a ruleset-specific rule
Hi, I'm running BRFPlus in NW 701 (FDT_WORKBENCH) and I'm aware that, this version has several limitations For example, in a ruleset-specific rule, I'm not able to add a ruleset variable nor to add a new expression operation as rule operation. Is the
-
[SOLVED]Creative Zen V - libmtp regular user cant access
Anyone know how to configure libmtp so that a regular user (not root) can access the device? I have searched the forum/wiki but didnt find anything usefull. When I run mtp-detect as root it prints alot of info about the device, so I guess its working
-
Hi All, I am pulling data from SQL server(view) using WCF-SQL adapter, in DEV it's working fine and in test following is the error I have checked the credentials and server name all are fine, But i couldn't figure out the issue. Thanks in Advace Recl
-
UTILIZATION Challenge !! Credit Addicts needed !
Hi all! So, this is a "what if" scenario that I need help with. My scores are climbing wildly as I pay down my cards, with a 10 point jump overnight just for bringing UTIL down on one card from $500 / 600 CL to $259 / 600 CL !! EX FICO. So, I wan
-
Restoring Contacts by using OviSync
Hi all, I just got my phone from Nokia center due to unable to register SIM problem. It has been fixed. Before I send my phone to the Nokia center, I've created (1st time) Ovi account and sync my contacts in my phone to my Ovi account. (Note that I d