UnicentaOpos Modification Note

  1. Change the header contents at applications table in the database. Otherwise it won’t change the title of Unicenta oPos name at all.
  2.  disable posApps screen after cash out




Window rootWindow ;

Window[] allWindows = Window.getWindows();

for (int i=0 ; i < allWindows.length; i++){
    if (allWindows[i].getName().equals("frame0")){
                 rootWindow = (Window)allWindows[i];

PosApps posApps = new PosApps();


Save and done


4. configuring the payment tab ;

Administration->Maintenance -> Roles


and get the right role and control it …..

<class name=”payment.cash”/>
<class name=”payment.cheque”/>
<class name=”payment.voucher”/>
<class name=”payment.magcard”/>
<class name=”payment.slip”/>
<class name=”payment.free”/>
<class name=”payment.debt”/>


comment and uncomment…..







# To change this license header, choose License Headers in Project Properties.
# To change this template file, choose Tools | Templates
# and open the template in the editor.
# Properties file which configures the operation of the JDK
# logging facility.

# The system will look for this config file, first using
# a System property specified at startup:
# >java -Djava.util.logging.config.file=myLoggingConfigFilePath
# If this property is not specified, then the config file is
# retrieved from its default location at:
# JDK_HOME/jre/lib/logging.properties

# Global logging properties.
# ——————————————
# The set of handlers to be loaded upon startup.
# Comma-separated list of class names.
# (? LogManager docs say no comma here, but JDK example has comma.)
handlers=java.util.logging.FileHandler, java.util.logging.ConsoleHandler

# Default global logging level.
# Loggers and Handlers may override this level

# Loggers
# ——————————————
# Loggers are usually attached to packages.
# Here, the level for each package is specified.
# The global level is used by default, so levels
# specified here simply act as an override.

# Handlers
# —————————————–

# — ConsoleHandler —
# Override of global logging level

# — FileHandler —
# Override of global logging level

# Naming style for the output file:
# (The output file is placed in the directory
# defined by the “user.home” System property.)

# Limiting size of output file in bytes:

# Number of output files to cycle through, by appending an
# integer to the base file name:

# Style of output (Simple or XML):




customer display setting


  • configuration for enabling  : go to the configuration => Peripherals => select the customer Display to Window
  •   Modify the Printer.Start to have customized welcom screen for the customer display


      <text align="center" length="42">

===>GUI layout change:: Basically it has two main layout components which are JPanelTicket and JCatalog modules.
Mainly you can expand height of JPanelTicket in design mode.
Then, modify the JPanelTicketSales.java file reduce the height of JCatalog component as below;

 m_cat.getComponent().setSize(600, 120);
 // m_cat.getComponent().setPreferredSize(new Dimension(
 // 0,
 // Integer.parseInt(m_jbtnconfig.getProperty("cat-height", "245"))));

Then the screen layout looks like as below;

error: Content is protected !!