Implementing my own Topic and TopicConnectionFactory

I need to implement my own version of Topic and TopicConnectionFactory. I also need to do this without changing my original program code at all. That is, I still need to be able to say Topic myTopic, but have it load up my own version of the Topic class.
Does anyone have any suggestions for where I can make this change? I am thinking I might have to use JNDI but I am not sure. Pointing me in the right direction would be VERY helpful, I'm willing to do lots of research on this, I just don't know where to look. Thanks!

Hi!
You can study how these interfaces are inplemented in real projects. Study for example source codes of some Open Source project. Here is one starter page
http://www.jmiddleware.com/jms_links_page.html
-Raine-

Similar Messages

  • UIX Controller - Implementing my own PageFlowEngine

    I want to implement my own PageFlowEngine and having looked at the javadocs it seems to me that there are really only two methods which need overriding from BasePageFlowEngine:
    checkPageAccess(...) - this is where any security issues should be addressed
    getPage(...) - decide which page to go to next
    Am I right in this? If not what am I missing?
    Thanks
    Ian

    Hi Arjuna, here's our views on what we're trying to do.
    Our application will have many multi-step transactions building state as they progress. A user will have access to a set of functions but may have limited access within each function (e.g. View <objectType> only, not Update).
    The issues we are trying to address are:
    1. We'd like the back button to only re-render relevant pages. In a multi-page dialogue, rather than display each state of the same page (for example where <hideShow>s may be actioned) we want to go to the previous page in that dialogue.
    2. We'd like the back button to prevent 'cross-transaction' flows. Following a 'commit of a transaction' we want to control what happens when the user hits the back button e.g. return the user to a known point in the dialogue NOT the previous page.
    3. Remove page-flow from event handlers because :
    a. The flow may change based on user security settings or may be determined by previous flow.
    b. Enable re-use of common pages in multiple scenarios i.e. where a page can be reached from several points we want the flow engine to return the flow to its 'initiation point'.
    4. Enable a generic error-handling mechanism. Depending on the nature of any error, we want to encapsulate the processing of the error e.g. return to the same page, go to a warning or error page.
    We believe that in order to get our required behaviour for the above we would have to do (at least!) the following:
    1.     Implement our own PageFlowEngine
    2.     Implement our own StateManager
    3.     Disable browser cacheing (overriding isCacheable in our implementation of PageBroker)
    I hope this is enough for you to understand our requirements, thanks for your help
    Ian

  • How can i implement "my own" security in ADF 11g

    Hi everybody,
    I have a problem and hope anyone could help me...
    Currently i am developing a ADF application, and i want to implement the security... the problem i have (and i read a lot of posts in the forum and other blogs and i don't found anything that help me) is that the "validation" of the user of password is with a webservice..... and the "roles" of the application are given to me with another web service.
    I read a lot and in the Fusion's Developer Guide in chapter 30 (Enabling ADF Security in a Fusion Web Application) explains very good how to implement the security in the application, but, that example really doesn't work for my problem.
    I wan't to know any way to in the "doLogin" action of my "Login button in my login page" to implement my own logic.
    public String doLogin() {
    2 String un = _username;
    3 byte[] pw = _password.getBytes();
    4 FacesContext ctx = FacesContext.getCurrentInstance();
    5 HttpServletRequest request =
    6 (HttpServletRequest)ctx.getExternalContext().getRequest();
    7 CallbackHandler handler = new SimpleCallbackHandler(un, pw);
    8 try {
    9 Subject mySubject = Authentication.login(handler); <<----------------------------- Here i wan't to invoke the WS that validate the user and pwd.
    10 ServletAuthentication.runAs(mySubject, request);
    11 String loginUrl = "/adfAuthentication?success_url=/faces" +
    12 ctx.getViewRoot().getViewId();
    13 HttpServletResponse response =
    14 (HttpServletResponse)ctx.getExternalContext().getResponse();
    15 sendForward(request, response, loginUrl);
    16 } catch (FailedLoginException fle) {
    17 FacesMessage msg = new FacesMessage(FacesMessage.SEVERITY_ERROR,
    18 "Incorrect Username or Password",
    19 "An incorrect Username or Password" +
    20 " was specified");
    21 ctx.addMessage(null, msg);
    22 } catch (LoginException le) {
    23 reportUnexpectedLoginError("LoginException", le);
    24 }
    25 return null;
    26 }
    And i wan't to know if i can save some other user information in some kind of session (like company, mail and other stuff).....
    And when i can login validating usr and pwd from the WS... how could i manage my roles ?
    Welll i hope anyone can help me.
    Regards from Mexico.

    Hi,
    to do this, you create a JAAS Login Module to authenticate against the Web Service. This then you wrap in an authentication provider that you configure with WLS. ADF Security does not perform any authentication itself and instead leaves it for the container.
    http://download.oracle.com/docs/cd/E17904_01/web.1111/e13718/atn.htm#i1154044
    Frank

  • BP_CONT_SEARCH own button and own logic

    Hello,
    i need to implement a own button in the result list of component BP_CONT_SEARCH.
    Which method do i need to redifine to add my own button?
    With this button i need to read additional data to all Contact persons in the result list and export a detailed list per excel.
    What is the easiest way to get all contact persons (for example ID or GUID) in the result list?
    Thank you
    Kind regards
    Manfred

    For button creation, code in DO_PREPARE_OUTPUT of the result IMPL class after redefining. Once done. On-Click event name should be created in the same IMPL class. This method id where you will code the logic.
    Since the netity would be available from the context node RESULT, you will have the collection for all the entities. STRUCT.BP_GUID  will give you the necessary GUID of the concerned contact person.
    Rg,
    Harshit

  • Can JMS topics and queues be clustered in a WLS 7.0 Cluster?

    We are installing a weblogic 7.0 cluster with 1 admin server and 2 managed
              node servers. Two nodes have been clustered. We are at the point where we
              need to configure JMS. Has any one implemented JMS in WLS 7 clustered
              environment? What are the things to watch out when clustering JMS? Can JMS
              topics and queues be clustered?
              TIA for any helpful hints and comments.
              Regards
              

    "Karim Ali" <[email protected]> wrote:
              >> Has any one implemented JMS in WLS 7 clustered
              >> environment?
              I'm currently working on a project with WLS 7 here at work, involving
              the implementation of BEA's JMS Cluster. So far, I really haven't had
              many hiccups.
              "Karim Ali" <[email protected]> wrote:
              >> What are the things to watch out when clustering JMS?
              At least in WLS 7, the biggest thing that stands out is the lack of
              automatic failover. Also, Message Paging -- make sure you configure
              paging high/low thresholds. Or, if you don't wish for it to occur but
              can't stop the server (very common these days with SLAs), set that
              byte/message high threshold to a very large number (correct me if I'm
              wrong, but I believe BEA recommends 2^63 -1).
              "Karim Ali" <[email protected]> wrote:
              >> Can JMS topics and queues be clustered?
              Well, since Topics and Queues are extensions of the
              javax.jms.Destination interface, the answer is: Yes!
              (SIDE NOTE: most people usually refer to them as a [JMS] "destination"
              -- it avoids a lot of conceptual baggage and plus, less typing!)
              You'll probably want to see this section of BEA's e-docs:
              http://edocs.bea.com/wls/docs70/adminguide/jms.html#config_distributed_destinations
              later,
              Brian J. Mitchell
              BEA Systems Administrator
              TRX
              Atlanta, GA
              email: [email protected]
              office: 404-327-7238
              mobile: 678-283-6530
              

  • Request-Reply in JMSAdapter SOA 11g using a Topic and a Queue

    Hi All
    We are trying to implement JMS Request\Reply with Tibco EMS Server using JMS Request\Reply. Problem is that Tibco has exposed a topic (where request message has been enqueued) and replies the message is a pre defined JMS queue.
    I am trying to use JMS adapter in SOA 11g (OSB doesnt support request\reply as soon as destination is selected as Topic ) with foreign JMS server setup in weblogic.
    Problem is that when i invoke the composite, it errors out saying that request destination has to be a queue. I tried to find any sample that talks about request-reply with topics but could not find any.
    Is request-reply pattern supported with topics or topic-queue combinations in JMS adapter 11g? Please let u know. Thanks

    Hi All
    The request-reply pattern is working with queues and topics, but not with topic and queue. The issue is with this:
    <adapter-config name="RemoteOSBJMSService" adapter="JMS Adapter"
    wsdlLocation="RemoteOSBJMSService.wsdl"
    xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">
    <connection-factory location="eis/JMS/RequestReplyTopic"
    UIJmsProvider="WLSJMS" UiOperationMode="Asynchronous"
    UIConnectionName="chdsez147855d"/>
    <endpoint-activation portType="Reply_ptt" operation="Reply"
    UITransmissionPrimitive="Request-response">
    <activation-spec className="oracle.tip.adapter.jms.inbound.JmsConsumeActivationSpec">
    <property name="PayloadType" value="TextMessage"/>
    <property name="UseMessageListener" value="false"/>
    <property name="DestinationName" value="jms.soa.local.response.q"/>
    </activation-spec>
    </endpoint-activation>
    <endpoint-interaction portType="Request_ptt" operation="Request"
    UITransmissionPrimitive="Request-response">
    <interaction-spec className="oracle.tip.adapter.jms.outbound.JmsProduceInteractionSpec">
    <property name="TimeToLive" value="0"/>
    <property name="PayloadType" value="TextMessage"/>
    <property name="DeliveryMode" value="Persistent"/>
    <property name="DestinationName" value="jms.soa.local.request.topic"/>
    </interaction-spec>
    </endpoint-interaction>
    </adapter-config>
    The connection factory "eis/JMS/RequestReplyTopic" can either hold isTopic as false or true. If i set it to false, it doesnt even let me enqueue and if i set it to true. The reply doesnt arrive.
    Please help!

  • How to program my own UPI and OPI?

    Hi,
    I just want to know how to program my own UPI and OPI. I want to
    add some features into the DBMS. Is there some one can answer my
    questions, or tell me where to find information? Thanks!
    null

    Follow the bouncing example
    package mil.army.logsa.sandbox.thread;
    import java.util.Observable;
    import java.util.Observer;
    public class RunnableExample implements Observer {
         public static void main(String[] args){
              RunnableExample e = new RunnableExample() ;
              e.exec() ;
         // This is here because you can't reference (this) in the static context of the main method
         private void exec(){
              System.out.println("Launching RunnableExample") ;
              System.out.println("Creating Thing") ;
              Thing t = new Thing(this) ;
              t.start() ;
              System.out.println("Shutting down RunnableExample") ;
         @Override
         public void update(Observable o, Object arg) {
              System.out.println(arg) ;
    class Thing extends Thread {
         private ObservableThing obsThing ;
         public Thing(Observer o){
              super() ;
              obsThing = new ObservableThing() ;
              obsThing.addObserver(o) ;
         public void run(){
              System.out.println("Starting Thing") ;
              for(int i=0; i<100; i++){
                   obsThing.notifyObservers(i + " is " + (i%2==0 ? "EVEN" : "ODD")) ;
              System.out.println("Thing is finished") ;
    class ObservableThing extends Observable{
         public void notifyObservers(Object o){
              setChanged() ;
              super.notifyObservers(o) ;
    }PS.

  • Implementing my own linked lists...aiiieee!

    Hi,
    I'm trying to implement my own linked list structure oftype String. It will eventually go to form a simple text editor, with each line of a file being loaded into its own String node.
    However, im having problems implementing the list itself :)
    So far ive got the file to read in succesfully, but now im stuck...how do i load up a line into a new node? and what about the head/tail nodes, they just confuse me! Do i have to write a seperate 'List' class and create an object of that, much like the LinkedList class with Java?
    Any help or a nudge in the right direction would be appreciated,
    TIA
    andrew
    PS code below ...
    =================================
    =================================
    import java.io.*;
    import java.util.*;
    class Editor {
    public static void main(String[] args) {
    ///LOAD UP THE TEXT FILE//////////////////////////////////////
         String file = "s.txt";
         String line;
         System.out.println(System.in);
         //testing here...
    StringNode alist = new StringNode(null,null);
         try{
              FileReader FR = new FileReader(file);
              BufferedReader BR = new BufferedReader(FR);
              while ( (line = BR.readLine()) != null ){
                   alist.addNodeAfter(line);
                   System.out.println(line);
                   }//while
         }//try
         catch(IOException e){
              System.out.println(file + " not found");
         }//catch
    ///COMMANDS///////////////////////////////////////////////////
    //text editor commands to be input via command line type console. how to grab inputs on return?
    }//main
    }//Editor
    //code to create a node...but now what?
         class StringNode
         private String data;
         private StringNode link;
         // constructor for initialisation
         public StringNode(String initialData, StringNode initialLink)
              data = initialData;
              link = initialLink;
         // accessor method to get the data from this node
         public String getData( )
              return data;
         // accessor method to get a reference to the next node after this node.
         public StringNode getLink( )
              return link;
         // modification method to set the data in this node.
         public void setData(String newData)
              data = newData;
         // modification method to set the link to the next node after this node
         public void setLink(StringNode newLink)
              link = newLink;
         // add a new node after this node
         public void addNodeAfter(String item)
              link = new StringNode(item, link);
         // modification method to remove the node after this node.
         public void removeNodeAfter( )
              link = link.link;
         // compute the number of nodes in a linked list
         public static int listLength(StringNode head)
              StringNode cursor;
              int answer;
              answer = 0;
              for (cursor = head; cursor != null; cursor = cursor.link)
                   answer++;
              return answer;
         // print the nodes in a linked list
         public static void listPrint(StringNode head)
              StringNode cursor;
              for (cursor = head; cursor != null; cursor = cursor.link)
                   System.out.println(cursor.getData());
         // print the nodes in a linked list skipping dummy node at head
         public static void listPrint2(StringNode head)
              StringNode cursor;
              for (cursor = head.link; cursor != null; cursor = cursor.link)
                   System.out.println(cursor.getData()+" ");
         // search for a particular piece of data in a linked list
         public static StringNode listSearch(StringNode head, String target)
              StringNode cursor;
              for (cursor = head; cursor != null; cursor = cursor.link)
                   if (target == cursor.data)
                        return cursor;
              return null;
    }

    You wouldn't by any chance be doing computer science at Cardiff university would you and have been given this as an assignment?

  • How to customize the title bar on my own Look And Feel?

    Hi all!
    I am creating my own Look and Feel which extends from NimbusLookAndFeel. What I'm doing is overwriting UIDefaults values??, referring to the Painters. For example:
    +uiDefault.put ("Button [Enabled]", new ButtonEnabledPainter());+
    But now I need is to customize the title bar of the JFrame's, but I do not see this option in Painter's values ??can be overwritten by Nimbus (http://docs.oracle.com/javase/tutorial/uiswing/lookandfeel/_nimbusDefaults . html).
    You know as possible? I have to overwrite an existing UI component? The idea is I want to make the look and feel like SeaGlass, but the code seems a bit complex to know where to begin.
    I hope you can guide me on this issue.
    Thank you very much for everything! And excuse my English!.
    Greetings!

    very simple example, with direct methods
    import java.awt.*;
    import java.awt.event.*;
    import java.util.LinkedList;
    import java.util.Queue;
    import javax.swing.*;
    public class NimbusBorderPainterDemo extends JFrame {
        private static final long serialVersionUID = 1L;
        private JFrame frame = new JFrame();
        private JPanel fatherPanel = new JPanel();
        private JPanel contentPanel = new JPanel();
        private GradientPanel titlePanel = new GradientPanel(Color.BLACK);
        private JLabel buttonPanel = new JLabel();
        private Queue<Icon> iconQueue = new LinkedList<Icon>();
        public NimbusBorderPainterDemo() {
            iconQueue.add(UIManager.getIcon("OptionPane.errorIcon"));
            iconQueue.add(UIManager.getIcon("OptionPane.informationIcon"));
            iconQueue.add(UIManager.getIcon("OptionPane.warningIcon"));
            iconQueue.add(UIManager.getIcon("OptionPane.questionIcon"));
            JButton button0 = createButton();
            button0.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    frame.setExtendedState(ICONIFIED);
            JButton button1 = createButton();
            button1.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    frame.setExtendedState(MAXIMIZED_BOTH | NORMAL);
                }//quick implemented, not correct you have to override both methods
            JButton button2 = createButton();
            button2.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    int confirm = JOptionPane.showOptionDialog(frame,
                            "Are You Sure to Close Application?", "Exit Confirmation",
                            JOptionPane.YES_NO_OPTION, JOptionPane.QUESTION_MESSAGE,
                            null, null, null);
                    if (confirm == JOptionPane.YES_OPTION) {
                        System.exit(1);
            buttonPanel.setLayout(new GridLayout(0, 3, 5, 0));
            buttonPanel.setPreferredSize(new Dimension(160, 30));
            buttonPanel.add(button0);// JLabel is best and cross_platform JComponents
            buttonPanel.add(button1);// not possible put there witouth set Dimmnesion
            buttonPanel.add(button2);// and LayoutManager, work in all cases better
            titlePanel.setLayout(new BorderLayout());//than JPanel or JCompoenent
            titlePanel.add(new JLabel(nextIcon()), BorderLayout.WEST);
            titlePanel.add(new JLabel("My Frame"), BorderLayout.CENTER);
            titlePanel.setBorder(BorderFactory.createLineBorder(Color.GRAY));
            titlePanel.add(buttonPanel, BorderLayout.EAST);
            JTextField field = new JTextField(50);
            JButton btn = new JButton("Close Me");
            btn.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    System.exit(1);
            contentPanel.add(field);
            contentPanel.add(btn);
            fatherPanel.setLayout(new BorderLayout());
            fatherPanel.add(titlePanel, BorderLayout.NORTH);
            fatherPanel.add(contentPanel, BorderLayout.CENTER);
            frame.setUndecorated(true);
            frame.add(fatherPanel);
            frame.setLocation(50, 50);
            frame.pack();
            frame.setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE);
            frame.setVisible(true);
            ComponentMover cm = new ComponentMover(frame, titlePanel);
            //by camickr http://tips4java.wordpress.com/2009/06/14/moving-windows/
        private JButton createButton() {
            JButton button = new JButton();
            button.setBorderPainted(false);
            button.setBorder(null);
            button.setFocusable(false);
            button.setMargin(new Insets(0, 0, 0, 0));
            button.setContentAreaFilled(false);
            button.setIcon(nextIcon());
            button.setRolloverIcon(nextIcon());
            button.setPressedIcon(nextIcon());
            button.setDisabledIcon(nextIcon());
            nextIcon();
            return button;
        private Icon nextIcon() {
            Icon icon = iconQueue.peek();
            iconQueue.add(iconQueue.remove());
            return icon;
        private class GradientPanel extends JPanel {
            private static final long serialVersionUID = 1L;
            public GradientPanel(Color background) {
                setBackground(background);
            @Override
            public void paintComponent(Graphics g) {
                super.paintComponent(g);
                if (isOpaque()) {
                    Color background = new Color(168, 210, 241);
                    Color controlColor = new Color(230, 240, 230);
                    int width = getWidth();
                    int height = getHeight();
                    Graphics2D g2 = (Graphics2D) g;
                    Paint oldPaint = g2.getPaint();
                    g2.setPaint(new GradientPaint(0, 0, background, width, 0, controlColor));
                    g2.fillRect(0, 0, width, height);
                    g2.setPaint(oldPaint);
        public static void main(String[] args) {
            SwingUtilities.invokeLater(new Runnable() {
                @Override
                public void run() {
                    try {
                        UIManager.setLookAndFeel("com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel");
                    } catch (Exception fail) {
                    UIManager.getLookAndFeelDefaults().put("nimbusFocus", Color.RED);
                    NimbusBorderPainterDemo nimbusBorderPainterDemo = new NimbusBorderPainterDemo();
    }

  • RoboHelp 7: RB skips some of my topics and won't make an HTML page

    Hi,
    I'm new to RB7 for word, but I have managed to successfully create and modify an online manual with RB7 for Word.
    I'm now trying to create a second online manual, and RB7 skips two of my topics and won't produce their HTML pages. I have tried renaming the topics, deleting one and recreating it from scratch, renaming the topic ID, deleting the folder where the HTML pages would go, nothing seems to work.
    Why would RB7 skip two of my topics? I have tried to find differences between these two topics and the others, and I can't find anything.
    Any help would be greatly appreciated.
    Thanks!
    Karla

    Hi Rick,
    Actually, this question is my very first post to this forum, and I created my account only this afternoon
    To answer your questions (and add more explanation of what I'm doing):
    1) Oops on the RB for HTML. RoboHelp was already installed on the computer I got, and all I see is RoboHelp for Word. I don't see an option for RB for HTML. I'll ask the IT guy.
    2) My Word documents are long. I'm importing the Word docs to RB to create the online help. My topics in RB are the headings and subheadings from my Word doc. Some topics are long, but not all. Oddly enough, the two topics that are not being converted to HTML are very, very short.
    3) To make my Long Word docs easier on RB, I split my Word doc into several smaller docs. So I have my Long Word doc for converting to PDF, and for RB, I make each chapter into its own word doc, and I import those.
    4) In the RB TOC, I'm creating a book for each chapter title, and pages for each topic. BUT, if if I have subheadings within the chapter with subsubheadings, then I make the subheading a book, and make pages for the subsubheadings (I wanted to nest the pages instead, but I can't figure out how.)
    5) Doing a bit of experimentation, I found that if I move the topic that won't convert to HTML up to the subheading/book above it, it gets converted to HTML. If I move it back to the level where I want it to be, it won't get converted to HTML.
    Thanks again for your help and your reply!
    Karla

  • Implementation of own Sockets for internet-simulation

    Hi,
    I want to implement a simulation of the internet with some host connected to
    it over TCPSockets and UDPSockets.
    I wrote my own DatagramSocketImpl and SocketImpl and activated it as follows:
    DatagramSocket.setDatagramSocketImplFactory( new CDatagramSocketImplFactorySimu() );
    CDatagramSocketImplFactorySimu is my implementation of:
    public class CDatagramSocketImplFactorySimu implements DatagramSocketImplFactory {
    CDatagramSocketImplSimu si;
         * Method createDatagramSocketImpl
         * Creates a new DatagramSocketImplSimu instance.
         * @return a DatagramSocketImpl
    public DatagramSocketImpl createDatagramSocketImpl(){
    si = new CDatagramSocketImplSimu();
    return si;
    CDatagramSocketImplSimu is my implementation of:      
    public
    class CDatagramSocketImplSimu extends DatagramSocketImpl{
         private CUDPSocket m_udpSocket;
         public CDatagramSocketImplSimu(){
         protected void create() throws SocketException {        
              m_udpSocket = new CUDPSocket();
         protected void bind(int lport, InetAddress laddr) throws SocketException {                   
              m_udpSocket.setIPAdr(_laddr.getHostAddress());
              m_udpSocket.setPort(m_localPort);     
    I implemented a state-machine for TCP and for UDP(UDP only send and receive).
    Since I want to simulate a lot of hosts on one machine, I created more than
    one Socket.
    My problem is:
    Every time, when I create a new Socket, it overwrites the previous one.
    ( things like m_udpSocket, where I want to store all the data necessary for
    the connection).
    That is, the DatagramSocketImpl provides only the methods, but there can't
    be created different instances to store data. Seems the data has to be stored
    in class Socket or DatagramSocket...
    When I create a socket, the methods, create() and bind() are called automatically
    by the class Socket or DatagramSocket. So they store the local InetAddress and
    the local port, I suppose. But when I try to read them with e.g. getLocalPort(), the
    portnumber will not be returned (I haven't overwritten the method) -> I can't get
    the information from the socket.
    How can I create more than one really independend sockets?
    I hope someone of you understood my problem and can help me.
    Thanks
    Alexandra

    Hi,
    I implemented DatagramSocketImpl and SocketImpl. PlainSocketImpl I could not find at all. I use java 1.4. Maybe PlainSocketImpl is in a later version.
    The thing is, I can store things like ip-addresses and ports only for ONE instance. DatagramSocketImpl is like a singleton. When I create a new socket for the next Host, it overwrites the infos from the first one.
    I need a way to store the data for the specific socket in the socket-object without modifiing the code of the application which creates the socket with
    Socket sock = new Socket(ipAddr, portNo);.
    I also thought about SocketFactory , but this is only for RMI as far as I see and I can't use it. Because I would have to modify the application, which creates the socket, like:
    SocketFactory sf = new mySocketFactory();
    Socket sock = sf.create(ipAddr, portNo)Do you understand my problem, now?
    CU Alexandra

  • Implement my own password field

    I have implemented my own "password" field.
    I catch the before_action of the et_KEY_DOWN event, check for the delete and backspace, displays an '*' or clears the field and bubbleevent is false.
    my code is below.
    If pVal.CharPressed = 8 Or pVal.CharPressed = 46 Then
       pincode = ""
       oApp.Forms.Item(FormUID).Items.Item "pincode").Specific.string = ""
    Else
        oApp.Forms.Item(FormUID).Items.Item"pincode").Specific.string += "*"
        pincode += Chr(pVal.CharPressed)
    End If
    BubbleEvents = False
    My problem is that the cursor stays at the beginning of my field.
    How can I move it to the end of this field.

    anyway, how do you handle such features, as a:
    input of character in the middle of password ???
    for example:
    I want to type in my password "asdf" and I've made a typo and I'm sure, that I've forgot to type the "s", so in the password field, I have the "***"-"adf" thus, I move right after the first char and press the "s" (or copy/paste the string containing the "s" or whatever) ... what happends ? you add the "s" at the end of your pincode ... and ups, you have the "adfs" instead of "asdf" ...
    and more problems appear ... when:
    user marks (using mouse, or shift+movement_arrows) more chars, and inputs the desired char/string ...
    This was the reason ... why I'm using a linkedbutton, which opens new form, with empty editbox, to type in the password ... fully visible, ofcourse ...

  • Can you save your own theme and button set up so I can use the same format

    Can you save your own theme and button set up, so I can use this same format for similar content. I want to keep the button content and the theme the same without having to create it everytime? I am trying to streamline the process for multiple dvd's with the same menu and buttons but different content. Does that make sense?

    I am only new to this caper too, but I am pretty sure you can save a theme as a favourite by pressing the "save theme as favourite" button under file. If you have edited an existing theme but don't want to lose it, make sure you untick the replace existing button.

  • When i open an mp3 file from a source other than apple, does itunes create it's own file and can I then delete the original mp3?

    when I open a music file from a source other than apple, does itunes create it's own file and can I then delete the original mp3?

    If you use iTunes' default settings then when you add a file to iTunes it places a copy of the file in the iTunes media folder and it leaves the original in place.  The exception is when you drag it to the Automatically Add To iTunes folder.
    It does not convert the file.  You can delete the original if you wish.

  • New to FiOS, can I use my own modem and router

    I saw several questions similar to mine, but none that I saw answered my question for my scenario. I am sorry if this is a duplicate. I am new to FiOS. I have no other services from Verizon and do not plan to get any. No phone, no television, nothing. Just Internet. God willing, the installation will take place in two days. My house already has coaxial cabling. I have my own cable modem, a SURFboard SB6121, which goes to my router, a TP Link TL-WR941ND. None of my equipment advertises that it is FiOS compatible. I've seen other people asking about using their own modem and router, but in those cases the scenario involved other bundled services, and I understand a FiOS router is necessary to forward ports to television, phone, and computers. However, in my very simple scenario, can the Verizon optical network terminal simply feed its output to my coax, from there to my modem, then router, then comptuers? Is there any reason that wouldn't work? Verizon technical support just gave me a machine that wanted to help me troubleshoot my Internet connection, and I couldn't get from there to a human. Thanks in advance for the help!

    Banish the word and the device called "modem" from your home when using FiOS.  FiOS does not use modems.  Your cable modem is useless with FiOS.  Do not plug it in. FiOS uses routers.  The router connects to the ONT's WAN port using MoCA (coax) or Ethernet.  The installer will enable one of the ONT's WAN ports.  If you order 150Mbps or higher speeds, they will have to use Ethernet.  For slower speeds, coax is the default.  Many installers will use Ethernet if you ask nicely, but usually only if it isn't too much work.  Make sure it's easy to connect a router to the ONT using Ethernet, and you should be okay.  If Ethernet needs to be run through the walls, your best choice is get it done ahead of time.  You can always call later and get the ONT's WAN port switched. The only routers available with a MoCA WAN port are the Verizon models.  The Verizon routers are good devices for most users.  People who like to tweak their networking gear don't like them as many advanced features are limited or locked down.  You can't run any other router firmware on them.  WiFi range is decent, but not great.  I'm quite happy with my Quantum router.  YMMV. If you get Ethernet WAN enabled, you can use any router you want.  However, know that Verizon provides zero support for any other router.  They won't even mention it as an option.  That doesn't mean you can't use one, simply that you must do so without Verizon's help. There are reports that they won't even complete an install without one of their routers to verify service.  If you don't use one of their routers, consider renting one for a month to complete the install or even buying a used one.  If you own a Verizon router, you can install it if you ever suspect Verizon networking issues.  This will allow you to call their support. This FAQ is very helpful:http://www.dslreports.com/faq/16077 Good Luck. 

Maybe you are looking for

  • Acrobat 8.1.2 crashes when checking/unchecking spot colour channels

    Hi there, just wondering if this situation is a bug with Acrobat or an issue with my machine/OSX? I have created PDFs by distilling and exporting. If I open the resulting PDFs in Acrobat 8.1.2 and open the colour seps panel and turn off colours - par

  • Reply to vj (qery on the inner joins v/s performane test)

    this is ravi shiva's friend. hi vj,          u r working for intelli group....and i had met u twice. by the way give u r contact number i want to speak to u personally.           here is the code...  REPORT  rv_sid_purchase_order_status NO STANDARD P

  • How can i copy a movie to a sd chip?

    I received a movie on a thumb drive from relatives Down Under.  The movie hasn't been released in the USA.  How can I copy it to a SD chip so I can watch it on my TV?

  • Replacing a JPanel

    Hi In one of the dialogs of my application, I have a JPanel that describes some properties of one of my objects. The object's properties described by my JPanel can be "empty' (when I have no properties to describe, I put in the JPanel a JLabel saying

  • T530 Lenovo Integrated Camera not working, Lenovo Camera Settings does not Display

    Hello, I have a new T530 with Windows 8 OS. I am having trouble using the integrated camera. It functions neither in the Windows camera app nor in Skype. In both cases I get a picture with a gray background and a camera with a line through it. In Dev